routing all HTTP requests to my own web server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I would like to route all outbound HTTP requests to my own HTTP server.

After consulting with the docs and online tutorials I came up with the
command below:

iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT 192.168.11.100

Is this the correct way to do it?

Any advice will be really appreciated.

Thanks,
Jeremy Pullicino
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux