?

Log in

No account? Create an account

Josh-D. S. Davis

Xaminmo / Omnimax / Max Omni / Mad Scientist / Midnight Shadow / Radiation Master

Previous Entry Share Next Entry
Joys of HyperWRT
Josh 201604 KWP
joshdavis
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.