R
R
rexerka2016-02-11 10:47:18
openvpn
rexerka, 2016-02-11 10:47:18

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

1 answer(s)
M
Maksim, 2016-02-12
@chumayu

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 question

Ask a Question

731 491 924 answers to any question