
Parece que no especifica explícitamente que no se permite acceder al puerto 7777 desde el exterior, pero el problema es que puedo visitar este host a través de https://...:7777 solo cuando cierro el servicio iptables.
Entonces mi pregunta es: ¿qué regla del siguiente conjunto de reglas simplemente me prohíbe acceder a mi host usando https://...:7777?
iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT esp -- anywhere anywhere
ACCEPT ah -- anywhere anywhere
ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns
ACCEPT udp -- anywhere anywhere udp dpt:ipp
ACCEPT tcp -- anywhere anywhere tcp dpt:ipp
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Respuesta1
Tienes una regla de RECHAZO al final de tu cadena de ENTRADA:
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited