Anything special to Port Forward to a VM?

AndyInNYC

New Member
May 26, 2024
6
0
1
I have a proxmox with VMs and I can't seem to get port forwards to work.

I have forwarded the port on my router to the VM IP and in ufw opened the port. The outside world doesn't see the port as open.

Do I need to change any settings on the Proxmox IP/interface to allow the VMs (which have their own DHCP address) to be 'seen' from outside the network?


Andrew
 
The VM is on 192.168.40.60 - same as my router (.1). the proxmox is set to a fixed ip of .31
My Menu on the left has Datacenter => pve => 102 (my VM)

At the Datacenter, the Firewall = No, ebtables = Yes, Input Policy = DROP, Output Policy = ACCEPT, Forward Policy = ACCEPT
At the pve, Firewall = Yes, SMURFS filter = Yes, TCP flags filter = No, NDP = Yes
At the VM (102), Firewall = No, DHCP = Yes, NDP = Yes, Input Policy = DROP, Output Policy = ACCEPT

(Thanks for the help).

Andrew
 
Do I need to change any settings on the Proxmox IP/interface to allow the VMs (which have their own DHCP address) to be 'seen' from outside the network?
no, as PVE Firewall is not Enabled at Datacenter level neither at VM level.

Double check your port forwarding on the router.
what port do you forward ?
To dig out, try TEMPORARY forward tcp port 8006 to PVE ip to exclude VM context.