News: This forum is now permanently frozen.
Pages: [1]
Topic: How to block and forward some pages for specified IP  (Read 1386 times)
« on: May 02, 2012, 18:43:57 »
mm1 *
Posts: 1

Hi!
My monowall is configured but I have a little problem with blocking and forwarding some pages for specified LAN IP addresses.

Router LAN address: 192.168.1.1
IP range address: 192.168.1.100 - 192.168.1.101
DHCP: ON
IP addresses are linked with MACs so current PC will always get a proper IP.

So what should I do to:
-Block site
I want to block yahoo.com for user with ip: 192.168.1.100

-Forward site
If user with address 192.168.1.101 input nytimes.com address than our router will redirect him to google.com.


Please help amd explain step by step how can I achive this effect.

Thank you in advance.
 
« Reply #1 on: May 21, 2012, 22:09:17 »
iridris ***
Posts: 145

I don't believe m0n0wall will allow you to achieve this. You probably need something more like a proxy server.
« Reply #2 on: August 30, 2012, 04:15:27 »
Lee Sharp *****
Posts: 517

Set up a block rule on the LAN on the firewall.  Source IP 192.168.1.100 sorce port any destination IP 72.30.38.140 and destination port 80.  (and again 443.  Also, you IP will probably be different than the one for me.)

For number two, you can put nytimes.com in the DNS forwarder resolving to 74.125.227.99.  However, no one will get to nytimes then.

If you need more than this, you may want Untangle, not m0n0wall.
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines