pekka2
November 27th, 2018, 02:39 PM
Hi,
trying to connect to a VPN server (running on my home router). I can connect my iPhone to the VPN, so I know the server is working.
When i try to connect my Kubuntu 18.10 laptop to the server via the network manager gui (right-clicking the network icon in system tray), the connection looks to be working, but the network isn't working (can'r load webpages or ping google.com for example). i use the same .ovpn config file in iPhone and laptop.
When I try it via command line (sudo openvpn --config Documents/client.ovpn), the output looks like it's working, but my external ip is the same as without the vpn.
The output from terminal:
$ sudo openvpn --config Documents/client.ovpn
[sudo] password for pekka:
Tue Nov 27 15:32:12 2018 OpenVPN 2.4.6 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 3 2018
Tue Nov 27 15:32:12 2018 library versions: OpenSSL 1.1.1 11 Sep 2018, LZO 2.10
Enter Auth Username: **
Enter Auth Password: *******************
Tue Nov 27 15:32:22 2018 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.
Tue Nov 27 15:32:22 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]87.92.174.237:1194
Tue Nov 27 15:32:22 2018 UDP link local: (not bound)
Tue Nov 27 15:32:22 2018 UDP link remote: [AF_INET]87.92.174.237:1194
Tue Nov 27 15:32:22 2018 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Tue Nov 27 15:32:23 2018 [RT-N66U] Peer Connection Initiated with [AF_INET]87.92.174.237:1194
Tue Nov 27 15:32:24 2018 WARNING: INSECURE cipher with block size less than 128 bit (64 bit). This allows attacks like SWEET32. Mitigate by using a --cipher with a larger block size (e.g. AES-256-CBC).
Tue Nov 27 15:32:24 2018 WARNING: INSECURE cipher with block size less than 128 bit (64 bit). This allows attacks like SWEET32. Mitigate by using a --cipher with a larger block size (e.g. AES-256-CBC).
Tue Nov 27 15:32:25 2018 WARNING: cipher with small block size in use, reducing reneg-bytes to 64MB to mitigate SWEET32 attacks.
Tue Nov 27 15:32:25 2018 TUN/TAP device tun0 opened
Tue Nov 27 15:32:25 2018 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Tue Nov 27 15:32:25 2018 /sbin/ip link set dev tun0 up mtu 1500
Tue Nov 27 15:32:25 2018 /sbin/ip addr add dev tun0 local 10.8.0.6 peer 10.8.0.5
Tue Nov 27 15:32:25 2018 Initialization Sequence Completed
I can't find anything from syslog, and /var/log/openvpn is empty.
trying to connect to a VPN server (running on my home router). I can connect my iPhone to the VPN, so I know the server is working.
When i try to connect my Kubuntu 18.10 laptop to the server via the network manager gui (right-clicking the network icon in system tray), the connection looks to be working, but the network isn't working (can'r load webpages or ping google.com for example). i use the same .ovpn config file in iPhone and laptop.
When I try it via command line (sudo openvpn --config Documents/client.ovpn), the output looks like it's working, but my external ip is the same as without the vpn.
The output from terminal:
$ sudo openvpn --config Documents/client.ovpn
[sudo] password for pekka:
Tue Nov 27 15:32:12 2018 OpenVPN 2.4.6 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 3 2018
Tue Nov 27 15:32:12 2018 library versions: OpenSSL 1.1.1 11 Sep 2018, LZO 2.10
Enter Auth Username: **
Enter Auth Password: *******************
Tue Nov 27 15:32:22 2018 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.
Tue Nov 27 15:32:22 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]87.92.174.237:1194
Tue Nov 27 15:32:22 2018 UDP link local: (not bound)
Tue Nov 27 15:32:22 2018 UDP link remote: [AF_INET]87.92.174.237:1194
Tue Nov 27 15:32:22 2018 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Tue Nov 27 15:32:23 2018 [RT-N66U] Peer Connection Initiated with [AF_INET]87.92.174.237:1194
Tue Nov 27 15:32:24 2018 WARNING: INSECURE cipher with block size less than 128 bit (64 bit). This allows attacks like SWEET32. Mitigate by using a --cipher with a larger block size (e.g. AES-256-CBC).
Tue Nov 27 15:32:24 2018 WARNING: INSECURE cipher with block size less than 128 bit (64 bit). This allows attacks like SWEET32. Mitigate by using a --cipher with a larger block size (e.g. AES-256-CBC).
Tue Nov 27 15:32:25 2018 WARNING: cipher with small block size in use, reducing reneg-bytes to 64MB to mitigate SWEET32 attacks.
Tue Nov 27 15:32:25 2018 TUN/TAP device tun0 opened
Tue Nov 27 15:32:25 2018 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Tue Nov 27 15:32:25 2018 /sbin/ip link set dev tun0 up mtu 1500
Tue Nov 27 15:32:25 2018 /sbin/ip addr add dev tun0 local 10.8.0.6 peer 10.8.0.5
Tue Nov 27 15:32:25 2018 Initialization Sequence Completed
I can't find anything from syslog, and /var/log/openvpn is empty.