1
17.1 Legacy Series / [SOLVED] OPNsense in VM cannot portforward webserver on VM-host through router
« on: February 22, 2017, 09:11:42 pm »
Hi guys,
I have already posted this in the German forum, but I hope that I can reach even more people here:
I have spent hours and hours with trial, error and research, but to no avail.
My AV-FritzBox router (192.168.0.251) serves as gateway for my OPNsense VM (Virtualbox).
OPNsense has WAN-IP 192.168.0.5 (static) and LAN-IP 192.168.1.1 (static).
I have opened port 80 WAN-IP 192.168.0.5 in my router.
Portforwarding the webinterface of OPNsense (just for testing purposes!) through IP 127.0.0.1 or 192.168.0.5 or 192.168.1.1 on my router is working just fine.
But I cannot seem to get my webserver (which is also the host of the OPNsense VM!) with IP 192.168.0.101 eth0 and 192.168.1.101 ens3 to portforward port 80, 443 and 21 through my router.
What am I missing here?
Any hint is very much appreciated!
Thanks in advance
Boogieman
(German thread: https://forum.opnsense.org/index.php?topic=4610.0)
I have already posted this in the German forum, but I hope that I can reach even more people here:
I have spent hours and hours with trial, error and research, but to no avail.
My AV-FritzBox router (192.168.0.251) serves as gateway for my OPNsense VM (Virtualbox).
OPNsense has WAN-IP 192.168.0.5 (static) and LAN-IP 192.168.1.1 (static).
I have opened port 80 WAN-IP 192.168.0.5 in my router.
Portforwarding the webinterface of OPNsense (just for testing purposes!) through IP 127.0.0.1 or 192.168.0.5 or 192.168.1.1 on my router is working just fine.
But I cannot seem to get my webserver (which is also the host of the OPNsense VM!) with IP 192.168.0.101 eth0 and 192.168.1.101 ens3 to portforward port 80, 443 and 21 through my router.
What am I missing here?
Any hint is very much appreciated!
Thanks in advance
Boogieman
(German thread: https://forum.opnsense.org/index.php?topic=4610.0)