Linksys WRT54GL UseMyNet
WiFi
Many Internet Cafe businesses want to offer WiFi access for customers with laptops.
Here the client-server software is not suitable as it is impractical to install the client software on each
customers laptop. In these circumstances the solution is to use “captive portal” software.
This software runs on a PC or WiFi router and can intercept the traffic from the laptop and redirect it to
a “landing page” where the customer is asked for payment or authentication.
Typically the software works as follows:
1. Customer connects to the WiFi network of the Internet Cafe.
2. Customer launches web browser and enters desired site (for example www.indiatimes.com).
3. Customer is redirected to the “landing page” instead of the desired site.
4. Customer is prompted for and enters access code.
5. Customer’s laptop is authenticated for the session time.
6. Customer’s web browser is redirect to desired site (for example www.indiatimes.com).
Inter LAN connectivity is disabled. Host on the Lan will not be allowed to connect to another
host on the Lan. Is is the security measure in place since these devices using UseMyNet software
are more likely to be used in public places. Data Protection is enforced here.
In order to allow internal Lan Connectivity :
Traffic to local networks are blocked by default as most customers require this.
You can edit the file /etc/init.d/umn and remove any or all of the following 3 lines
iptables -A FORWARD -i $LAN -d 10.0.0.0/8 -J REJECT –reject-with icmp-host-prohibited
iptables -A FORWARD -i $LAN -d 172.16.0.0/12 -J REJECT –reject-with icmp-host-prohibited
iptables -A FORWARD -i $LAN -d 192.168.0.0/16 -J REJECT –reject-with icmp-host-prohibited