What's new

AC68U - OpenVPN regularly dropping

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Evansgo

New Around Here
I have an AC68 with firmware 378.53 and have never tried this before so this could easily be a simple mistake. I set up the VPN specifically to give me a UK IP and specifically OPENVPN as I needed the individual IP routing capability (fantastic!) not for security.

It all works fine for a while, but if the VPN is not used it drops out frequently, I have amended the Poll Interval to keep it alive, but really wanted to see if I could fix it properly.

Here is a snippet of the log, hopefully where the issue is....

Would someone please take a look for me and see if it is anything obvious?

Code:
May 19 12:20:01 crond[486]: crond: USER xxxx pid 23066 cmd service start_vpnclient1
May 19 12:20:02 rc_service: service 23067:notify_rc start_vpnclient1
May 19 12:20:02 syslog: VPN_LOG_NOTE: 75: VPN Client 1 already running...
May 19 12:20:06 openvpn[22513]: ERROR: could not read Auth username from stdin
May 19 12:20:06 openvpn[22513]: Exiting due to fatal error
May 19 12:20:06 openvpn[22513]: vpnrouting.sh tun11 1500 1558 xx.xxx.49.3 255.255.255.192 init
May 19 12:20:06 openvpn-routing: Configuring policy rules for tun11
May 19 12:20:07 openvpn-routing: Removing rule 32759 from routing policy
May 19 12:20:07 openvpn-routing: Removing rule 32760 from routing policy
May 19 12:20:07 openvpn-routing: Removing rule 32761 from routing policy
May 19 12:20:07 openvpn-routing: Removing rule 32762 from routing policy
May 19 12:20:07 openvpn-routing: Removing rule 32763 from routing policy
May 19 12:20:07 openvpn-routing: Removing rule 32764 from routing policy
May 19 12:20:07 openvpn-routing: Removing rule 32765 from routing policy
May 19 12:20:07 openvpn-routing: Completed routing policy configuration
May 19 12:20:07 openvpn[22513]: ERROR: Linux route delete command failed: external program exited with error status: 2
May 19 12:20:07 openvpn[22513]: ERROR: Linux route delete command failed: external program exited with error status: 2
May 19 12:20:07 openvpn[22513]: /usr/sbin/ip addr del dev tun11 xx.xxx.49.3/26
May 19 12:20:07 openvpn[22513]: updown.sh tun11 1500 1558 xx.xxx.49.3 255.255.255.192 init
May 19 12:20:07 rc_service: service 23123:notify_rc updateresolv
May 19 12:20:07 dnsmasq[22575]: read /etc/hosts - 5 addresses
May 19 12:20:07 dnsmasq[22575]: read /etc/hosts.dnsmasq - 3 addresses
May 19 12:20:07 dnsmasq-dhcp[22575]: read /etc/ethers - 7 addresses
May 19 12:20:07 dnsmasq[22575]: using nameserver 4.4.4.4#53 for domain local
May 19 12:20:07 dnsmasq[22575]: using nameserver 8.8.8.8#53 for domain local
May 19 12:20:07 dnsmasq[22575]: using nameserver 4.4.4.4#53 for domain local
May 19 12:20:07 dnsmasq[22575]: using nameserver 8.8.8.8#53 for domain local
May 19 12:20:07 dnsmasq[22575]: using nameserver 8.8.8.8#53
May 19 12:20:07 dnsmasq[22575]: using nameserver 4.4.4.4#53
May 19 12:20:08 rc_service: service 23125:notify_rc restart_dnsmasq
May 19 12:20:08 dnsmasq[22575]: exiting on receipt of SIGTERM
May 19 12:20:09 dnsmasq[23134]: started, version 2.73rc1 cachesize 1500
May 19 12:20:09 dnsmasq[23134]: warning: interface ppp1* does not currently exist
May 19 12:20:09 dnsmasq[23134]: asynchronous logging enabled, queue limit is 5 messages
May 19 12:20:09 dnsmasq-dhcp[23134]: DHCP, IP range 192.168.x.101 -- 192.168.x.200, lease time 1d
May 19 12:20:09 dnsmasq[23134]: read /etc/hosts - 5 addresses
May 19 12:20:09 dnsmasq[23134]: read /etc/hosts.dnsmasq - 3 addresses
May 19 12:20:09 dnsmasq-dhcp[23134]: read /etc/ethers - 7 addresses
May 19 12:20:09 dnsmasq[23134]: using nameserver 4.4.4.4#53 for domain local
May 19 12:20:09 dnsmasq[23134]: using nameserver 8.8.8.8#53 for domain local
May 19 12:20:09 dnsmasq[23134]: using nameserver 4.4.4.4#53 for domain local
May 19 12:20:09 dnsmasq[23134]: using nameserver 8.8.8.8#53 for domain local
May 19 12:20:09 dnsmasq[23134]: using nameserver 8.8.8.8#53
May 19 12:20:09 dnsmasq[23134]: using nameserver 4.4.4.4#53
 
May 19 12:20:01 crond[486]: crond: USER xxxx pid 23066 cmd service start_vpnclient1
May 19 12:20:02 rc_service: service 23067:notify_rc start_vpnclient1
May 19 12:20:02 syslog: VPN_LOG_NOTE: 75: VPN Client 1 already running...
May 19 12:20:06 openvpn[22513]: ERROR: could not read Auth username from stdin
May 19 12:20:06 openvpn[22513]: Exiting due to fatal error

Corrupt config?

Also, when you get a chance, check your local DNS servers - looks like you're using Google PublicDNS - and those are at 8.8.8.8 and 8.8.4.4 for IPv4...

https://developers.google.com/speed/public-dns/
 
Thanks for that, I spotted the DNS just after I posted it and have now changed it. I did wonder about the config, but it works every time I manually connect so thought it wouldn't be that. Also I did find that thread thanks, but it didn't help me, probably due to a lack of knowledge....
I tried messing about with the custom commands but as I'm doing it by googling each line, its a bit haphazard :)

In case it makes a difference I'm using pureVPN and set it up with their web site help. The custom list is:-

mute 20
float
route-method exe
route-delay 2
auth-retry interact
explicit-exit-notify 2
ifconfig-nowarn
auth-nocache
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top