Page 1 of 1

Linux client connection problem

Posted: Mon Feb 08, 2021 4:21 pm
by Gerard1
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.

Re: Linux client connection problem

Posted: Sun Feb 14, 2021 7:59 pm
by kotten
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

Re: Linux client connection problem

Posted: Wed Feb 24, 2021 1:11 pm
by hjyuk
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?snaptube vidmate