How do you configure Firewalld for Openvpn?

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
Can someone tell me how to configure Firewalld as a kill switch for Openvpn to prevent any leakage of your real ip when there's unexpected disconnection and such and to make sure all traffic is going through your current vpn service?
firewall openvpn vpn firewalld
add a comment |Â
up vote
0
down vote
favorite
Can someone tell me how to configure Firewalld as a kill switch for Openvpn to prevent any leakage of your real ip when there's unexpected disconnection and such and to make sure all traffic is going through your current vpn service?
firewall openvpn vpn firewalld
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Can someone tell me how to configure Firewalld as a kill switch for Openvpn to prevent any leakage of your real ip when there's unexpected disconnection and such and to make sure all traffic is going through your current vpn service?
firewall openvpn vpn firewalld
Can someone tell me how to configure Firewalld as a kill switch for Openvpn to prevent any leakage of your real ip when there's unexpected disconnection and such and to make sure all traffic is going through your current vpn service?
firewall openvpn vpn firewalld
firewall openvpn vpn firewalld
edited Aug 21 at 3:21
Rui F Ribeiro
36.7k1271116
36.7k1271116
asked Sep 13 '16 at 22:30
John
1
1
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
Don't setup a default gw at all, only add your vpn server's ip to route. Command line is route add <vpnserverip> gw <defaultgwip>, or use any networkmanager sw what you like. Then you can be 100% sure there is no other traffic just vpn.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Don't setup a default gw at all, only add your vpn server's ip to route. Command line is route add <vpnserverip> gw <defaultgwip>, or use any networkmanager sw what you like. Then you can be 100% sure there is no other traffic just vpn.
add a comment |Â
up vote
1
down vote
Don't setup a default gw at all, only add your vpn server's ip to route. Command line is route add <vpnserverip> gw <defaultgwip>, or use any networkmanager sw what you like. Then you can be 100% sure there is no other traffic just vpn.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Don't setup a default gw at all, only add your vpn server's ip to route. Command line is route add <vpnserverip> gw <defaultgwip>, or use any networkmanager sw what you like. Then you can be 100% sure there is no other traffic just vpn.
Don't setup a default gw at all, only add your vpn server's ip to route. Command line is route add <vpnserverip> gw <defaultgwip>, or use any networkmanager sw what you like. Then you can be 100% sure there is no other traffic just vpn.
answered Sep 13 '16 at 22:34
Ipor Sircer
9,3161920
9,3161920
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f309698%2fhow-do-you-configure-firewalld-for-openvpn%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password