25 Jul 19:23
Freifunk 1.6.29, dhcp-splash, and natting
From: Jan Groenewald <jan@...>
Subject: Freifunk 1.6.29, dhcp-splash, and natting
Newsgroups: gmane.org.freifunk.wlanware
Date: 2008-07-25 17:25:36 GMT
Subject: Freifunk 1.6.29, dhcp-splash, and natting
Newsgroups: gmane.org.freifunk.wlanware
Date: 2008-07-25 17:25:36 GMT
Hi I run a 30 node freifunk mesh network. Each node has LAN (all 5 ports) DHCP and OLSR-DHCP. The LAN and the WLAN is unnatted into the mesh. The WLAN (OLSR-DHCP) is on the same subnet. ADSL -(Continue reading)ethernet- Linuxrouter -ethernet- mesh-gw-node -w-i-r-e-l-e-s-s- all other mesh nodes. 172.18.0.0 mesh network 172.18.172.1 example node, mask 255.255.0.0 172.18.172.10 to 172.18.172.14 example node's WLAN, mask 255.255.255.240 192.168.172.2 to 192.168.172.6 example node's LAN In /etc/init.d/S45firewall I unnat: jan <at> osprey:~/freifunk$ cat S45firewall-wannat.patch --- S45firewall 2008-03-07 12:43:51.000000000 +0200 +++ S45firewall.gw 2008-03-07 12:43:55.000000000 +0200 @@ -58,6 +58,8 @@ iptables -t nat -A POSTROUTING -o $WIFIDEV -s $LANNET/$LANPRE -j MASQUERADE fi +WANOLSR="dontnat" + if [ -n "$WANDEV" ]; then if [ -z "$WANOLSR" ]; then # Mask packets to WAN
RSS Feed