Windows VPN client connect on different port

47,205

Solution 1

Basically no, you can't change it. The TCP port is only used to setup the initial connection. All traffic is sent over GRE, not TCP. I highly recommend requiring client certificates. PPTP as a protocol is plenty secure when you pair it with client certs, no need to upgrade to something like SSL VPN.

See this question from the other day for links on how to setup this up.

Solution 2

Been there! you cannot do it, give up now.

Upgrade to windows server 2008 & use a SSL VPN

Solution 3

The only way to do this with a PAT firewall is to bind another IP address to the external interface of your firewall. Use this second IP to forward TCP 1723 to your second Win2K3 box.

Share:
47,205

Related videos on Youtube

John Gardeniers
Author by

John Gardeniers

A system administrator migrating from Windows to Linux (but who prefers to use a Mac).

Updated on September 17, 2022

Comments

  • John Gardeniers
    John Gardeniers over 1 year

    Scenario: Two Windows Server 2003 machines running RRAS VPNs. The firewall port forwards 1723 to one of those machines for normal remote access. I'd like to find a way to connect to the second machine as well. Not because I need to but just because it's the sort of thing I reckon should be possible but can't figure out how to do.

    Is it possible to have the Windows PPTP VPN client (on XP in this instance) connect on a port other than 1723? If so, I can simply port forward another port to the second server. I've done a fair bit of Googling over the last few days and have only found others asking the same question but no answers.

    I have of course tried to add a port number in the host name or IP connection box, in various formats, but to no avail. While this might be possible with a third part client I'm really only interested in whether or not it can be done with the Windows built-in client and if so how?. Perhaps there's a registry hack I'm not aware of?

    • Zoredache
      Zoredache about 14 years
      Is using an alternate VPN technology (OpenVPN) an option? OpenVPN uses a single UDP port by default and you can easily change it to any port you like.
    • John Gardeniers
      John Gardeniers about 14 years
      If this is something I NEEDED an alternative option would certainly be considered but in this case I'm really just interested in whether or not it's possible just using the Windows client.
    • Admin
      Admin about 9 years
      did yo ever find a solution to this? I need it for internet reply in censored countries. there are people who provide working PPTP Service but my Windows 2012 PPTP gets connected but they cannot get to any sites afterward. I have L2TP and SSTP with softether but they are blocked too since they blocked these generic VPN connections. I wonder how some are providing fast PPTP connections there. let me know if you found a wy to change the GRE or TCP port thanx
  • TomTom
    TomTom about 14 years
    And how would that work? Seriously. GRE is a generic wrapper around an IP packet. It is not always clar from the context where to route. Imagine the client is connected to BOTH PPTP links... what you do then? This basically is beyond the specifications of PPTP, and thus not supported.
  • John Gardeniers
    John Gardeniers about 14 years
    Good points but I think we're getting away from the question a bit, which is really just about whether or not the Windows built-in VPN client can be made to connect using a different port. If that's not possible then the rest is pretty much academic.
  • TomTom
    TomTom about 14 years
    Actually no. PPTP can not handle it to start with - so per definition the client can not do it. PPTP is not able to handle multiple server processes behind one IP address by the setup of the GRE packets, IMHO. Besides that, no - the client can not.
  • Hassan Faghihi
    Hassan Faghihi about 6 years
    My country ISP recently jam whole network due to filtering of another application, though they were unsuccessful by far, still they blocking things... and mostly VPN cause they can be used as an anti-proxy material... I look for a way to do it by customizing port number or even protocols,.. by know i config PPTP and L2TP with shared key, none worked, and for other i'm not sure how to config