Port Forward/Rules to access web apps
-
So I have on a ESXi server multiple VMs connected via a LAN to a VM running pfSense, which in turn is connected to the WAN (company network).
I was able to establish RDP connection between a computer in the company network and the VMs behind pfSense by creating NAT/Port Forward rules,. Now I am now puzzling to get access to web apps deployed by one of these VMs.
Basically I use one VM to deploy R Shiny web apps on ports 1000-1010. If this VM would have been directly connected to the WAN network, one could simply access the web apps by surfing e.g. WAN-IP:1001 or WAN-IP:1010
Since this VM is behind pfSense, how do I set rules so that if someone surfs WAN-IP:1000 gets redirected to the VM that is deploying the apps? -
@pisistrato same way you port forwarded your remote desktop port.
https://docs.netgate.com/pfsense/en/latest/nat/port-forwards.html
-
@johnpoz Right, the first time did not work, that is why I asked. I guess I needed to reboot first. Now works perfectly!
-
@pisistrato said in Port Forward/Rules to access web apps:
I guess I needed to reboot first
No you would not need to reboot.