OK, thanks
Justin Pryzby <pry...@telsasoft.com> escribió:

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




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



--
Este mensaje le ha llegado mediante el servicio de correo electronico que 
ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema 
Nacional de Salud. La persona que envia este correo asume el compromiso de usar 
el servicio a tales fines y cumplir con las regulaciones establecidas

Infomed: http://www.sld.cu/



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

Reply via email to