I recently reinstalled OpenWRT after I mistook a bug with cookies that caused a logon loop, for a forced entry into my router.
Model TP-Link TL-WR841N/ND v8
Firmware Version OpenWrt Chaos Calmer 15.05.1 / LuCI 15.05-149-g0d8bbd2 Release (git-15.363.78009-956be55)
Seemingly as a result, I cannot now access a machine in my LAN from the WAN. I CAN access the same machine from the same laptop, when it's on my LAN (it's set-up with the target machine's ssh cert, so logs straight in) but it times out when I try to access it from outside my LAN.
My Open WRT port forward:
From any host in wan
Via any router IP at port xxxx
IP 192.168.7.7, port 22 in lan
To test external access I ssh'd into an Ubuntu virtual server at work, via work's VPN and from there ssh'd back to my home desktop machine, using external port xxxx, which failed/timed out. I used
ssh -l user -p xxxx mys.tat.ici.p <= (my static IP)
As well as setting up a port forward, do I need a firewall rule for ssh? How would this look, given that I want to have a different external port for each of my machines and use port forwarding rules to resolve these to a machine's IP on port 22?
Something I know nothing about but which gets mentioned elsewhere is NAT - is this relevant and what should I check if it is?