killmequick DD-WRT Novice
Joined: 13 Nov 2014 Posts: 6
|
Posted: Mon Sep 04, 2017 23:42 Post subject: Block all traffic but one subnet in Multi Router Setup |
|
Hello, I'm having some trouble figuring out the commands but I know what I want to do.
Router A = 10.1.1.1
Router B = 10.1.2.1
Router A is a Modem/Router ISP combo and Router B is running DDWRT. Router B's WAN port is connected to a LAN port on Router A and a single PC running a software based VPN client is connected to Router B as well.
How can I use iptables to reject all outbound traffic toward the ISP except for a single static VPN address or subnet? If my VPN software/server goes down, I want to have the traffic blocked when my local PC ip address changes from the VPN. Is this possible? |
|