Changeset b9b1cd8 in freewrt


Ignore:
Timestamp:
Mar 30, 2007, 9:43:01 PM (19 years ago)
Author:
Waldemar Brodkorb <wbx@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
be06a8e
Parents:
6d020c1
Message:

add some more examples

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@2313 afb5a338-a214-0410-bd46-81f09a774fd1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • package/iptables/files/firewall.conf

    r6d020c1 rb9b1cd8  
    11#!/bin/sh
    22
     3echo "please configure your interfaces and iptables rules"
     4exit 1
    35### Interfaces
    46WAN=ppp0
    57LAN=br0
    6 WLAN=
     8WLAN=eth1
    79
    810######################################################################
     
    6062iptables -t nat -A POSTROUTING -j postrouting_rule
    6163
    62 # allow LAN
     64# allow LAN to INTERNET
    6365iptables -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
    6470
    6571### MASQUERADING
Note: See TracChangeset for help on using the changeset viewer.