No internet when openvpn instance is connected

Started by medeiros75, April 20, 2025, 03:19:36 AM

Previous topic - Next topic
Hello. Can't figure out this one. The scenario:
I've had a cyberghost vpn configured as client legacy on my opnsense, so far so good, The nat and firewall rules were created so only an android tv uses it.
Then i removed every config related to it, and created the cyberghost vpn on instances, only the instance is created, nothing else, no interface, no nat, no rules. The instance client connects just fine, but then all of my opnsense networks lose internet. I disable the instance, and internet comes back on. I'm lost here.

Quote from: medeiros75 on April 20, 2025, 03:19:36 AMall of my opnsense networks lose internet
What are the symptoms? Ping 8.8.8.8 fails? No Netflix? Zoom has no sound?

Have you done any troubleshooting? If so, what did you find?

Quote from: bartjsmit on April 20, 2025, 09:17:35 AM
Quote from: medeiros75 on April 20, 2025, 03:19:36 AMall of my opnsense networks lose internet
What are the symptoms? Ping 8.8.8.8 fails? No Netflix? Zoom has no sound?

Troubleshooting:
Tracert stops at opnsense ip;
Ping 8.8.8.8 fails.
Is there any log that could be used for help?

What i mean is that it affects, all networks on opnsense: data, guest, iot, management. All of them stop accessing internet.

You probably want to select "route-noexec" under Miscellaneous/Options, assuming your intent is to recreate policy-based routing (as well as outbound NAT)

Quote from: dseven on April 20, 2025, 11:06:32 AMYou probably want to select "route-noexec" under Miscellaneous/Options, assuming your intent is to recreate policy-based routing (as well as outbound NAT)
Did what you told me. Now i can connect the instance without losing internet conectivity on all devices, but the android tv that is supposed to have internet through cyberghost instance, has no internet, and all other devices using default gateway (fiber isp 200/100) have very slow download speeds (around 2-3 mbps), upload is normal


Quote from: bartjsmit on April 20, 2025, 03:39:03 PMWhy not run the OpenVPN client on Android?
C'os there is a container on my network that supposed to have internet through cyberghost.

Everything is working now. Did a FR, loaded a backup, configured cyberghost instance and everything related from scratch. Thanks to everybody who tryed to help.