Jump to content
Not connected, Your IP: 3.129.73.6
Sign in to follow this  
M0rph2020

How to prevent an IP leak on an asus n66u using merlin wrt?

Recommended Posts

I've been trying to figure out where I need to insert these rules.

 

#!/bin/sh
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

 

On my router I used WINScp to create a firewall-start file on the /jffs directory but this script didnt work for some reason whenever I turn off the VPN my internet reverts back to clear net which I want to prevent. Am I even creating the right file? Is it supposed to be in the firewall-start file or another file. I've seen another user ask about this but their wasn't a reply. Thanks for the help.

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...