Yes ist possible

/etc/shorewall/params  

MYLAN=192.168.2.0/24,192.168.3.0/24

In other files you can use it as $MYLAN

Anyway I guess you want to do something else. 

If you want to allow traffic from one network to another one without any
port limitation you´ll better specify a zone in interfaces file and then use
policy to ACCEPT traffic between those two zones. If you want to limit for a
few ports you will use rules instead of policies. 

However, what you want to do should be possible with one out of my two
mentioned ways.


Cheers
Michael


-----Ursprüngliche Nachricht-----
Von: Hristo Benev [mailto:f...@abv.bg] 
Gesendet: Sonntag, 1. August 2010 15:39
An: shorewall-users@lists.sourceforge.net
Betreff: [Shorewall-users] List of IPs

 Hello,

Is it possible to create list of IPs and apply rules on them?

Just an example:

I have 2 IP ranges
192.168.2.0/24
192.168.3.0/24

If it is possible to create a list (for example) LAN

And after that I can create rule

allow LAN PUB

To allow all LAN access to PUB (public Internet)

Thanks,

----------------------------------------------------------------------------
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to