OpenVPN Blocking LAN, Internet Access

Hi,

I configured OpenVPN as outline here, https://openwrt.org/docs/guide-user/services/vpn/openvpn/client. But ... as soon as I restart the service, or manually run openvpn (using this config file), I lose access to the OpenVPN interface (CLI or GUI), and as well my internet access is gone. So no logs or debug capability ... :frowning:. Can't even ping the openvpn IP (and get a response).

I do see that DHCP still works, I still get an IP address => just can't get to the GUI/CLI or internet.

Any suggestions?

Thanks!

uci show network; uci show firewall; uci show dhcp; uci show openvpn
ip a; ip r; ip ru

Will do! Do that before trying to run OpenVPN, right? I say that because once OpenVPN is started => no access to CLI or GUI.

Thanks!

Check if you regain the access this way:

service openvpn start; sleep 10; service openvpn stop
1 Like

Yes! Lose access during that 10 second period ... then it returns. And the logs show ... issue between the keyboard and chair (i.e. me) ... LMAO. Thanks! Because I could get to the logs I found that I had an IP address conflict - missed that, sorry!

So close, not quite there - DNS is not resolving, I have all traffic redirected, but DNS is not getting forwarded. Thoughts?

Thanks!!!

1 Like

https://openwrt.org/docs/guide-user/base-system/dhcp_configuration#upstream_dns_provider

1 Like

Got it - and working now. Thanks so much for all the help. Much appreciated!!!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.