#!v0.1 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; This is an ARSE (Automatic Router Scripting Engine) script ; [For Viking I chipset] ; ; for more details see here.. ; http://corz.org/windows/software/accessories/Automatic-Router-Scripting-Engine/ ; ; httpd (web server) rules for Viking I ; ; note the IP is set for 192.168.1.3, so you will probably need to alter that to ; the IP of the server on your LAN, probably not your desktop box, right? ; you can't use id 80, sorree. Ask BT! ; firewall rule (allow inbound traffic) create ipf rule entry ruleid 808 ifname public dir in act accept transprot eq tcp destport eq num 80 seclevel high medium low ; NAT rule (redirect traffic to server) (this rule redirects UDP, too, but those packets never reach it) create nat rule entry ruleid 808 rdr lcladdrfrom 192.168.1.3 lcladdrto 192.168.1.3 destportfrom num 80 destportto num 80 # make the changes permanent.. commit