[WLANware] Freifunk 1.6.29, dhcp-splash, and natting

Jan Groenewald jan at aims.ac.za
Sun Jul 27 14:51:56 CEST 2008


Hi

2008/7/27 Jan Groenewald <jan at aims.ac.za>:
> Hmm, uh, now that OLSR-DHCP nat is gone.
> It doesn't seem to be the cron job either

So, it is not what I thought. I waited a bit to make sure it is not that
or another cronjob. But the NAT did not come b ack on that router.

But I want to trace why this NATs in 1.6.29 when it did not
in 1.6.28 -- if I reboot that NAT is back on the OLSR-DHCP.


root at jan-south:/etc/init.d# reboot
root at jan-south:/etc/init.d# Connection to jan-south closed by remote host.
Connection to jan-south closed.
jan at osprey:~$ ssh root at jan-south


BusyBox v1.01 (2007.11.04-07:56+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 (       ).-----.-----.-----.)  )  )  ).----.)  )
 (   -   ))  _  )  -__)     ))  )  )  ))   _))   _)
 (_______))   __)_____)__)__))________))__)  )____)
          )__) F R E I F U N K  F I R M W A R E

root at jan-south:~# iptables -t nat -nvL
Chain PREROUTING (policy ACCEPT 2731 packets, 302K bytes)
 pkts bytes target     prot opt in     out     source
destination
 2510  238K splash_prerouting_all  all  --  *      *       0.0.0.0/0
         0.0.0.0/0

Chain POSTROUTING (policy ACCEPT 95 packets, 58489 bytes)
 pkts bytes target     prot opt in     out     source
destination
    0     0 MASQUERADE  all  --  *      vlan1   0.0.0.0/0
0.0.0.0/0
 1877  182K MASQUERADE  all  --  *      *       172.18.172.24/29
0.0.0.0/0
    0     0 MASQUERADE  all  --  *      vlan1   0.0.0.0/0
0.0.0.0/0

Chain OUTPUT (policy ACCEPT 5 packets, 2351 bytes)
 pkts bytes target     prot opt in     out     source
destination

Chain splash_prerouting (0 references)
 pkts bytes target     prot opt in     out     source
destination
    0     0 splash_redirect  all  --  *      *       0.0.0.0/0
   0.0.0.0/0

Chain splash_prerouting_all (1 references)
 pkts bytes target     prot opt in     out     source
destination

Chain splash_redirect (1 references)
 pkts bytes target     prot opt in     out     source
destination
    0     0 REDIRECT   tcp  --  *      *       0.0.0.0/0
0.0.0.0/0           tcp dpt:80
root at jan-south:~#



Any ideas?

regards,
Jan



More information about the WLANware mailing list