[Chilli] Running with kmod

Tariq Ramadan tr23101 at yahoo.com
Mon Apr 7 12:53:55 UTC 2014


Hello

I've compiled and set up coovachilli --with-nfcoova on ubuntu successfully. But I can not run properly. I think there's a kind of routing problem with the interfaces. I tried to set up as David described here: http://lists.coova.org/pipermail/chilli/2010-April/001239.html 

At this configuration client is getting IP, then trying to resolve and getting dns request result, and redirecting the browser to the uamurl, but page is not displaying properly(getting connection reset response)
If I remove the network route of tun0(11.1.0.0/24) here, the client can continue to reach and display the uampage, then login and access to the internet. But this time dns resolving and redirection doesn't work.

My configuration:

cmdsocket       /var/run/chilli.eth1.sock
unixipc         chilli.eth1.ipc
pidfile         /var/run/chilli.eth1.pid
net10.1.0.0/255.255.255.0
uamlisten11.1.0.1
uamport         3100
dhcpifeth1
uamallowed"10.0.0.0/8,11.0.0.0/8"
uamanydns
kname "chilli"
dhcplisten "10.1.0.1"
domain "lan"
dns1 "208.67.222.222"
dns2 "8.8.8.8"

radiusserver1"localhost"
radiusserver2"localhost"
radiussecret"testing123"
radiusauthport  1812
radiusacctport  1813
uamserver"http://11.1.0.1/login/login.php"
radiusnasid"nas-10"
papalwaysok
macauth
usestatusfile "/etc/chilli/eth1/status.dat"
uamaliasname "chilli"
adminupdatefile "/etc/chilli/eth1/local.conf"
uamsecret "testing123"

dhcpstart 10
dhcpend 239
lease 3600
dhcpnotidle
seskeepalive
logfacility 22

WAN side - eth0 : 192.168.0.88 (def gw:192.168.0.1)
LAN side - eth1 : 10.1.0.1
tun0: 11.1.0.1

iptables output:
Chain INPUT (policy ACCEPT)

target     prot opt source               destination         

Chain FORWARD (policy DROP)
target     prot opt source               destination         
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           coova: name: chilli side: dest
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           coova: name: chilli side: source 

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination


route -n output:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.0.1     0.0.0.0         UG    100    0        0 eth0
10.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 eth1
11.1.0.0        0.0.0.0         255.255.255.0   U     0      0        0 tun0
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0


Can anyone help me?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.coova.org/pipermail/chilli/attachments/20140407/1064e280/attachment.html>


More information about the Chilli mailing list