0

I'm trying to set PPTP connection on Ubuntu's own network manager widget.

Whe I set the IP address of the server with port number (Like, xxx.xxx.xxx.xxx:port) and try to initiate vpn connection, I'm getting VPN connection 'VPN connection 1' failed to connect: 'invalid gateway 'gateway'' error.

How can I set the port of the remote VPN server port number on network manager?

enter image description here

  • What's under "Advanced..."? – TheWanderer Aug 16 '16 at 12:18
  • @Zacharee1 no separate port or address setting under Advanced tab. I did double check. – Sencer H. Aug 16 '16 at 12:24
  • 1
    I googled this a little, and depending on the PPTP server, it might not be possible to change the port. At least in poptop (the pptpd server on some distros), the port number is hard-coded and not able to be changed or defined without a source code recompile; with that in mind, it may be that clients were never configured to permit multiple ports. (on ServerFault: "change default PPTP TCP port", which asks for Debian, which Ubuntu is based off of) – Thomas Ward Aug 16 '16 at 12:26
  • @ThomasWard Actually I'm trying to setup for connection to SonicWall without NetExtender Client because of it's inabilities. I try to connect with PPTP because of NetExtender link looks like ppp0 Link encap:Point-to-Point Protocol but the server is working on different port. If it is actually not a PPTP connection than what should I have to use? – Sencer H. Aug 16 '16 at 12:30
  • 1
    @SencerH. I can't give guidance on NetExtender or SonicWall, but as the Network Manager has to utilize existing pptp client functions, it's limited by the underlying pptp client on Ubuntu and its related libraries, which seem to have the same limitation as poptop and doesn't permit port specification (which would explain the current situation). That said, given PPTP is still ancient and extremely low on the security scale, I would suggest using a different VPN technology if possible. – Thomas Ward Aug 16 '16 at 12:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.