[SOLVED] Openvpn killswitch

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
burgess85
DD-WRT User


Joined: 22 Sep 2012
Posts: 78

PostPosted: Fri Nov 26, 2021 19:12    Post subject: [SOLVED] Openvpn killswitch Reply with quote
On 47665 is it still ok to use this in firewall for killswitch?

iptables -I FORWARD -i br0 -o `nvram get wan_iface` -j DROP
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12887
Location: Netherlands

PostPosted: Fri Nov 26, 2021 19:21    Post subject: Reply with quote
There is a built-in kill switch.

Explained in the Openvpn client setup guide:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=327398

P.S. moved to Advanced Networking forum

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
burgess85
DD-WRT User


Joined: 22 Sep 2012
Posts: 78

PostPosted: Fri Nov 26, 2021 19:32    Post subject: Reply with quote
Thank you I have ticked the box that says killswitch but the instructions only saying when using with a gateway. I use DHCP automatic is this correct?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12887
Location: Netherlands

PostPosted: Fri Nov 26, 2021 19:39    Post subject: Reply with quote
That should work.

But check as outlined in the guide Smile

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum