We already had OPENVPN running as root? does anyone know what iám doing wrong?

Jun 12 08:05:30 pfSense openvpn[3233]: TUN/TAP device /dev/tun0 opened
Jun 12 08:05:30 pfSense openvpn[3233]: TUN/TAP device /dev/tun0 opened
Jun 12 08:05:30 pfSense openvpn[3233]: /sbin/ifconfig tun0 10.8.0.1
10.8.0.2mtu 1500 netmask
255.255.255.255 up
Jun 12 08:05:30 pfSense openvpn[3233]: /sbin/ifconfig tun0 10.8.0.1
10.8.0.2mtu 1500 netmask
255.255.255.255 up
Jun 12 08:05:30 pfSense openvpn[3233]: ERROR: FreeBSD route add command
failed: shell command exited with error status: 1
Jun 12 08:05:30 pfSense openvpn[3233]: ERROR: FreeBSD route add command
failed: shell command exited with error status: 1
Jun 12 08:05:30 pfSense openvpn[3233]: ERROR: FreeBSD route add command
failed: shell command exited with error status: 1
Jun 12 08:05:30 pfSense openvpn[3242]: GID set to wheel
Jun 12 08:05:30 pfSense openvpn[3233]: ERROR: FreeBSD route add command
failed: shell command exited with error status: 1
Jun 12 08:05:30 pfSense openvpn[3242]: GID set to wheel
Jun 12 08:05:30 pfSense openvpn[3242]: UID set to root
Jun 12 08:05:30 pfSense openvpn[3242]: UID set to root
Jun 12 08:05:30 pfSense openvpn[3242]: Listening for incoming TCP connection
on [undef]:1194
Jun 12 08:05:30 pfSense openvpn[3242]: Listening for incoming TCP connection
on [undef]:1194
Jun 12 08:05:30 pfSense openvpn[3242]: TCPv4_SERVER link local (bound):
[undef]:1194
Jun 12 08:05:30 pfSense openvpn[3242]: TCPv4_SERVER link local (bound):
[undef]:1194
Jun 12 08:05:30 pfSense openvpn[3242]: TCPv4_SERVER link remote: [undef]
Jun 12 08:05:30 pfSense openvpn[3242]: TCPv4_SERVER link remote: [undef]
Jun 12 08:05:30 pfSense openvpn[3242]: Initialization Sequence Completed
Jun 12 08:05:30 pfSense openvpn[3242]: Initialization Sequence Completed

ps; we have a new emailadres....


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]

------=_Part_54645_31182751.1150105774653
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<font size="2">
<div>We&nbsp;already had&nbsp;OPENVPN running as root? </div>
<div>&nbsp;</div>
<div>Jun 12 08:05:30 pfSense openvpn[3233]: TUN/TAP device /dev/tun0 opened<br>Jun 12 08:05:30 pfSense openvpn[3233]: TUN/TAP device /dev/tun0 opened<br>Jun 12 08:05:30 pfSense openvpn[3233]: /sbin/ifconfig tun0 <a href="" http://10.8.0.1">
10.8.0.1</a> <a href="" href="http://10.8.0.2">http://10.8.0.2">10.8.0.2</a> mtu 1500 netmask <a href="" http://255.255.255.255">255.255.255.255</a> up<br>Jun 12 08:05:30 pfSense openvpn[3233]: /sbin/ifconfig tun0 <a href="" href="http://10.8.0.1"> http://10.8.0.1">10.8.0.1
</a> <a href="" href="http://10.8.0.2">http://10.8.0.2">10.8.0.2</a> mtu 1500 netmask <a href="" http://255.255.255.255">255.255.255.255</a> up<br>Jun 12 08:05:30 pfSense openvpn[3233]: ERROR: FreeBSD route add command failed: shell command exited with error status: 1
<br>Jun 12 08:05:30 pfSense openvpn[3233]: ERROR: FreeBSD route add command failed: shell command exited with error status: 1<br>Jun 12 08:05:30 pfSense openvpn[3233]: ERROR: FreeBSD route add command failed: shell command exited with error status: 1
<br>Jun 12 08:05:30 pfSense openvpn[3242]: GID set to wheel<br>Jun 12 08:05:30 pfSense openvpn[3233]: ERROR: FreeBSD route add command failed: shell command exited with error status: 1<br>Jun 12 08:05:30 pfSense openvpn[3242]: GID set to wheel
<br>Jun 12 08:05:30 pfSense openvpn[3242]: UID set to root<br>Jun 12 08:05:30 pfSense openvpn[3242]: UID set to root<br>Jun 12 08:05:30 pfSense openvpn[3242]: Listening for incoming TCP connection on [undef]:1194<br>Jun 12 08:05:30 pfSense openvpn[3242]: Listening for incoming TCP connection on [undef]:1194
<br>Jun 12 08:05:30 pfSense openvpn[3242]: TCPv4_SERVER link local (bound): [undef]:1194<br>Jun 12 08:05:30 pfSense openvpn[3242]: TCPv4_SERVER link local (bound): [undef]:1194<br>Jun 12 08:05:30 pfSense openvpn[3242]: TCPv4_SERVER link remote: [undef]
<br>Jun 12 08:05:30 pfSense openvpn[3242]: TCPv4_SERVER link remote: [undef]<br>Jun 12 08:05:30 pfSense openvpn[3242]: Initialization Sequence Completed<br>Jun 12 08:05:30 pfSense openvpn[3242]: Initialization Sequence Completed
<br>&nbsp;</div>
<div>ps; we have a new emailadres....</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>OpenVPN needs to run as root. There is a thread about this on the forum.</div>
<p>On 6/9/06, Henk van Kester &lt;<a href="" href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]">[EMAIL PROTECTED] </a>&gt; wrote:</p>
<p>&gt;</p>
<p>&gt;</p>
<p>&gt; hello,</p>
<p>&gt;</p>
<p>&gt; We upgraded our PFsense Machine from Beta 4 (built on Mon May 8 </p>
<p>&gt; 22:37:25 UTC</p>
<p>&gt; 2006)</p>
<p>&gt; to 1.0-RC1 (built on Mon May 8 22:37:25 UTC 2006 ) (cvs update) In </p>
<p>&gt; Beta 4 our OPENVPN was working perfectly, but in 1.0RC1 we are getting </p>
<p>&gt; some strange errors with the OPENVPN routing command (see below)?</p>
<p>&gt;</p>
<p>&gt; /var/etc/openvpn_server0.conf (this rules worked perfect in Beta 4) </p>
<p>&gt; push &quot;route <a href="" href="http://192.168.0.0">http://192.168.0.0">192.168.0.0</a> <a href="" href="http://255.255.255.0"> http://255.255.255.0">255.255.255.0</a>&quot;</p>
<p>&gt; push &quot;route <a href="" href="http://10.8.0.0">http://10.8.0.0"> 10.8.0.0</a> <a href="" href="http://255.255.255.0">http://255.255.255.0">255.255.255.0</a>&quot;</p>
<p>&gt; route <a href="" http://192.168.0.0">192.168.0.0</a> <a href="" href="http://255.255.255.0">http://255.255.255.0"> 255.255.255.0</a></p>
<p>&gt; route <a href="" href="http://10.8.0.0">http://10.8.0.0">10.8.0.0</a> <a href="" href="http://255.255.255.0"> http://255.255.255.0">255.255.255.0</a></p>
<p>&gt;</p>
<p>&gt;</p>
<p>&gt; system log (why not in openvpn-log?)</p>
<p>&gt; Jun 9 07:08:25 openvpn[1986]: Initialization Sequence Completed Jun 9 </p>
<p>&gt; 07:08:25 openvpn[1986]: Initialization Sequence Completed Jun 9 </p>
<p>&gt; 07:08:25 openvpn[1986]: TCPv4_SERVER link remote: [undef] Jun 9 </p>
<p>&gt; 07:08:25 openvpn[1986]: TCPv4_SERVER link remote: [undef] Jun 9 </p>
<p>&gt; 07:08:25 openvpn[1986]: TCPv4_SERVER link local (bound): [undef]:1194 </p>
<p>&gt; Jun 9 07:08:25 openvpn[1986]: TCPv4_SERVER link local (bound): </p>
<p>&gt; [undef]:1194 Jun 9 07:08:25 openvpn[1986]: Listening for incoming TCP </p>
<p>&gt; connection on</p>
<p>&gt; [undef]:1194</p>
<p>&gt; Jun 9 07:08:25 openvpn[1986]: Listening for incoming TCP connection on</p>
<p>&gt; [undef]:1194</p>
<p>&gt; Jun 9 07:08:25 openvpn[1986]: UID set to nobody Jun 9 07:08:25 </p>
<p>&gt; openvpn[1986]: UID set to nobody Jun 9 07:08:25 openvpn[1986]: GID set </p>
<p>&gt; to nobody Jun 9 07:08:25 openvpn[1977]: ERROR: FreeBSD route add </p>
<p>&gt; command failed: shell command exited with error status: 1 Jun 9 </p>
<p>&gt; 07:08:25 openvpn[1986]: GID set to nobody Jun 9 07:08:25 </p>
<p>&gt; openvpn[1977]: ERROR: FreeBSD route add command failed: shell command </p>
<p>&gt; exited with error status: 1 Jun 9 07:08:25 openvpn[1977]: ERROR: </p>
<p>&gt; FreeBSD route add command failed: shell command exited with error </p>
<p>&gt; status: 1 Jun 9 07:08:25 openvpn[1977]: ERROR: FreeBSD route add </p>
<p>&gt; command failed: shell command exited with error status: 1 Jun 9 </p>
<p>&gt; 07:08:25 openvpn[1977]: /sbin/ifconfig tun0 <a href="" http://10.8.0.1">10.8.0.1</a> <a href="" href="http://10.8.0.2">http://10.8.0.2">10.8.0.2</a> mtu 1500 </p>
<p>&gt; netmask <a href="" href="http://255.255.255.255">http://255.255.255.255">255.255.255.255</a> up Jun 9 07:08:25 openvpn[1977]: </p>
<p>&gt; /sbin/ifconfig tun0 <a href="" href="http://10.8.0.1">http://10.8.0.1">10.8.0.1</a> <a href="" href="http://10.8.0.2">http://10.8.0.2 ">10.8.0.2</a> mtu 1500 netmask <a href="" href="http://255.255.255.255">http://255.255.255.255">255.255.255.255</a> </p>
<p>&gt; up Jun 9 07:08:25 openvpn[1977]: TUN/TAP device /dev/tun0 opened Jun 9 </p>
<p>&gt; 07:08:25 openvpn[1977]: TUN/TAP device /dev/tun0 opened</p>
<p>&gt;</p>
<p>&gt;</p>
<p>---------------------------------------------------------------------</p>
<p>To unsubscribe, e-mail: <a href="" href="mailto:[EMAIL PROTECTED]"> [EMAIL PROTECTED]">[EMAIL PROTECTED]</a> For additional commands, e-mail: <a href="" href="mailto:[EMAIL PROTECTED]"> [EMAIL PROTECTED]">[EMAIL PROTECTED]</a></p>
<p>&nbsp;</p></font>

------=_Part_54645_31182751.1150105774653--

Reply via email to