Dont work DNS resolve when OpenVPN connect

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
narmo
Level 1
Level 1
Posts: 2
Joined: Mon May 23, 2022 10:29 am

Dont work DNS resolve when OpenVPN connect

Post by narmo »

Need help with strange trouble with my OpenVPN connection.
I dont have much experience in Linux, but not newbie =)

I have server which perfect work on my Windows, Android and iPad.
Today i want connect from my Linux Mint and try many tips, but none help.

It's part of connection log -

Code: Select all

on May 23 16:41:40 2022 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 8.8.8.8,dhcp-option DNS 8.8.4.4
Then i am try ping any ip (include Google dns) - ping OK
But when i am trying ping any domain, like google.com - i have next error

Code: Select all

ping: google.com: Name or service not known
I am trying tip with

Code: Select all

sudo apt install openvpn-systemd-resolved
and adding in client config file

Code: Select all

script-security 2
up /etc/openvpn/update-systemd-resolved
down /etc/openvpn/update-systemd-resolved
down-pre
but have no effect.

Then i am trying some another tips from google - same, no effect.

I am try to create VPN connection using Network Manager, but it looks like he is broken =) Because in many guides in internet after create or import OpenVPN connection they have another window.
Image
Image
Image

If you can help me - i will be very grateful
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
narmo
Level 1
Level 1
Posts: 2
Joined: Mon May 23, 2022 10:29 am

Re: Dont work DNS resolve when OpenVPN connect

Post by narmo »

No one tips or solve ?(

So, as i understand Mint cannot work with openvpn ?
tim-ef
Level 1
Level 1
Posts: 1
Joined: Fri Jul 01, 2022 11:51 am

Re: Dont work DNS resolve when OpenVPN connect

Post by tim-ef »

Just import your OpenVPN (.ovpn) configuration using "Import a saved VPN configuration..." connection type.
Locked

Return to “Networking”