Jump to content
Not connected, Your IP: 18.189.185.63
Sign in to follow this  
Guest rbj

Problem with internet not stopping (using two routers)

Recommended Posts

Guest rbj

I have two routers connected together. One is connected to the local ISP and is for those family members who can't handle VPN. The other router is running DD-WRT w/AirVPN. The signal from the DD-WRT router goes through the local router.

In my VPN router I have this command: iptables -I FORWARD -s 192.168.1.0/24 -j ACCEPT. I assume this allows info to travel between the two routers.

I've tried to enter this in the DD-WRT:

iptables -I FORWARD -i br0 -o tun0 -j ACCEPT

iptables -I FORWARD -i tun0 -o br0 -j ACCEPT

iptables -I FORWARD -i br0 -o vlan2 -j DROP

iptables -I INPUT -i tun0 -j REJECT

iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE

These commands kill the command that links the two routers. Yet I still have VPN on the DD-WRT router. Should I be worried about this.

Thanks much.

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
Sign in to follow this  

×
×
  • Create New...