Hello:
I used the following command to block the client 10.100.129.1
If the client go to a web site e.g
www.hotmail.com, it will go to the homepage of the firewall.
/sbin/iptables -t nat -A PREROUTING -i eth1 -p tcp -s 10.100.129.0 --dport 80 -j REDIRECT --to-port 80
The question is:
If the client goes to
www.hotmail.com/abc, the client cannot go to the homepage of the firewall.
That task is:
The client goes to "www.xxxx.com" or "www.xxxx.com/xxx".
The firewall (NAT server) will redirect it to the homepage stored in the firewall.
Pls. HELP.
Thanks
MOK