Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 35424

ipsec, l2tp & resvolv.conf

$
0
0
Hi all,

I'm able to connect but I need edit /etc/resolv.conf file to add DNS servers. The same configuration in Debian or Ubuntu adds DNS servers automatically to resolv.conf file. It could be related with use NetworkManager for manage my networks and resolvconf program isn't in Fedora? I'm connecting using ipsec and xl2tpd directly.

In /var/log/messages I can see the DNS which I've put in l2tp options file:

Code:

May 26 14:05:43 host pppd[3673]: local  IP address 172.30.20.74
May 26 14:05:43 host pppd[3673]: remote IP address 10.64.64.64
May 26 14:05:43 host pppd[3673]: primary  DNS address 172.20.1.29
May 26 14:05:43 host pppd[3673]: secondary DNS address 10.10.223.50

I'm adding the nameservers after up the connection and remove them after down it.

Thanks.

Viewing all articles
Browse latest Browse all 35424

Trending Articles