# NordVPN Up and Down scripts

**URL:** https://dietpi.com/forum/t/nordvpn-up-and-down-scripts/4896
**Category:** General Discussion
**Created:** [24 January 2021 19:28 UTC](https://dietpi.com/forum/t/nordvpn-up-and-down-scripts/4896 "2021-01-24T19:28:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![thewhatofwhom](https://dietpi.com/forum/user_avatar/dietpi.com/thewhatofwhom/32/1748_2.png) [@thewhatofwhom](https://dietpi.com/forum/u/thewhatofwhom)
#### Post date: [24 January 2021 19:28 UTC](https://dietpi.com/forum/t/nordvpn-up-and-down-scripts/4896/1 "2021-01-24T19:28:32Z")

</div>

Hi,

After fiddling with iptables and running into issues down the line, my last attempt at setting up a kill switch with openvpn proved too complicated and caused issues down the line when it went wrong. I switched from IPVanish config files to NordVPN to take advantage of the Dietpi service.

I feel that I can use the NordVPN script options to set up a killswitch without touching iptables but I’m not sure where to start. Is anyone able to tell me how?

---

<div class="post-metadata">

### Author: ![trendy](https://dietpi.com/forum/user_avatar/dietpi.com/trendy/32/61_2.png) [@trendy](https://dietpi.com/forum/u/trendy)
#### Post date: [25 January 2021 09:37 UTC](https://dietpi.com/forum/t/nordvpn-up-and-down-scripts/4896/2 "2021-01-25T09:37:35Z")

</div>

Without touching iptables you’d have to touch routing.  
Remove the ISP router as default gateway and keep only a static route to allow traffic towards the VPN endpoint via the ISP gateway.
