Installed luci and luci-ssl but not reachable

When I go to http://192.168.1.1 I get a

This site can’t be reached
http://192.168.1.1/ is unreachable.
ERR_ADDRESS_UNREACHABLE

My version is:
OpenWrt 24.10.0-rc5, r28304-6dacba30a7

Some troubleshooting:

root@OpenWrt:~# netstat -na | grep 80
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN 
root@OpenWrt:~# netstat -na | grep 443
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      
tcp        0      0 :::443                  :::*                    LISTEN
root@OpenWrt:~# ps w | grep nginx
 2354 root      8484 S    nginx: master process /usr/sbin/nginx -c /etc/nginx/uci.conf -g daemon off;
 2455 root      8716 S    nginx: worker process
 2456 root      8716 S    nginx: worker process
 2457 root      8716 S    nginx: worker process
 2458 root      8716 S    nginx: worker process
 3938 root      1336 S    grep nginx

Nmap scan:

Nmap scan report for 192.168.1.1
Host is up (0.0013s latency).
Not shown: 996 closed tcp ports (conn-refused)
PORT    STATE SERVICE
22/tcp  open  ssh
53/tcp  open  domain
80/tcp  open  http
443/tcp open  https
MAC Address: D8:EC:5E:8F:03:15 (Belkin International)

I've added http and https firewall rules:

config	rule
	option	target		'ACCEPT'
	option	src		'lan'
	option	family		'ipv4'
	option	proto		'tcp'
	option	src_ip		'192.168.1.0/24'
	option	dest_port	'80'
	option	name		'ACCEPT-HTTP'
	option	enabled		'1'

config  rule                                       
        option  target          'ACCEPT'           
        option  src             'lan'                 
        option  family          'ipv4'              
        option  proto           'tcp'                  
        option  src_ip          '192.168.1.0/24'
        option  dest_port       '443'         
        option  name            'ACCEPT-HTTPS'
        option  enabled         '1'

Tried to restart processes and reboot device but nothing, any ideas?

It seemed a browser thing a wget from cmd line without checking the certificate worked:

wget --no-check-certificate 192.168.1.1 
--2025-01-18 13:11:31--  http://192.168.1.1/
Connecting to 192.168.1.1:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://192.168.1.1/ [following]
--2025-01-18 13:11:31--  https://192.168.1.1/
Connecting to 192.168.1.1:443... connected.
WARNING: cannot verify 192.168.1.1's certificate, issued by ‘O=OpenWrt4A4E279BC0CA05A4,CN=OpenWrt,L=None,ST=Somewhere,C=ZZ’:
  Self-signed certificate encountered.
    WARNING: certificate common name ‘OpenWrt’ doesn't match requested host name ‘192.168.1.1’.
HTTP request sent, awaiting response... 200 OK
Length: 664 [text/html]
Saving to: ‘index.html.1’

index.html.1                                             100%[===============================================================================================================================>]     664  --.-KB/s    in 0s      

2025-01-18 13:11:31 (70.4 MB/s) - ‘index.html.1’ saved [664/664]

Firefox and Chrome same issue but Safari worked

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.