I wanted to connect to the university VPN using the command suggested "openvpn --config univpn.conf". The univpn.conf file is provided by the
University. After entering my user name and pass it seems connecting
and on the final steps it fails and when I check I am still not connected to the vpn. The partial output where the rors happened of the command is:
- Code: Select all
.
.
.
Tue Apr 4 17:39:42 2017 TUN/TAP device tun0 opened
Tue Apr 4 17:39:42 2017 TUN/TAP TX queue length set to 100
Tue Apr 4 17:39:42 2017 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Tue Apr 4 17:39:42 2017 /usr/sbin/ifconfig tun0 172.18.2.45 netmask 255.255.255.224 mtu 1500 broadcast 172.18.2.63
Tue Apr 4 17:39:47 2017 ROUTE remote_host is NOT LOCAL
Tue Apr 4 17:39:47 2017 /usr/sbin/route add -net 193.40.12.54 netmask 255.255.255.255 gw 192.168.0.1
Tue Apr 4 17:39:47 2017 /usr/sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 172.18.2.33
SIOCADDRT: Network is unreachable
Tue Apr 4 17:39:47 2017 ERROR: Linux route add command failed: external program exited with error status: 7
Tue Apr 4 17:39:47 2017 /usr/sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 172.18.2.33
SIOCADDRT: Network is unreachable
Tue Apr 4 17:39:47 2017 ERROR: Linux route add command failed: external program exited with error status: 7
Tue Apr 4 17:39:47 2017 Initialization Sequence Completed
Then I Ctrl+C to stop it and it spits out:
- Code: Select all
^CTue Apr 4 17:39:58 2017 event_wait : Interrupted system call (code=4)
Tue Apr 4 17:39:58 2017 SIGTERM received, sending exit notification to peer
Tue Apr 4 17:39:59 2017 /usr/sbin/route del -net 193.40.12.54 netmask 255.255.255.255
Tue Apr 4 17:39:59 2017 /usr/sbin/route del -net 0.0.0.0 netmask 128.0.0.0
SIOCDELRT: No such process
Tue Apr 4 17:39:59 2017 ERROR: Linux route delete command failed: external program exited with error status: 7
Tue Apr 4 17:39:59 2017 /usr/sbin/route del -net 128.0.0.0 netmask 128.0.0.0
SIOCDELRT: No such process
Tue Apr 4 17:39:59 2017 ERROR: Linux route delete command failed: external program exited with error status: 7
Tue Apr 4 17:39:59 2017 Closing TUN/TAP interface
Tue Apr 4 17:39:59 2017 /usr/sbin/ifconfig tun0 0.0.0.0
Tue Apr 4 17:39:59 2017 SIGTERM[soft,exit-with-notification] received, process exiting
I tried then Kubuntu 16.04 in VirtualBox with (bridged network adapter opion in the VBox) and it connected fine without errors and I was able to connect to the uni VPN. The Kubuntu command output which is different than my M5 KDE is:
- Code: Select all
.
.
.
Tue Apr 4 17:36:33 2017 TUN/TAP device tun0 opened
Tue Apr 4 17:36:33 2017 TUN/TAP TX queue length set to 100
Tue Apr 4 17:36:33 2017 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Tue Apr 4 17:36:33 2017 /sbin/ip link set dev tun0 up mtu 1500
Tue Apr 4 17:36:33 2017 /sbin/ip addr add dev tun0 172.18.2.45/27 broadcast 172.18.2.63
Tue Apr 4 17:36:39 2017 ROUTE remote_host is NOT LOCAL
Tue Apr 4 17:36:39 2017 /sbin/ip route add 193.40.12.54/32 via 192.168.0.1
Tue Apr 4 17:36:39 2017 /sbin/ip route add 0.0.0.0/1 via 172.18.2.33
Tue Apr 4 17:36:39 2017 /sbin/ip route add 128.0.0.0/1 via 172.18.2.33
Tue Apr 4 17:36:39 2017 Initialization Sequence Completed
After Ctrl+C
- Code: Select all
^CTue Apr 4 17:37:52 2017 event_wait : Interrupted system call (code=4)
Tue Apr 4 17:37:52 2017 SIGTERM received, sending exit notification to peer
Tue Apr 4 17:37:53 2017 /sbin/ip route del 193.40.12.54/32
Tue Apr 4 17:37:53 2017 /sbin/ip route del 0.0.0.0/1
Tue Apr 4 17:37:53 2017 /sbin/ip route del 128.0.0.0/1
Tue Apr 4 17:37:53 2017 Closing TUN/TAP interface
Tue Apr 4 17:37:53 2017 /sbin/ip addr del dev tun0 172.18.2.45/27
Tue Apr 4 17:37:53 2017 SIGTERM[soft,exit-with-notification] received, process exiting
I also opened the ports 1194 in both my firewall and router for the tests
as well as switching off the msec.
Can someone point me toward the right direction to tackle this problem?
Thx in advance!