On Sat, May 16, 2020 at 03:27:07PM -0400, merlinverde...@infomed.sld.cu wrote:
> 
> Then,  why appear this(sudo lsof -nP -iTCP -sTCP:LISTEN)
> 
> sshd       2275            root    3u  IPv4  24181      0t0  TCP *:22 (LISTEN)

Shorewall controls the iptables layer, not which applications are listening.

Check iptables -L -v -n

> > On 5/16/2020 7:53 PM, merlinverde...@infomed.sld.cu wrote:
> > > Would this rule ensure that only port 80 can be used with tcp?
> > > 
> > > ACCEPT all $FW tcp www
> > > 
> > 
> > All inbound connections to the firewall on port(80) http will be
> > accepted from anywhere.
> > 
> > --
> Would this rule ensure that only port 80 can be used with tcp?
> 
> ACCEPT all $FW tcp www
> 
> Policy file is:
> 
> #SOURCE DEST            POLICY          LOGLEVEL        RATE    CONNLIMIT
> $FW     net             ACCEPT
> net     all             DROP            info
> 
> all     all             DROP            info


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

Reply via email to