OpenVPN needs to run as root.  There is a thread about this on the forum.

On 6/9/06, Henk van Kester <[EMAIL PROTECTED]> wrote:


hello,

We upgraded our PFsense Machine from Beta 4 (built on Mon May 8 22:37:25 UTC
2006)
to 1.0-RC1 (built on Mon May 8 22:37:25 UTC 2006 ) (cvs update) In Beta 4
our OPENVPN was working perfectly, but in 1.0RC1 we are getting some strange
errors with the OPENVPN routing command (see below)?

/var/etc/openvpn_server0.conf (this rules worked perfect in Beta 4)
push "route 192.168.0.0 255.255.255.0"
push "route 10.8.0.0 255.255.255.0"
route 192.168.0.0 255.255.255.0
route 10.8.0.0 255.255.255.0


system log (why not in openvpn-log?)
Jun 9 07:08:25 openvpn[1986]: Initialization Sequence Completed
Jun 9 07:08:25 openvpn[1986]: Initialization Sequence Completed
Jun 9 07:08:25 openvpn[1986]: TCPv4_SERVER link remote: [undef]
Jun 9 07:08:25 openvpn[1986]: TCPv4_SERVER link remote: [undef]
Jun 9 07:08:25 openvpn[1986]: TCPv4_SERVER link local (bound): [undef]:1194
Jun 9 07:08:25 openvpn[1986]: TCPv4_SERVER link local (bound): [undef]:1194
Jun 9 07:08:25 openvpn[1986]: Listening for incoming TCP connection on
[undef]:1194
Jun 9 07:08:25 openvpn[1986]: Listening for incoming TCP connection on
[undef]:1194
Jun 9 07:08:25 openvpn[1986]: UID set to nobody
Jun 9 07:08:25 openvpn[1986]: UID set to nobody
Jun 9 07:08:25 openvpn[1986]: GID set to nobody
Jun 9 07:08:25 openvpn[1977]: ERROR: FreeBSD route add command failed: shell
command exited with error status: 1
Jun 9 07:08:25 openvpn[1986]: GID set to nobody
Jun 9 07:08:25 openvpn[1977]: ERROR: FreeBSD route add command failed: shell
command exited with error status: 1
Jun 9 07:08:25 openvpn[1977]: ERROR: FreeBSD route add command failed: shell
command exited with error status: 1
Jun 9 07:08:25 openvpn[1977]: ERROR: FreeBSD route add command failed: shell
command exited with error status: 1
Jun 9 07:08:25 openvpn[1977]: /sbin/ifconfig tun0 10.8.0.1 10.8.0.2 mtu 1500
netmask 255.255.255.255 up
Jun 9 07:08:25 openvpn[1977]: /sbin/ifconfig tun0 10.8.0.1 10.8.0.2 mtu 1500
netmask 255.255.255.255 up
Jun 9 07:08:25 openvpn[1977]: TUN/TAP device /dev/tun0 opened
Jun 9 07:08:25 openvpn[1977]: TUN/TAP device /dev/tun0 opened



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to