Answer the question
In order to leave comments, you need to log in
How to block all outgoing traffic except openvpn?
Essence of the question
I use OpenVpn and it often breaks.
I would like to block all outgoing connections when OpenVpn breaks.
Can I somehow provide this with FireWall?
I sit via WiFi and distribute from the main computer
Answer the question
In order to leave comments, you need to log in
Maybe you can.
Remove the default gateway in the network connection settings.
Create a static route:
openvpn server address with mask 255.255.255.255 gateway your connection.
Next, connect to the open - check, it works, disconnect, check, connect, check.
And until you get bored.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question