Need some help, pls. Setup is a Fritz Box from Unitymedia which provides a static IP and wired to that a Linksys Router (OpenWrt Chaos Calmer 15.05.1). I can reach the internet fine, whatsmyip shows the static IP. Interfaces - WAN:
So far so good. But unfortunately I'm unable to reach any service behind my Linksys Router. My last ISP set me up with a modem that could be put into bridge mode, no static IP though. I had no trouble accessing i.e. my DiskStation through the corresponding ports.
What do I need to change to reach my intranet services via the static IP? Thanks!
Add port opening for SSH/HTTP/HTTPS on OpenWrt in firewall WAN-zone.
Check your public IP with some port-scanner service from the internet.
Better if it supports service fingerprint detection.
You should see something like this:
# nmap -sV -p22,80,443 localhost
Starting Nmap 7.70 ( https://nmap.org ) at 2018-10-12 12:24 MSK
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00011s latency).
Other addresses for localhost (not scanned): ::1
PORT STATE SERVICE VERSION
22/tcp open ssh Dropbear sshd (protocol 2.0)
80/tcp open http LuCI Lua http config
443/tcp open ssl/http LuCI Lua http config
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 12.57 seconds
You were absolutely right, the Fritz Box was the culprit. I was giving up on the whole static IP setup but in the end Unitymedia Helpdesk walked me through a seemingly arbitrary ritual of resetting and rebooting the Box. It resulted in the Fritz Box assigning the static IP to my router which is now reachable as an exposed host.
Didn’t change OpenWrt’s setup, port forwarding is working fine (again).