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

Re: IP port forwarding & scope of ports



Konstantin Forostyan <ipaty@isdn.net.il> wrote:

>  Is it possible to open a scope of ports on a computer inside the
>  IP-Masqueraded
>  network for external access without duplicating the ruleset line 
>  (ipmasqadm -a portfw ......) for each separate port?
>  (for example, if I have to open ports 2000-3000, how can I do that
>  without
>  adding 1000 lines to the rc.firewall script?)

Read the ipfwadm man page and search for "range".

Regards,

Evgeny


--
   ____________________________________________________________
  / Evgeny Stambulchik  <fnevgeny@plasma-gate.weizmann.ac.il>  \
 /  Plasma Laboratory, Weizmann Institute of Science, Israel \  \
 |  Phone : (972)8-934-3610  == | == FAX   : (972)8-934-3491 |  |
 |  URL   :    http://plasma-gate.weizmann.ac.il/~fnevgeny/  |  |
 |  Finger for PGP key >=====================================+  | 
 |______________________________________________________________|