Josh-Daniel S. Davis (joshdavis) wrote,
Josh-Daniel S. Davis
joshdavis

Joys of HyperWRT

Ok, so I totally missed this part.

Under Advanced, then Management, down at the bottom is a button called "Start Up Script" and another called "Firewall Script".

So, in the firewally script, I have this for PPTPD passthru from EXTERNAL to internal:
/sbin/iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 1723 -j DNAT --to 192.168.1.2
/sbin/iptables -t nat -A PREROUTING -i eth1 -p 47 -j DNAT --to 192.168.1.2


Now, I get to add some DROP rules for romania and italy.
Tags: creations, networking
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments