F
ferrari312
Guest
Hi,
sorry for longish post.
Currently running latest 3.0 build (562) on vusolo2 and trying to get OpenVPN configured but having some problems. From the menu Network/OpenVPN i can see the service is Enabled but stopped, when i tried to start it nothing happens, it remains in stopped state and if i look at log form the menu blue button its empty.
So I decided to uninstall and re-install, same result. I then uninstalled from GUI again and decided to connect to the console.
so at command line i executed
ipkg install openvpn - no errors returned.
I copied the following files to /etc/openvpn ( this directory was empty )
ca.crt
user.crt
user.key
and a number of .ovpn config files with connection to a specific VPN server/port/TCP or UDP.
I ran openvpn from console and this was output
"
root@vusolo2:/etc/openvpn# openvpn ./tcp.ovpn
Tue Jan 15 08:25:49 2013 OpenVPN 2.1.3 mipsel-oe-linux [SSL] [LZO2] [EPOLL] built on Dec 19 2012
..
..
Tue Jan 15 08:25:49 2013 Attempting to establish TCP connection with 46.19.137.114:443 [nonblock]
Tue Jan 15 08:25:50 2013 TCP connection established with 46.19.137.114:443
..
Tue Jan 15 08:25:50 2013 TLS: Initial packet from 46.19.137.114:443, sid=6fadab31 74afc371
Tue Jan 15 08:25:51 2013 VERIFY OK: depth=1, /C=IT/ST=IT/L=Perugia/O=airvpn.org/CN=airvpn.org_CA/[email protected]
Tue Jan 15 08:25:51 2013 VERIFY OK: nsCertType=SERVER
Tue Jan 15 08:25:51 2013 VERIFY OK: depth=0, /C=IT/ST=IT/L=Perugia/O=airvpn.org/CN=server/[email protected]
..
..
Tue Jan 15 08:25:55 2013 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Tue Jan 15 08:25:55 2013 [server] Peer Connection Initiated with 46.19.137.114:443
Tue Jan 15 08:25:57 2013 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Tue Jan 15 08:25:57 2013 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 10.5.0.1,comp-lzo no,route 10.5.0.1,topology net30,ping 10,ping-restart 60,ifconfig 10.5.1.174 10.5.1.173'
Tue Jan 15 08:25:57 2013 OPTIONS IMPORT: timers and/or timeouts modified
Tue Jan 15 08:25:57 2013 OPTIONS IMPORT: LZO parms modified
..
..
Tue Jan 15 08:25:57 2013 ROUTE default_gateway=192.168.1.1
Tue Jan 15 08:25:57 2013 Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Tue Jan 15 08:25:57 2013 Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Tue Jan 15 08:25:57 2013 Cannot allocate TUN/TAP dev dynamically
Tue Jan 15 08:25:57 2013 Exiting
"
Doing some googling it appears i dont have a TUN/TAP adapter setup.
Should i expect this adapter to be created by the install of OpenVPN , or is there some other manual steps required to get this adapter up and running , or maybe i am way of the mark.
sorry for longish post.
Currently running latest 3.0 build (562) on vusolo2 and trying to get OpenVPN configured but having some problems. From the menu Network/OpenVPN i can see the service is Enabled but stopped, when i tried to start it nothing happens, it remains in stopped state and if i look at log form the menu blue button its empty.
So I decided to uninstall and re-install, same result. I then uninstalled from GUI again and decided to connect to the console.
so at command line i executed
ipkg install openvpn - no errors returned.
I copied the following files to /etc/openvpn ( this directory was empty )
ca.crt
user.crt
user.key
and a number of .ovpn config files with connection to a specific VPN server/port/TCP or UDP.
I ran openvpn from console and this was output
"
root@vusolo2:/etc/openvpn# openvpn ./tcp.ovpn
Tue Jan 15 08:25:49 2013 OpenVPN 2.1.3 mipsel-oe-linux [SSL] [LZO2] [EPOLL] built on Dec 19 2012
..
..
Tue Jan 15 08:25:49 2013 Attempting to establish TCP connection with 46.19.137.114:443 [nonblock]
Tue Jan 15 08:25:50 2013 TCP connection established with 46.19.137.114:443
..
Tue Jan 15 08:25:50 2013 TLS: Initial packet from 46.19.137.114:443, sid=6fadab31 74afc371
Tue Jan 15 08:25:51 2013 VERIFY OK: depth=1, /C=IT/ST=IT/L=Perugia/O=airvpn.org/CN=airvpn.org_CA/[email protected]
Tue Jan 15 08:25:51 2013 VERIFY OK: nsCertType=SERVER
Tue Jan 15 08:25:51 2013 VERIFY OK: depth=0, /C=IT/ST=IT/L=Perugia/O=airvpn.org/CN=server/[email protected]
..
..
Tue Jan 15 08:25:55 2013 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Tue Jan 15 08:25:55 2013 [server] Peer Connection Initiated with 46.19.137.114:443
Tue Jan 15 08:25:57 2013 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Tue Jan 15 08:25:57 2013 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 10.5.0.1,comp-lzo no,route 10.5.0.1,topology net30,ping 10,ping-restart 60,ifconfig 10.5.1.174 10.5.1.173'
Tue Jan 15 08:25:57 2013 OPTIONS IMPORT: timers and/or timeouts modified
Tue Jan 15 08:25:57 2013 OPTIONS IMPORT: LZO parms modified
..
..
Tue Jan 15 08:25:57 2013 ROUTE default_gateway=192.168.1.1
Tue Jan 15 08:25:57 2013 Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Tue Jan 15 08:25:57 2013 Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Tue Jan 15 08:25:57 2013 Cannot allocate TUN/TAP dev dynamically
Tue Jan 15 08:25:57 2013 Exiting
"
Doing some googling it appears i dont have a TUN/TAP adapter setup.
Should i expect this adapter to be created by the install of OpenVPN , or is there some other manual steps required to get this adapter up and running , or maybe i am way of the mark.