Access from wan to lan where is a proxmox server
-
Who can help me.
I have an intel nuc running proxmox. This is in the lan of pfsense. I can access it there.Now I want to be able to access proxmox from the wan side as well.
proxmox works with port 8006 e.g. https://10.10.10.100:8006
from the wan side it is accessed with an ip address in the range 192.168.178
How do I set the correct rule in the firewall?
-
@bvohwk
I assume, you have a single WAN IP on pfSense and want to pass access to Proxmox through.
So simply add a NAT port forwarding rule to WAN. State the WAN address as destination and 8006 as port. At redirect target enter 10.10.10.100 and port 8006.
Let pfSense create an associated filter rule.Additionally you need to disable "Block private networks" in the WAN interface settings to allow access from the WAN net.
You can also assign an additional virtual IP (Firewall > virtual IPs, type = IP alias) to the WAN for this purpose if you want.
However, if your WAN is exposed to the internet, I recommend to use a VPN to access Proxmox instead.