Re: Port forward

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

 



ASC - Ronald Roeleveld wrote:

> 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 need to put in the "-t nat" here too to show the nat table:

iptables -t nat --list

Sven




[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