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

Or is it simpler to just use

iptables -I dynamic -p tcp -m multiport \
                --dports http,https -j ACCEPT > /dev/null 2>&1

Thanks a lot

Erich

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

Reply via email to