Linux Netfilter discussions
 help / color / mirror / Atom feed
* DNAT + user defined chains
@ 2004-03-05 17:00 Jan Kanty Palus
  2004-03-05 19:15 ` John A. Sullivan III
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kanty Palus @ 2004-03-05 17:00 UTC (permalink / raw)
  To: netfilter

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?


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-05 19:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-05 17:00 DNAT + user defined chains Jan Kanty Palus
2004-03-05 19:15 ` John A. Sullivan III

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox