Forum Discussion

ExquisiteToast's avatar
ExquisiteToast
Helpful Neighbour
5 years ago
Solved

Cant Connect to Any Service via WAN but Can Connect Via LAN

I set up an Apache server and it is working fine if I connect from LAN, but if I try connecting from my domain name (I'm using Freenom for the domain name) or WAN IP it just times out. Same thing with Minecraft servers, Terraria servers, FTP and SSH.

  • Nighthawk's avatar
    Nighthawk
    5 years ago

    If the two IPs match then you have a public IP. No need to bother tech support for that now. As I mentioned in my first reply to you, you will not be able to connect to your WAN/modem IP or domain from a device on your local network to test the connection. You'll need to either be on a VPN, cellular, or another internet connection. Easiest to test would be the webserver.

     

    First ensure the computer hosting the server has a reserved IP. (Telus router > Advanced Setup > DHCP Reservation)

    Then go under Firewall > Port Forwarding and start forwarding everything to that device.

     

    I have found some ports when forwarded just don't seem to be accessible from an outside connection. 80 works. One of the three ports associated with Team Speak won't open/forward properly. Telus does have a very small number of ports blocked including FTP (21). Those blocks shouldn't affect the majority of apps. I've been using https://portchecker.co/ test if the ports are showing as open for my connection. The server has to be running before the port will show as open on that site.

16 Replies

Replies have been turned off for this discussion
  • ExquisiteToast's avatar
    ExquisiteToast
    Helpful Neighbour

    Just a tip if anyone else would like to have access to their WAN IP when you're on the same network. Get a domain (freenom is a free domain name provider) and use cloudflare with it. Cloudflare will proxy the connection through other servers which will let you access the domain from your own network.

  • Can you ping your WAN IP?

     

    Is your WAN IP address a "private ip address" ? If it is, it could be behind a carrier grade NAT, which can block port forwarding.

  • Nighthawk's avatar
    Nighthawk
    Icon for Community Power User rankCommunity Power User

    If you have another device at home, run it on cellular or a VPN to test the domain. You will NOT be able to connect to your own IP from your home connection directly. 

    • ExquisiteToast's avatar
      ExquisiteToast
      Helpful Neighbour

      I used a VPN and tried connecting to the web server running on my server (I disabled the Ubuntu firewall for the test) and it still timed out. I can't check cellular at the moment but it'll probably be the same.