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!
Not the same IP. The static IP is provided by the ISP. Linksys is on 192.168.1.1
Would have liked to post more screenshots but my "level" doesn't seem to permit it (yet?).
I really don’t know where the problem lies. The ISP helpdesk (Unitymedia) told me port forwarding needs to happen on the router. So I assumed the Fritz Box doesn’t need any further configuration.
Nevertheless I tried forwarding from the Fritz Box to the Router but that didn’t solve the issue. Didn’t change the port forwarding in the router that used to work with the modem in bridge mode.
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
The IP checks out fine. All ports show as closed when I scan for them, any idea why? See above the screenshot of my "Firewall - Port Forwards" settings.
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).