Greg Wooledge <g...@wooledge.org> wrote: > On Tue, Apr 01, 2025 at 17:52:55 -0700, Van Snyder wrote: > > The server is on the LAN side of the router (192.168.1.65). It's > > not in the DMZ. My server isn't running Apache ACLs or iptables or > > TCP wrapper. The router is running a firewall. I've forwarded > > WAN-side ports 23, 80 and 443 to my server, and another non-22 > > WAN-side port to port 22 on my server. > > > > I can view pages from my server on itself or other computers in my > > house using 192.168.1.65 (the LAN side of the router), but not > > 47.229.8.99 (the WAN side of the router). > > OK, so just to be clear: > > 1) Your internal computer is running a web server on ports 80 and 443. > 2) Your internal computer's IP address is 192.168.1.65. > 3) Your router's external IP address is 47.229.8.99. > 4) You've told your router to forward port 80 to 192.168.1.65 port 80. > > > Maybe my server isn't listening for telnet. I installed telnet and > > telnetd, but "systemctl start telnetd" said there's no such thing. > > DO NOT install telnetd!! > > OK, with that out of the way: > > hobbit:~$ telnet 47.229.8.99 80 > Trying 47.229.8.99... > telnet: Unable to connect to remote host: No route to host > > I cannot reach your router's external IP address from here. You'll > want to verify that this is the correct IP adderss, and if it is, > figure out why it can't be routed-to from the outside world. >
$ telnet 47.229.8.99 80 Trying 47.229.8.99... Connected to 47.229.8.99. Escape character is '^]'. GET index.html HTTP/1.1 400 Bad Request Date: Wed, 02 Apr 2025 10:00:16 GMT Server: Apache/2.4.62 (Debian) Content-Length: 304 Connection: close Content-Type: text/html; charset=iso-8859-1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>400 Bad Request</title> </head><body> <h1>Bad Request</h1> <p>Your browser sent a request that this server could not understand.<br /> </p> <hr> <address>Apache/2.4.62 (Debian) Server at blue.vsnyder Port 80</address> </body></html> Connection closed by foreign host. dhoworth@acer-suse:~/finance/ripple$ ping 47.229.8.99 PING 47.229.8.99 (47.229.8.99) 56(84) bytes of data. ^C --- 47.229.8.99 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2042ms