Ok, I solved: it was an iptables issue. My solution is:

# iptables -I POSTROUTING -o eth0 -j MASQUERADE added at the end of up.sh script

Thanks anyway

Hi all, I'm trying to configure chillispot with freeradius + sql.

I have this configuration:

Internet <--->eth0 (191.168.1.253/255.255.255.0/192.168.1.1)-> SERVER (Freeradius+mysql and chillispot)-> eth1 (192.168.182.1/255.255.255.0/NOGW) -> PC (it will be an access point in the future) [DHCP client from chillispot in the server: 192.168.182.2/255.255.255.0/192.168.182.1 DNS:212.216.112.112]...

1) From the SERVER i can surf the net
2) If I try to visit google.com from the PC, firefox remain in 'waiting for...' status message...
3) If I try to visit http://192.168.182.1 I see the hotspotlogin.cgi page and if I log in with a test credentials it return logged into chillispot and the chillispot's debug say that there was a login accepted, but I can't surf the net...

The following is the actual /etc/chilli.conf file:

net 192.168.182.0/24
dns1 212.216.112.112
dns2 212.216.112.112
radiusserver1 127.0.0.1
radiusserver2 127.0.0.1
radiussecret madislocalradiussecret
dhcpif eth1
uamport 3990
uamserver https://192.168.182.1/cgi-bin/hotspotlogin.cgi
uamsecret madisuam
#uamlisten 192.168.182.1
uamallowed 192.168.182.0/24,192.168.1.253

Where are my errors?

Thank you for read me and sorry for my bad english
Good Bye