Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #199607 > unrolled thread

Network manager and VPN

Started byJarosław Kłopotek - INTERDUO <jkl@interduo.pl>
First post2018-08-29 20:00 +0200
Last post2018-08-31 15:40 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  Network manager and VPN Jarosław Kłopotek - INTERDUO <jkl@interduo.pl> - 2018-08-29 20:00 +0200
    Re: Network manager and VPN Nazar Zhuk <nazar@zhuk.online> - 2018-08-29 20:30 +0200
      Re: Network manager and VPN Jarosław Kłopotek - INTERDUO <jkl@interduo.pl> - 2018-08-31 15:40 +0200

#199607 — Network manager and VPN

FromJarosław Kłopotek - INTERDUO <jkl@interduo.pl>
Date2018-08-29 20:00 +0200
SubjectNetwork manager and VPN
Message-ID<wscV4-2lp-15@gated-at.bofh.it>
Hi guys,
All the time when I disconnect all kind of VPN, there is a problem with 
DNS Resolving.

I use network manager 1.12.2.
Do You know how to remove this bug?

Or how to do some workaround like:

service network-manager restart after VPN disconnect?

Regards

-- 
Jarosław Kłopotek, kom. 607 893 111

[toc] | [next] | [standalone]


#199608

FromNazar Zhuk <nazar@zhuk.online>
Date2018-08-29 20:30 +0200
Message-ID<wsdo6-2Kh-13@gated-at.bofh.it>
In reply to#199607
Hi,

On Wed, Aug 29, 2018 at 07:49:38PM +0200, Jarosław Kłopotek - INTERDUO wrote:
> Hi guys,
> All the time when I disconnect all kind of VPN, there is a problem with DNS
> Resolving.

How are you connecting to VPN? If it's with network-manager-openvpn it
should automatically restore your DNS to a configuration prior to
connecting VPN.

Look in /etc/resolv.conf before, during and after VPN connection. After
should be restored to the state before.

If you are using something other then network-manager-openvpn, it should
restore resolv.conf for you or you may need to manually script that.

> I use network manager 1.12.2.

--
Nazar

[toc] | [prev] | [next] | [standalone]


#199654

FromJarosław Kłopotek - INTERDUO <jkl@interduo.pl>
Date2018-08-31 15:40 +0200
Message-ID<wsROy-1gs-15@gated-at.bofh.it>
In reply to#199608
W dniu 29.08.2018 o 20:13, Nazar Zhuk pisze:
> Hi,
>
> On Wed, Aug 29, 2018 at 07:49:38PM +0200, Jarosław Kłopotek - INTERDUO wrote:
>> Hi guys,
>> All the time when I disconnect all kind of VPN, there is a problem with DNS
>> Resolving.
> How are you connecting to VPN? If it's with network-manager-openvpn it
> should automatically restore your DNS to a configuration prior to
> connecting VPN.
With network-manager-pptp or network-manager-l2tp
> Look in /etc/resolv.conf before, during and after VPN connection. After
> should be restored to the state before.
After and before it's only:
nameserver 127.0.0.53

After getting the newest version it only shows me disconnected state of 
interface in gnome menu bar.

So it's done for now. This bug changed to another smaller one :-)

-- 
Jarosław Kłopotek
kom. 607 893 111
Interduo Ł. Bujek, J. Kłopotek, J. Sowa s.c.
ul. Lubelska 36B/40, 21-100 Lubartów
tel. 81 475 30 00

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web