RE : Port forward

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

 



> Thanks a lot the error message is gone now,
> after I changed the line to:
> iptables -t nat -A PREROUTING -p tcp --destination-port 25 -i eth0 -j
DNAT --to-destination 192.168.22.6:25

> But when I do iptables --list
> I dont see any entrys in the chain for PREROUTING

You must specify that you want to list the content of the nat table....

iptables -t nat --list




[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