Hi,
I have to configure OpenVPN connection to access to the client services.
I've got some configuration files:
cacert.pem, cert.pem, client.ovpn, ckey.pem
I was able to connect in Windows but not in Ubuntu.
Since NetwotkManager have a but that makes impossible to import a saved configuration, I am connecting with command from terminal:
kozlone@akpc:~/ovpn$ sudo openvpn --config client.ovpn
[sudo] password for kozlone:
Wed Oct 5 11:43:24 2016 OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Feb 2 2016
Wed Oct 5 11:43:24 2016 library versions: OpenSSL 1.0.2g 1 Mar 2016, LZO 2.08
Wed Oct 5 11:43:24 2016 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Wed Oct 5 11:43:24 2016 WARNING: file '<filename>.pem' is group or others accessible
Wed Oct 5 11:43:24 2016 Socket Buffers: R=[212992->212992] S=[212992->212992]
Wed Oct 5 11:43:24 2016 UDPv4 link local: [undef]
Wed Oct 5 11:43:24 2016 UDPv4 link remote: [AF_INET]<ip_adress>:1195
Wed Oct 5 11:43:24 2016 TLS: Initial packet from [AF_INET]<ip_adress>:1195, sid=1fcad08d bce8eda3
Wed Oct 5 11:43:24 2016 VERIFY OK: depth=1, C=RU, L=Saint-Petersburg, O=Sigma Ltd, CN=Sigma Ltd VPN
Wed Oct 5 11:43:24 2016 VERIFY OK: depth=0, C=RU, L=Saint-Petersburg, O=Sigma Ltd, CN=sr7
Wed Oct 5 11:43:24 2016 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Wed Oct 5 11:43:24 2016 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Oct 5 11:43:24 2016 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Wed Oct 5 11:43:24 2016 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Oct 5 11:43:24 2016 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
Wed Oct 5 11:43:24 2016 [sr7] Peer Connection Initiated with [AF_INET]<ip_address>:1195
Wed Oct 5 11:43:26 2016 SENT CONTROL [sr7]: 'PUSH_REQUEST' (status=1)
Wed Oct 5 11:43:27 2016 PUSH: Received control message: 'PUSH_REPLY,route 10.196.0.0 255.255.224.0,route 10.195.192.0 255.255.192.0,dhcp-option DNS 10.196.16.18,dhcp-option DNS 10.196.4.1,dhcp-option WINS 10.196.16.18,dhcp-option DOMAIN <domain_name>,dhcp-option DOMAIN <domain_name>.local,route-gateway 10.196.21.225,topology subnet,ping 10,ping-restart 240,ifconfig <route> 255.255.255.224'
Wed Oct 5 11:43:27 2016 OPTIONS IMPORT: timers and/or timeouts modified
Wed Oct 5 11:43:27 2016 OPTIONS IMPORT: --ifconfig/up options modified
Wed Oct 5 11:43:27 2016 OPTIONS IMPORT: route options modified
Wed Oct 5 11:43:27 2016 OPTIONS IMPORT: route-related options modified
Wed Oct 5 11:43:27 2016 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Wed Oct 5 11:43:27 2016 ROUTE_GATEWAY 192.168.88.1/255.255.255.0 IFACE=wlp9s0 HWADDR=00:c2:c6:75:d9:4c
Wed Oct 5 11:43:27 2016 TUN/TAP device tun0 opened
Wed Oct 5 11:43:27 2016 TUN/TAP TX queue length set to 100
Wed Oct 5 11:43:27 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Wed Oct 5 11:43:27 2016 /sbin/ip link set dev tun0 up mtu 1500
Wed Oct 5 11:43:27 2016 /sbin/ip addr add dev tun0 <route>/27 broadcast 10.196.21.255
Wed Oct 5 11:43:27 2016 /sbin/ip route add 10.196.0.0/19 via 10.196.21.225
Wed Oct 5 11:43:27 2016 /sbin/ip route add 10.195.192.0/18 via 10.196.21.225
Wed Oct 5 11:43:27 2016 Initialization Sequence Completed
Some entries have been modified by me, so don't be confused with this.
Looks like the connection is established but still I can't load the webpage that perfectly loads in Windows. I am using Ubuntu 16.04 x64.
Any suggestions?