D
D
Denis2017-02-12 11:58:52
openvpn
Denis, 2017-02-12 11:58:52

How to remove route on openvpn connection?

Greetings.
Such a thing, I connect via openvpn to organize access to the local network.
Despite the fact that on the server, as it were, there is a ban on the Internet through VPN, it doesn’t matter why, sometimes, the Internet tries to break through the VPN network.
I wanted to know if there is a command for the client configuration to delete the route created by the client...?
In Windows, I write in the console route delete 0.0.0.0 mask 0.0.0.0 192.168.100.1 and everything falls into place, I would like it to be automatically either deleted or not created

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Pastukhov, 2017-02-17
@zerocool31337

OpenVPN allows you to execute scripts on connection and disconnection, the config parameters are up and down, respectively.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question