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

Iptables a '-t nat' dude



Anyone can tell me if this scheme is correct?

input -> ' -t nat' -> forward -> '-t nat' -> output

where... '-t nat' is optional

I ask this because I will put a condition like...
$IPT -t nat -A PREROUTING -i $interfaz0 -p tcp -d $ip_eth0 --dport 80 -j
DNAT --to-destination 172.16.1.2:80

And I don´t know if I must put some rules in input and output

can anyone explain me that?

Thanks


-- 

LuisMi

--------------------------------------------------------------
Please answer me in text plain and use spanish if you can/want.
Also please reply with the original text and subject.
e-mail powered by Pine



Reply to: