/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! */


Paul R. Morin wrote:

> I have a case were I need to open all ports above 1024 for a specific rule.
> Is there any way to specify a range of port in the portfw command line?
> Nothing in the HOWTO or man pages seems to define this...

i don't think so. a for loop will be the most concise thing you can do.

or you could fwmark packets in the range 1024: with a single ipchains
command and then use a single "ipmasqadm mfw ..." command to forward
the fwmarked packets.

have you looked at autofw? i think it can also be used to specify
multiple ports that require forwarding. not sure, though.

raf

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- THIS INCLUDES 
UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to