Joseph L. Casale wrote:
> Is there anyway to redirect a list of addresses to a text file for cleaning up
> the rules file? It was manageable until now where I need to allow a very
> long list of hosts access to a port and it makes it difficult to navigate or
> edit now.


Hi Joseph,

Use the "params" file. Put a row like this in /etc/shorewall/params:
somehosts=192.0.2.1,192.0.2.3,192.0.2.56,192.0.2.239

... then refer to the list as "$somehosts" in /etc/shorewall/rules.

/Martin Leben


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to