LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DNS and OpenVPN Access Server
#1
I have my own OpenVPN Access Server.  To install my OpenVPN client and connect to my Access Server, I follow the instructions at https://openvpn.net/index.php/access-ser...ients.html.  When I have the server redirect internet browsing, so that the network my Access Server is connected to handles the browsing, I can ping IP addresses, but I cannot ping domain names or browse the internet.  For example, I can ping the Google public DNS server 8.8.8.8, but I cannot ping or browse to www.google.com.

I put in a ticket with the folks at OpenVPN.  They led me to my /etc/resolv.conf file, which shows my nameserver as 127.0.0.1.  When I changed the nameserver to 8.8.8.8, I could ping ip addresses and domain names and browse the internet.  Using www.ipchicken.com, my internet browsing appeared to be coming from the same public IP address as my OpenVPN Access Server.  This was the result I was looking for.  But after rebooting, the nameserver returned to 127.0.0.1. 

As a workaround for this, I added 8.8.8.8 as an Additional DNS Server in my Network Connections.  I have been able to use another Ubuntu Linux based distro without this workaround.  And the folks at OpenVPN suggested there might be something special going on with the distro I'm using (Linux Lite 2.4 64 bit) that could be causing the /etc/resolv.conf file to use the local loopback address as my nameserver.

For the record, I have LL 2.4 64bit running on my laptop and my desktop, and the behavior connecting to my OpenVPN Access Server is the same.  I have to add 8.8.8.8 to my Network Connections settings, as a workaround, in order to get the expected behavior.
Want to thank me?  Click my [Thank] link.
Reply
#2
Hi,

For a different issue I had some notes.
/etc/resolv.conf file get's re-written after various events, hence why it goes back to: 127.0.0.1

Look at this to se if it helps:
https://help.ubuntu.com/12.04/serverguid...resolution
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks Smile

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)