Hi I am trying to connect to VPN inside a proxmox and wounder how to connect to my VPN. I have a Windows server VM inside Proxmox with ip like 172.16.16.16, and on this machine I have a VPN installed listenning on port 1723. So I want to forward all my external traffic, external pepole who want to connect ot the vpn, to 172.16.16.16:1723. Would this IP tables do the work
My idea is to connect to the VPN from a virtual Windows 7 inside VMPlayer, but I am woundering if it is at all possible to join Windows 7 to a domain, like the VPN? But first the port forwarding
Code:
iptables -t nat -A PREROUTING -p tcp -d 44.44.44.44 --dport 422 -j DNAT --to 172.16.16.16:1723
iptables -A INPUT -i eth0 -p tcp --dport 422 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -o eth0 -p tcp --sport 422 -m state --state ESTABLISHED -j ACCEPT
My idea is to connect to the VPN from a virtual Windows 7 inside VMPlayer, but I am woundering if it is at all possible to join Windows 7 to a domain, like the VPN? But first the port forwarding