-   Linux - Networking (
-   -   How to block traffic for specific websites. (

artaxerxe 12-20-2012 07:21 AM

How to block traffic for specific websites.
I'm trying to put some restrictions for specific users on my LAN. So I need to restrict access to a webpage for a specific user. What suggestions do you have for this? Is that possible through iptables (remember: restrict on webpage, not on IP)? I know that can be possible through squid (for the whole lan I think), but I would be more glad to implement it through iptables or something like this if possible.

acid_kewpie 12-20-2012 08:50 AM

you really need a proxy for this. Firewall rules just don't work in a situation like this. there is the string match module for iptables, but it's use is very limited really, and easy to get around. you need to work at the right protocol layer, which si a proxy server that processes data at HTTP level, not IP level.

acid_kewpie 12-20-2012 08:56 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

All times are GMT -5. The time now is 04:06 PM.