I have a Proxmox VE8 virtualisation system with several VM's and Containers. I am really happy with everything, loving learning docker but it would be very helpful to be able to externally connect to a Windows 10 Pro VM I use.
I am able to connect using RDP to the Windows 10 VM (192.168.0.251/24) from another windows machine on the same network.
I have disabled the firewall on the W10 VM for the purpose of testing.
Port forwarding is set up on the router and and works fine with a physical machine (192.168.0.222/24) But I am unable to get to the VM.
I figure it must be something to do with a firewall on the Proxmox Server (192.168.0.244/24)
This is what I have for my interfaces file
It is probably wrong but it's my best attempt at pushing my knowledge.
Where am I going wrong?
Thanks very much!
I am able to connect using RDP to the Windows 10 VM (192.168.0.251/24) from another windows machine on the same network.
I have disabled the firewall on the W10 VM for the purpose of testing.
Port forwarding is set up on the router and and works fine with a physical machine (192.168.0.222/24) But I am unable to get to the VM.
I figure it must be something to do with a firewall on the Proxmox Server (192.168.0.244/24)
This is what I have for my interfaces file
Code:
o lo
iface lo inet loopback
auto enp6s0
iface enp6s0 inet manual
iface enp5s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.0.244/24
gateway 192.168.0.1
bridge-ports enp6s0
bridge-stp off
bridge-fd 0
post-up iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o vmbr0 -j SNAT --to-source 192.168.0.244
post-up iptables -t nat -A PREROUTING -d 192.168.0.244/24 -i vmbr0 -p tcp -m tcp --sport 1024:65535 --dport 3389 --tcp-flags FIN,SYN,RST,ACK SYN -m state --state NEW -j DNAT --to-destination 192.168.0.251:3389
It is probably wrong but it's my best attempt at pushing my knowledge.
Where am I going wrong?
Thanks very much!