[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] openvpn udp gives error1


  • Subject: Re: [Openvpn-users] openvpn udp gives error1
  • From: Jon Bendtsen <jon.bendtsen@xxxxxxxxxx>
  • Date: Tue, 2 May 2006 17:41:15 +0200

Den tirsdag 2.maj kl. 2:53 skrev Dave:

Hello,
I've got two freebsd 6.0 boxes on different networks and i'm trying to bring them together using openvpn. If i use proto tcp everything works fine, use udp and i get an error code 1. The openvpn server is a natted box if that makes any difference. I'm using the static-key minihowto for testing and simplicity, i'll worry about ssl when i have basic functionality going. The specific msgs are below:


openvpn --config openvpn.conf
Mon May 1 20:57:04 2006 OpenVPN 2.0.6 i386-portbld-freebsd6.0 [SSL] [LZO] built on Apr 9 2006
Mon May 1 20:57:04 2006 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Mon May 1 20:57:04 2006 LZO compression initialized
Mon May 1 20:57:06 2006 gw xx.xxx.xxx.x
Mon May 1 20:57:06 2006 TUN/TAP device /dev/tun0 opened
Mon May 1 20:57:06 2006 /sbin/ifconfig tun0 10.8.0.2 10.8.0.1 mtu 1500 netmask 255.255.255.255 up
add net 192.168.0.0: gateway 10.8.0.1
Mon May 1 20:57:06 2006 UDPv4 link local (bound): [undef]:1194
Mon May 1 20:57:06 2006 UDPv4 link remote: xx.xx.xx.xxx:1194
Mon May 1 20:57:06 2006 write UDPv4: Operation not permitted (code=1)

You are not allowed to send packets, check your firewall, because you are bound locally to port 1194. And you try to access the remote server, so, check your firewall.


JonB

______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-05/msg00016.html on line 200

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-05/msg00016.html on line 200