Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 12-16-2005, 09:21 AM   #1
Registered: May 2004
Location: Big Sky Country
Distribution: Suse 9.3
Posts: 34

Rep: Reputation: 15
captive portal and iptables

I am running SUSE v10.0 and 1st a basic undestanding of my network. My ISP is Direcway which provides the internet connection via satellite. The modem provides DHCP service with a network of The modem is connected to my Linksys WRT54G router on the WAN port. The router has a IP address of I have installed a captive portal for the wireless side so that wireless clients can connect however they are suppose to be redirected to a radius server on the internet for authentication. The captive portal has a built in DHCP and I have disabled the DHCP on the router. In order for the connect to be secured the connection is made through a tunnel. The following is a .sh script that i use.

/usr/sbin/iptables -I INPUT -m state --state NEW -i tun0 -j ACCEPT
/usr/sbin/iptables -I FORWARD -m state --state NEW -i tun0 -j ACCEPT
/sbin/insmod tun.o
/bin/sleep 10
/usr/local/bin/chilli -c /usr/local/etc/chilli.conf
/bin/echo "interface=br0
`cat /tmp/dnsmasq.conf`" > /tmp/dnsmasq.conf
/bin/echo "interface=tun0
`cat /tmp/dnsmasq.conf`" > /tmp/dnsmasq.conf
/bin/sleep 5
/usr/bin/killall dnsmasq
/usr/sbin/dnsmasq --conf-file /tmp/dnsmasq.conf
/usr/sbin/brctl delif br0 eth1

The wireless client can connect however, they never get to the radius server for authentication. If anyone has a good knowledge of the iptables I think that is were the problem might lie.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
security portal bambeklis Linux - Security 0 12-13-2005 04:15 AM
Open Source Portal sikandar Linux - Software 0 10-13-2004 10:29 PM
how to create a portal? tsitras Debian 1 08-05-2004 07:52 AM
Site Portal dkc_ace LQ Suggestions & Feedback 1 11-15-2003 05:11 PM
New linux portal Aussie General 0 12-18-2001 04:04 AM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 07:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration