Hello,
I have no clue how to really do it… I'm new to all this.
I want to have that specific IPs go through my ISP and that other IPs go through my OpenVPN. And if the VPN fails (is not connected) that the IPs for that VPN get dropped so that I don't have ip-leaks.
- IPs 192.168.1.105 to 192.168.1.199 on ISP
- IPs 192.168.1.2 to 192.168.1.104 on openVPN
All I can get done ist a single policy routing OR a complete drop if the VPN fails (when I still had DD-wrt)
ip rule add from ISP.ISP.ISP.1 table 10
ip route add from 192.168.1.107 table 10
iptables -I FORWARD -i br0 -o vlan2 -j DROP
Whith everything else I tried I failed and on DD-WRT I didn't get much help.
Now I do hope that getting help here is better just like the FW. :-D
Can anybody plz tell me how to exactly do it?
Edit:
Tomato Firmware 1.28.0000 MIPSR2-108 K26 USB AIO-64K
Asus N66U
The VPN has a permanent IP but becuase of some technical causes the IP from my ISP keeps changing after a few days for weeks now (sometimes within 24h).
If possible I would like to have it so that I don't have to keep editing the ISP-IP inside the firewall.