Jump to content
Not connected, Your IP: 3.139.93.242
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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...