I have Windows 10 host machine running VirtualBox with an Ubuntu guest having a bridge adapter @ 192.168.1.5. Also, I am running a docker container in Ubuntu with ports bound to port 8080. I can hit the 192.168.1.5:8080 just fine from within my network (e.g. from my mobile and desktop host).
However, I cannot get port forwarding on my mi424wr router to forward to the ubuntu guest @ 192.168.1.5. I can get port forwarding to work against my Windows 10 machine.
Could there be something that my router doesn't like about the ubuntu guest vm?
Edited: Here are the entries in the router security log when I try from my external ip address:
Port forward rule: 56123 -> 192.168.1.5:8080
- Connection Opened: TCP 192.168.1.5:8080 <-->myIp:56123 [74.96.218.140:1024] CLOSED/CLOSED local_dev NAPT Incoming STATIC UNINIT UNSECURED
- Connection opened: TCP 192.168.1.5:8080 <-->myIp:56123 [myIp:1025] CLOSED/CLOSED local_dev NAPT Incoming STATIC UNINIT UNSECURED
- Wildcard connection hooked: TCP 192.168.1.5:8080 <-->myIp:56123 [myIp:1024] CLOSED/SYN_SENT local_dev NAPT Incoming STATIC BNAPT UNSECURED
- Wildcard connection hooked: TCP 192.168.1.5:8080 <-->myIp:56123 [myIp:1025] CLOSED/SYN_SENT local_dev NAPT Incoming STATIC BNAPT UNSECURED
- Connection Opened : TCP 192.168.1.5:8080 <-->myIp:56123 [74.96.218.140:1026] CLOSED/CLOSED local_dev NAPT Incoming STATIC UNINIT UNSECURED
- Connection Opened: TCP 192.168.1.5:8080 <-->myIp:56123 [myIp:1026] CLOSED/CLOSED local_dev NAPT Incoming STATIC UNINIT UNSECURED
- Wildcard connection hooked: TCP 192.168.1.5:8080 <-->myIp:56123 [myIp:1026] CLOSED/SYN_SENT local_dev NAPT Incoming STATIC BNAPT UNSECURED
my actual ip address was replaced with "myIp"
Also, I have tested with a http-server npm package hosting a static file. It works from within my LAN, but port forwarding fails also which should negate Docker as the culprit.