DNAT + user defined chains

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

 



My firewall configuration consist of many rules which redirect some ports
on my server to particular hosts in lan. I wanted to reduce them so I tried
to do something like this:

iptables -t nat -N new
iptables -t -A PREROUTING -i ethX -p tcp --dport <port>:<port> -j new

and in chain 'new' redirect port to right machine. The problem is that in 
chain 'new' i have no option '--to-destination'. Is it possible to do 
this or where can i find some info about it?


[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