Hello guys, I have a proxmox with virutal windows servers on a company network. On one of the Windows VMs I have installed VPN. I would like to connect from a virtual client to the subnet of the Windows Server. The windows server is listenting on port 1723. I would like to forward all the traffic that comes on port 1723 in Proxmox to the Windows VMs, which is inside the proxmox and has an internal ip like 172.16.16.2:1723. I have the following IP table, but it does not seem to work.
VPN works properly, from a machine inside the network I can connect wothout any problems. And from the client with the VMware I can ping the proxmox. What am I missing?
Code:
iptables -t nat -A PREROUTING -p tcp --dport xx.xxx.xx.xx:1723 -j DNAT --to destination 172.16.16.2:1723
Last edited: