Page 1 of 1

Unable to connect to 80/443 from outside network

Posted: 2018/07/12 01:11:08
by Eniax
This may be due to another issue in the supply chain, but I'm hoping to rule out my CentOS config here.

I've got CentOS 7 with apache configure and installed properly, and am able to connect to my website via IP within the network (or via VPN).

firewall-cmd is configured to the public (default) domain and is on the proper network interface.

firewall-cmd also has http/https services (but not the ports as i understand this is redundant. enabling ports didn't change it anyway) enabled in the permanent configuration. masquerading is enabled so that the VPN can work.

Code: Select all

  public (active)
  target: default
  icmp-block-inversion: no
  interfaces: enp0s25
  sources: 
  services: ssh dhcpv6-client http https openvpn nfs mountd rpc-bind mysql
  ports: 3306/tcp
  protocols: 
  masquerade: yes
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 
I've got goDaddy successfully pointing to the public IP, but still it times out. Router has 80 and 443 forwarded to the proper IP.

What am I missing?

Re: Unable to connect to 80/443 from outside network

Posted: 2018/07/12 01:50:58
by TrevorH
If you are on a domestic connection then many ISPs block server ports like 80/443 before traffic hits your connection. The other possibility is that you haven't forwarded the ports on correctly from your router.

Re: Unable to connect to 80/443 from outside network

Posted: 2018/07/12 16:48:56
by hunter86_bg
Doesn't 'mysql' service include '3306/tcp' ?