Jump to content
Not connected, Your IP: 216.73.217.99
Miguel Antunes

Rules block connection to the router DDWRT

Recommended Posts

Hi use this rules to block traffic wen the connection VPN fails, and works ok.

https://airvpn.org/topic/4287-how-to-block-all-traffic-with-dd-wrt-if-vpn-connection-fails/

 

iptables -I FORWARD -i br0 -o tun1 -j ACCEPT
iptables -I FORWARD -i tun1 -o br0 -j ACCEPT
iptables -I FORWARD -i br0 -o eth1 -j DROP
iptables -I INPUT -i tun1 -j REJECT
iptables -t nat -A POSTROUTING -o tun1 -j MASQUERADE
 

 

My Network

192.168.0.1

 

DDwrt with airvp

192.168.1.1

 

But the problem i can coneect to the router page 192.168.1.1 from my pcs in the My network have 192.168.0.x wen i activac-te this rules.

Inside the network 192.168.1.x i can acess 192.168.1.1.

 

 

There is any rule to let-me acess to the router outside the DDWRRT network?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...