Changeset b9b1cd8 in freewrt
- Timestamp:
- Mar 30, 2007, 9:43:01 PM (19 years ago)
- Branches:
- freewrt_1_0, freewrt_2_0
- Children:
- be06a8e
- Parents:
- 6d020c1
- File:
-
- 1 edited
-
package/iptables/files/firewall.conf (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
package/iptables/files/firewall.conf
r6d020c1 rb9b1cd8 1 1 #!/bin/sh 2 2 3 echo "please configure your interfaces and iptables rules" 4 exit 1 3 5 ### Interfaces 4 6 WAN=ppp0 5 7 LAN=br0 6 WLAN= 8 WLAN=eth1 7 9 8 10 ###################################################################### … … 60 62 iptables -t nat -A POSTROUTING -j postrouting_rule 61 63 62 # allow LAN 64 # allow LAN to INTERNET 63 65 iptables -A FORWARD -i $LAN -o $WAN -j ACCEPT 66 # allow WLAN to INTERNET 67 #iptables -A FORWARD -i $WLAN -o $WAN -j ACCEPT 68 # Allow WLAN to LAN 69 #iptables -A FORWARD -i $WLAN -o $LAN -j ACCEPT 64 70 65 71 ### MASQUERADING
Note:
See TracChangeset
for help on using the changeset viewer.
