I have some Windows 7 clients that connect via PPTP to a CentOS server, but I would like them to use a port other than 1723 for the control connection as that port is not available.
Is there some way to do that? Possibly by altering routing / firewall rules of the client & server?
So i have not had the opportunity to try it, but would something this work?
iptables -t nat -A PREROUTING -p tcp --dport [port i can use] -j DNAT --to-destination 127.0.0.1:1723
I still have nothing for the windows side of it.
So i tested the thing harry suggested, in combination with the iptables rule..
When changing the registry value and restarting, i can no-longer connect to regular pptp servers, so i would assume that it is altering the port but i have no way to know for sure, because when i'm using the modified registry value in conjunction with the iptables rule the connection just times out, or says "busy"..
So basically i have no idea how to test and debug the connection. I might try setting up a linux host on a VM and see if i can play around with doing it just on my local machine before upgrading to the larger scope.