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
|