I can't access web admin panel through the WAN
Hi,
I assigned router statuc public IP and changed default http server ports. Also, I temporarly allowed remote management from all ip addresses. I didn't setup any any ACLs or tuned other security settings.
Yet I can't connect to the web admin from the Internet.
curl -v http://xxx.xxx.xxx.xxx:yyyy
* Trying xxx.xxx.xxx.xxx:yyyy...
* connect to xxx.xxx.xxx.xxx port yyyy failed: Connection refused
* Failed to connect to xxx.xxx.xxx.xxx port yyyy: Connection refused
* Closing connection 0
curl: (7) Failed to connect to xxx.xxx.xxx.xxx port yyyy: Connection refusedcurl -v http://xxx.xxx.xxx.xxx:yyyy
* Trying xxx.xxx.xxx.xxx:yyyy...
* connect to xxx.xxx.xxx.xxx port yyyy failed: Connection refused
* Failed to connect to xxx.xxx.xxx.xxx port yyyy: Connection refused
* Closing connection 0
curl: (7) Failed to connect to xxx.xxx.xxx.xxx port yyyy: Connection refused
but I can ssh into a server behind the gateway usingthe Port Forwarding feature
ssh -v -p yyyy xxx.xxx.xxx.xxx
OpenSSH_8.4p1 Debian-5+deb11u4, OpenSSL 1.1.1w 11 Sep 2023
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to xxx.xxx.xxx.xxx [xxx.xxx.xxx.xxx] port yyyy.
debug1: Connection established.ssh -v -p yyyy xxx.xxx.xxx.xxx
OpenSSH_8.4p1 Debian-5+deb11u4, OpenSSL 1.1.1w 11 Sep 2023
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to xxx.xxx.xxx.xxx [xxx.xxx.xxx.xxx] port yyyy.
debug1: Connection established.
so at least the IP address is right and the gateway can accept incoming traffic from the Internet.
What am I missing?