All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Possible bug with multiport?
@ 2006-03-15 11:47 Kirk Reiser
  2006-03-15 17:12   ` Patrick McHardy
  2006-03-15 17:32 ` [LARTC] " William L. Thomson Jr.
  0 siblings, 2 replies; 10+ messages in thread
From: Kirk Reiser @ 2006-03-15 11:47 UTC (permalink / raw)
  To: lartc

Hi Folks:  I am either using the multiport of the -m or --match option
of iptables in correctly or there is a bug with it.  Is anyone else
using it with no problem?  This is the way I am trying to use it:

my_ports!,25,80 
iptables -t nat -A PREROUTING -i $wan_addr -p tcp -m multiport
--dports $my_ports -j DNAT --to $my_internal_address

I have used this in the past successfully but that was a few years
ago.  I get no errors or warnings it just ignors the ports.  The
multiport invokation shows up in an iptables -t nat -L -v however.
The packet and byte counts never get incremented either from zero.

Any pointers would sure be helpful, having to include a line for every
port check seems wasteful.

  Kirk

-- 

Kirk Reiser				The Computer Braille Facility
e-mail: kirk@braille.uwo.ca		University of Western Ontario
phone: (519) 661-3061
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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

end of thread, other threads:[~2006-03-16 12:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-15 11:47 [LARTC] Possible bug with multiport? Kirk Reiser
2006-03-15 17:12 ` Patrick McHardy
2006-03-15 17:12   ` Patrick McHardy
2006-03-15 19:03   ` [LARTC] " Kirk Reiser
2006-03-15 19:03     ` Kirk Reiser
2006-03-15 23:41     ` [LARTC] " Patrick McHardy
2006-03-15 23:41       ` Patrick McHardy
2006-03-16 12:24       ` [LARTC] " Kirk Reiser
2006-03-16 12:24         ` Kirk Reiser
2006-03-15 17:32 ` [LARTC] " William L. Thomson Jr.

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.