Topic: only destination ip 192.168.1.xx can redirect to ../hotspotlogin.cgi

hi,

only destination url http://192.168.1.xx will automatically redirect to chilli webpage login. i tried to type any url... nothing happened,just got unresolved blah... blah...

some one any ideas about this?

2 (edited by boom2xx 2009-09-12 06:38:59)

Re: only destination ip 192.168.1.xx can redirect to ../hotspotlogin.cgi

#chilli.conf
HS_WANIF=eth0            # WAN Interface toward the Internet
HS_LANIF=eth1              # Subscriber Interface for client devices
HS_NETWORK=10.0.0.0        # HotSpot Network (must include HS_UAMLISTEN)
HS_NETMASK=255.255.255.0 # HotSpot Network Netmask
HS_UAMLISTEN=10.0.0.1      # HotSpot IP Address (on subscriber network)
HS_UAMPORT=3990          # HotSpot Port (on subscriber network)
HS_NASID=hotspot
HS_UAMSECRET=
HS_RADIUS=10.0.0.1
HS_RADSECRET=testing123
HS_UAMSERVER=10.0.0.1


# firewall.sh
/sbin/iptables -F
/sbin/iptables -t nat -F
/sbin/iptables -t mangle -F
/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
/sbin/iptables -A FORWARD -i eth1 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward