![]() |
Iptables gateway with one lan adapter
Hi.
I currently offer free wifi access to customers in my pub and I am trying to implement a layer 7 filter to block P2P filesharing. The network looks like this (router_wifi does NAT): router (10.0.1.1) --> debian-box (10.0.1.2) --> (10.0.1.5) router_wifi (10.0.2.1) -> clients (10.0.2.x) My plan is to use debian-box to take care of the P2P blocking: I compiled ipp2p (tcp layer7 packet analyzer) but I can't figure out how to make the machine act as a gateway for the wifi clients. All the examples I found online refer to the situation where the computer has two network interfaces, but I only have eth0. This is what I got so far: Code:
# Interface connected to Internet |
I believe you'd have to add a 2nd lan card and connect the wifi router to it.
If your router has a firewall, can't you just use it to block the p2p ports? In case you decide to charge for access, you can checkout Zonerider. |
| All times are GMT +2. The time now is 11:48. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.