what do you mean by capturing all web traffic? i think this will only direct all HTTP traffics from your network to the destination IP address you specified.
On 2/22/08, Martin Acupanda <[EMAIL PROTECTED]> wrote: > > 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 > -- "And a rock feels no pain, and an island never cries"
_________________________________________________ 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

