is this possible ?
is it possible in iptables to FW a port traffic (eg 80) to an internal = ipaddress of a webserver ?
Syed Faisal Gillani
ClickOnline Networks
http://clickonlinenetworks.com
E-mail powered by ClickOnline Networks
Quoted 2 lines · Syed Faisal Gillani
is it possible in iptables to FW a port traffic (eg 80) to an internal = ipaddress of a webserver ?
Hi,
it's called NAT (network address translation).
iptables -t nat -A PREROUTING -p tcp -d your.external.addy --dport 80 -j DNAT --to your.local.addy:80
Maybe you should have a look at
http://netfilter.org/documentation/HOWTO//NAT-HOWTO.html
regards
Frederic
--
< Ylli> lol je rigole neuro jte prend pa pr un pervers ms un president et pere de famille respectable :s
http://www.seclab.jp