Jan Groenewald | 25 Jul 19:23
Favicon

Freifunk 1.6.29, dhcp-splash, and natting

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 -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
(Continue reading)

Jan Groenewald | 26 Jul 14:06
Favicon

Re: Freifunk 1.6.29, dhcp-splash, and natting

Hi

Maybe I need a btter description of this problem:

How do I prevent dhcpsplash cronjobs from NATTing interfaces
which I don't want NATTed? While still allowing those cronjobs
to run and do their thing for dhcpsplash.

regards,
Jan
_______________________________________________
WLANware mailing list
WLANware@...
Abonnement abbestellen? -> https://freifunk.net/mailman/listinfo/wlanware

Weitere Infos zu den freifunk.net Mailinglisten und zur An- und Abmeldung unter http://freifunk.net/mailinglisten

Jan Groenewald | 13 Aug 22:42
Favicon

Re: Freifunk 1.6.29, dhcp-splash, and natting

Hi

Solved.  There was a pesky S45firewall.orig NATting everything on boot.
It is removed in 1.6.30.

Jan
_______________________________________________
WLANware mailing list
WLANware@...
Abonnement abbestellen? -> https://freifunk.net/mailman/listinfo/wlanware

Weitere Infos zu den freifunk.net Mailinglisten und zur An- und Abmeldung unter http://freifunk.net/mailinglisten


Gmane