On 10/15/2015 08:08 AM, Erich Titl wrote:
> Hi
> 
> I need my firewall to connect temporarily to a http/https server and
> before shorewall 4.6.8 the only way I could come up with was
> 
>  iptables -I fw-net -p tcp -m multiport \
>                         --dports http,https -j ACCEPT > /dev/null 2>&1
> 
> now with the availability of shorewall open I could use
> 
> shorewall open fw net tcp http
> shorewall open fw net tcp https
> 
> Is it possible to specify multiple destination ports as
> 
> shorewall open fw net tcp http,https
> or even
> shorewall open fw net WEB

"shorewall open fw net tcp http,https" works.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to