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

[Openvpn-users] Problems starting OpenVPN - How do I create Tunnel interface in OpenBSD?


  • Subject: [Openvpn-users] Problems starting OpenVPN - How do I create Tunnel interface in OpenBSD?
  • From: "Nigel Clarke " <clarke@xxxxxxxxxxxxxxxxxx>
  • Date: Fri, 05 Aug 2005 13:53:54 +0000
  • Importance: Normal
  • Sensitivity: Normal


I'm having some problems starting OpenVPN. Based on what I could find, I have to specify the Tun #. In /dev tunnels 0 - 3 are defined.
How do I specify the interface during OPENVPN startup?

# ./openvpn --config /openvpn-2.0/sample-config-files/server.conf
Fri Aug  5 04:43:25 2005 OpenVPN 2.0 i386-unknown-openbsd3.7 [SSL] built on Aug  4 2005
Fri Aug  5 04:43:25 2005 Diffie-Hellman initialized with 2048 bit key
Fri Aug  5 04:43:25 2005 TLS-Auth MTU parms [ L:1541 D:138 EF:38 EB:0 ET:0 EL:0 ]
Fri Aug  5 04:43:25 2005 gw 192.168.20.1
Fri Aug  5 04:43:25 2005 /sbin/ifconfig tun destroy
ifconfig: SIOCGIFFLAGS: Device not configured
Fri Aug  5 04:43:25 2005 /sbin/ifconfig tun create
ifconfig: SIOCIFCREATE: Invalid argument
Fri Aug  5 04:43:25 2005 NOTE: Tried to delete pre-existing tun/tap instance -- No Problem if failure
Fri Aug  5 04:43:25 2005 /sbin/ifconfig tun 192.168.254.1 192.168.254.2 mtu 1500 netmask 255.255.255.255 up
ifconfig: SIOCGIFFLAGS: Device not configured
Fri Aug  5 04:43:25 2005 OpenBSD ifconfig failed: shell command exited with error status: 1
Fri Aug  5 04:43:25 2005 Exiting


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/2005-08/msg00066.html on line 191

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/2005-08/msg00066.html on line 191