Changeset c2b68db in freewrt
- Timestamp:
- Oct 24, 2006, 9:31:14 AM (19 years ago)
- Children:
- 256de2e
- Parents:
- ea5d44e4
- File:
-
- 1 edited
-
package/iptables/files/firewall.conf (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
package/iptables/files/firewall.conf
rea5d44e4 rc2b68db 4 4 WAN=ppp0 5 5 LAN=br0 6 WLAN= # optional6 WLAN= 7 7 8 8 ###################################################################### … … 13 13 iptables -N input_rule 14 14 iptables -N forwarding_rule 15 iptables -t nat -N prerouting_rule 16 iptables -t nat -N postrouting_rule 15 17 16 18 ### Default policy … … 55 57 # custom rules 56 58 iptables -A FORWARD -j forwarding_rule 59 iptables -t nat -A PREROUTING -j prerouting_rule 60 iptables -t nat -A POSTROUTING -j postrouting_rule 57 61 58 62 # allow LAN … … 101 105 ### 102 106 107 #iptables -t nat -A prerouting_rule -i $WAN -p tcp --dport 3389 -j DNAT --to 192.168.1.10 103 108 #iptables -A forwarding_rule -i $WAN -p tcp --dport 3389 -d 192.168.1.10 -j ACCEPT
Note:
See TracChangeset
for help on using the changeset viewer.
