Linux client connection problem

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
Gerard1
Posts: 19
Joined: Thu May 14, 2020 10:49 am

Linux client connection problem

Post by Gerard1 » Mon Feb 08, 2021 4:21 pm

Server Ubuntu 16.04 SE Bridge. Virtual NAT and DHCP disabled. I enabled Open VPN with default options and export it.

Client: VPS Linux ubuntu 16.04 connecting with OpenVPN command: openvpn --config sdfsdfsdf_openvpn_remote_access_l3.ovpn.
answer is:

Code: Select all

Mon Feb  8 16:10:41 2021 /sbin/ip route add 0.0.0.0/1 via 192.168.7.58
Mon Feb  8 16:10:41 2021 /sbin/ip route add 128.0.0.0/1 via 192.168.7.58
Mon Feb  8 16:10:41 2021 Initialization Sequence Completed
which means connected successful.

but when im trying ping or connect some website i get error:

Code: Select all

root@*:~# ping google.com
ping: unknown host google.com

Code: Select all

root@*:~# curl ifconfig.me
curl: (6) Could not resolve host: ifconfig.me

From windows machine there is no problem with open vpn connection. the problem appears only in linux.

kotten
Posts: 10
Joined: Tue Feb 02, 2021 7:29 am

Re: Linux client connection problem

Post by kotten » Sun Feb 14, 2021 7:59 pm

I am no vpn expert so I will just throw in my two cents...
From windows machine there is no problem with open vpn connection. the problem appears only in linux.
Are the openvpn connections connecting from the same subnet, as it is a private ip?
Mon Feb 8 16:10:41 2021 /sbin/ip route add 0.0.0.0/1 via 192.168.7.58
Mon Feb 8 16:10:41 2021 /sbin/ip route add 128.0.0.0/1 via 192.168.7.58
Mon Feb 8 16:10:41 2021 Initialization Sequence Completed
you have the same issues with ping without?

Can you run a tcpdump on client and server?
ping: unknown host google.com
All for sure knows from this is the DNS is not working properly. Can you try to ping an ip? (if it works what is the DNS servers address?)

If you try to download an ovpn.config from vpngate do you have the same issue on your ubuntu client?
Ubuntu 16.04
16.04 is pretty old and soon EOL

Post Reply