Posted: Sat Apr 20, 2019 5:50 Post subject: Whitelisting VPN server adddresses / blocking all other
Hi all,
Anyone able to assist it would be greatly appreciated
I would like to whitelist a list of VPN servers, and block all other outgoing traffic (such as if the VPN drops, all traffic is blocked) but if the VPN reconnects, it can flow through.
Also, how to get the VPN to reconnect after it drops and auto re-trying?
Have two DDWRT routers - one has the VPN.
Modem is Asus DSL-AC68U.
I somehow jagged this many years ago but I have no idea how I did it.
also, I cannot get it working using the VPN gui, I have to save command with a script.
(I also have to enable VPN server and client in the gui (I dont enter any settings in the gui though as it breaks it))
I’m not sure how to add the list of servers in the command script. Each time I try it breaks.
if I try adding it in the gui, it breaks.
their gui setup and their command config appear to be different (one has TAP the other TUN) if that makes a difference.
took a bit of mucking around to get this file, might backup this profile and tranpose the script over instead of using their gui settings.
I am also using an older build, 21061 on DIR-632 - it doesnt have fields for username and password in the gui, which caused me issues. Tried a few things to address this that didnt work so appreciate any guide