diff options
| author | Darkeye <postfach@martinmichel.info> | 2011-01-22 16:38:35 (GMT) | 
|---|---|---|
| committer | Darkeye <postfach@martinmichel.info> | 2011-01-22 16:38:35 (GMT) | 
| commit | b3c45c3e4180a72e746f48081249858406eda458 (patch) | |
| tree | b4fe3ca59875527a17cb9c2f5afbce44765bf039 /files/etc/config | |
| parent | af2439b5782479ead9137e521065c0844998de6c (diff) | |
Add switch ports to mesh-bridge
Diffstat (limited to 'files/etc/config')
| -rw-r--r-- | files/etc/config/firewall | 12 | ||||
| -rw-r--r-- | files/etc/config/network | 9 | 
2 files changed, 3 insertions, 18 deletions
diff --git a/files/etc/config/firewall b/files/etc/config/firewall index 9175a06..bb0a0c5 100644 --- a/files/etc/config/firewall +++ b/files/etc/config/firewall @@ -3,13 +3,7 @@ config defaults          option input            ACCEPT          option output           ACCEPT          option forward          REJECT -                                    -config zone                         -        option name             lan -        option input    ACCEPT -        option output   ACCEPT -        option forward  REJECT      -                                          +                                                                              config zone                                        option name             wan          option input    REJECT          @@ -22,9 +16,7 @@ config zone          option input    ACCEPT                        option output   ACCEPT                       option forward  REJECT              -config forwarding                           -        option src      lan                    -        option dest     wan                    +                     config forwarding                            option src      mesh                 option dest     wan                 diff --git a/files/etc/config/network b/files/etc/config/network index 6170c61..597630e 100644 --- a/files/etc/config/network +++ b/files/etc/config/network @@ -5,14 +5,7 @@ config 'interface' 'loopback'          option 'netmask' '255.0.0.0'  config 'interface' 'mesh'          option 'type' 'bridge' -        option 'ifname' 'bat0 ath0' - -config 'interface' 'lan' -        option 'type' 'bridge' -        option 'proto' 'static' -        option 'ipaddr' '192.168.1.1' -        option 'netmask' '255.255.255.0' -        option 'ifname' 'eth0.1' +        option 'ifname' 'bat0 ath0 eth0.1'  config 'switch' 'eth0'          option 'name' 'eth0'  | 
