Just finished installing ISPConfig. tried to open port 81 for
https://host.domain.tld:81 and no dice. nmap -p81 127.0.0.1 shows closed as does nmap -p81 <public IP>. do i need to do something more than just
/etc/init.d/iptables restart after modifying the config file??
tried to copy the line in iptables for ssh, and that didnt work. googled for another possible entry. the line in /etc/sysconfig/iptables right now is:
-A RH-Firewall-1-INPUT -p tcp -i eth0 --dport 81 --sport 1024:65535 -m state --state NEW -j ACCEPT
the last ACCEPT line seems to be just slightly more detailed in that it specifies src ports? i couldnt care less about src port. eventually i would like restrict access to port 81 to a couple public IP addresses, but for now i just need to get the port open!
iptables -L shows:
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
LOG all -- anywhere anywhere LOG level warning
Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
LOG all -- anywhere anywhere LOG level warning
Chain RH-Firewall-1-INPUT (1 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
ACCEPT tcp -- anywhere anywhere tcp spts:1024:65535 dpt:hosts2-ns state NEW
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
thanks in advance!