I'd like to do this experiment. I'd like to capture *all web traffic*
and direct it all to my web server.

This is my network.
my home LAN/WIFI Network(subnet#1) ----> ordinary router/AccessPoint
-----> my web server(subnet#2) w/ IP based virtual hosting

And I found this in the internet :)
iptables -t nat -A PREROUTING -i eth0 --dport 80 -j DNAT
--to-destination <ip-address of virtual host>:80

If I place this rule in "my web server", will this work? Or do I need
to google some more.

-- 

Regards,

Martin Acupanda
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to