Pat Hennessy
2002-Jul-11 15:33 UTC
[Shorewall-users] How to specify an IP address range in a rule?
I''d like to do something like this in my rules file to allow a range of addresses on the outside access a range of addresses on the inside: ACCEPT net:xxx.yyy.zzz.120 - xxx.yyy.zzz.126 loc:192.168.168.80 - 192.168.168.85 tcp ssh Is this do-able? What is the correct syntax? TIA, Pat Hennessy NASA/GSFC
Tom Eastep
2002-Jul-11 15:44 UTC
[Shorewall-users] How to specify an IP address range in a rule?
--On Thursday, July 11, 2002 11:33:01 -0400 Pat Hennessy <pat.hennessy@gsfc.nasa.gov> wrote:> I''d like to do something like this in my rules file to allow a range of > addresses on the outside access a range of addresses on the inside: > > > ACCEPT net:xxx.yyy.zzz.120 - xxx.yyy.zzz.126 loc:192.168.168.80 - > 192.168.168.85 tcp ssh > > > Is this do-able? What is the correct syntax? >Neither iptables nor Shorewall supports an IP-Range syntax. -Tom -- Tom Eastep \ Shorewall - iptables made easy AIM: tmeastep \ http://www.shorewall.net ICQ: #60745924 \ teastep@shorewall.net