Skip navigation

VPN on OSX server

721 Views 2 Replies Latest reply: Jun 17, 2013 1:16 PM by Linc Davis RSS
richardalistair Calculating status...
Currently Being Moderated
Jun 17, 2013 9:02 AM

I want to configure VPN on OSX server so I can access my server remotely. I understand I have to open up the VPN ports on my router. I have contacted BT about this (it is a BT router) and they need to know the port numbers used by VPN to unlock them. Can

os x server, OS X Mountain Lion (10.8.4)
  • Strontium90 Level 4 Level 4 (2,895 points)
    Currently Being Moderated
    Jun 17, 2013 10:55 AM (in response to richardalistair)

    See here:


    OS X Server supports two VPN types.   PPTP and L2TP.  See the list for the associated ports.  Please note the type or protocol required on the port.  PPTP uses TCP and L2TP uses UDP.  You only need to open the ports for the one you want to use.

  • Linc Davis Level 10 Level 10 (107,650 points)
    Currently Being Moderated
    Jun 17, 2013 1:16 PM (in response to richardalistair)

    To run a public VPN server, you need to do the following:

    1. Give the gateway either a static external address or a dynamic DNS name. In the latter case, you must run a background process to keep the DNS record up to date when your IP address changes.

    2. Give the VPN server a static address on the local network.

    3. Forward external UDP ports 500, 1701, and 4500 (for L2TP) and TCP port 1723 (for PPTP) to the corresponding ports on the VPN server.

    4. Configure any firewall in use to pass this traffic.


More Like This

  • Retrieving data ...

Bookmarked By (0)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.