On 08/01/10 16:21, Tim Nelson wrote:
> ----- "Paul Mansfield" <[email protected]> wrote:
>> if you put multiple lines of configuration in an openvpn server
>> config,
>> all the end of lines are lost and the whole lot is run together on
>> one
>> line when you look at the generated /var/run/openvpn_serverXX.conf
>> file
>>
>> am running the full pfsense1.2.3-release, upgraded from previous
>> versions
>>
>> is this is a bug or feature, and is there a work-round for it please?
>>
> 
> Your configuration options need to be semicolon delimited, not CRLF. Here is 
> an example I just pulled live from one of my systems:
> 
> push "route 192.168.2.0 255.255.255.0"; push "route 172.24.66.0 
> 255.255.255.0"; push "route 172.16.66.0 255.255.255.0"; push "route 
> 192.168.24.0 255.255.255.0";

ah, thanks for that. it's still a bit quirky as it doesn't understand
comments... if I put the following in the box:

# DevelopersVPN;# pick up per-client options;client-config-dir
/var/etc/ccd;# keep detailed log and status;status
/var/log/full/openvpn_server43.status;log /var/log/full/openvpn_server43.log

then I see the following in the config file:
# DevelopersVPN
# pick up per-client options
client-config-dir /var/etc/ccd
# keep detailed log and status
status /var/log/full/openvpn_server43.status
log /var/log/full/openvpn_server43.log

which is what I want, but it's fugly!

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Commercial support available - https://portal.pfsense.org

Reply via email to