Created
September 18, 2016 03:24
-
-
Save Mstaaravin/9256043381a37b6a2eb26115d3c4b06d to your computer and use it in GitHub Desktop.
service on interfaces
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iface tun0 inet manual | |
pre-up ip route delete 172.18.0.0/16 || true | |
pre-up service openvpn start || true | |
post-down service openvpn stop | |
post-down ip route add blackhole 172.18.0.0/16 || true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment