Ports For Vpn Mac



If you are looking for low prices products, find in our store. I am using a Mac mini OS X Mountain Lion Server (10.8.5). My goal is to have the server's own VPN service running over L2TP only. The Mac mini is behind an AirPort Extreme (4th generation) AirPort Extreme has: static IPv4 address. No connection sharing (bridged mode) Back To My Mac disabled (as for all the Macs and AirPorts on the network).

Table of contents
  1. 1.1. Initial configurations (only once at the first time)
  2. 2.2. Start a VPN connection
  3. 3.3. Enjoy VPN communication

Here is an instruction how to connect to a VPN Gate Public VPN Relay Server by using L2TP/IPsec VPN Client which is built-in on Mac OS X.

On this instruction, every screen-shots are taken on Mac OS X Mountain Lion. Other versions of Mac OS X are similar to be configured, however there might be minor different on UIs.

These screen-shots are in English version of Mac OS X. If you use other language, you can still configure it easily by referring the following instructions.

1. Initial configurations (only once at the first time)

Click the network icon on the top-right side on the Mac screen. Click 'Open Network Preferences...' in the menu.

Click the '+' button on the network configuration screen.

Select 'VPN' as 'Interface' , 'L2TP over IPsec' as 'VPN Type' and click the 'Create' button.

A new L2TP VPN configuration will be created, and the configuration screen will appear.

On this screen, you have to specify either hostname or IP address of the destination SoftEther VPN Server.

After you specified the 'Server Address' , input the user-name on the 'Account Name' field, which is the next to the 'Server Address' field.

Next, click the 'Authentication Settings...' button.

The authentication screen will appear. Input your password in the 'Password' field. Specify the pre-shared key also on the 'Shared Secret' field. After you input them, click the 'OK' button.

After return to the previous screen, check the 'Show VPN status in menu bar' and click the 'Advanced...' button.

The advanced settings will be appeared. Check the 'Send all traffic over VPN connection' and click the 'OK' button.

On the VPN connection settings screen, click the 'Connect' button to start the VPN connection.

2. Start a VPN connection

You can start a new VPN connection by clicking the 'Connect' button at any time. You can also initiate a VPN connection by clicking the VPN icon on the menu bar.

After the VPN connection will be established, the VPN connection setting screen will become as below as the 'Status' will be 'Connected' . Your private IP address on the VPN, and connect duration time will be displayed on the screen.

3. Enjoy VPN communication

While VPN is established, all communications will be relayed via the VPN Server. You can access to any local servers and workstation on the destination network.

Network administrators can use this information to make sure that Mac computers and other Apple devices can connect to services such as the App Store and Apple's software-update servers.

Ports for vpn tunnels

Ports used by Apple products

This is a quick-reference guide showing common examples, not a comprehensive list of ports. This guide is updated periodically with information available at the time of publication.

Some software might use different ports and services, so it can be helpful to use port-watching software when deciding how to set up firewalls or similar access-control schemes.

Some services might use more than one of these ports. For example, a VPN service can use up to four different ports. When you find a product in this list, search (Command-F) in your browser for that name, then repeat your search (Command-G) to locate all occurrences of that product.

Some firewalls allow selective configuration of UDP or TCP ports with the same number, so it's important to know the type of port you're configuring. For example, NFS can use TCP 2049, UDP 2049, or both. If your firewall doesn't allow you to specify the type of port, configuring one type of port probably configures the other.

PortTCP or
UDP
Service or
protocol name
1
RFC2Service name3Used by
7TCP/UDPecho792echo
20TCPFile Transport Protocol (FTP)959ftp-data
21TCPFTP control959ftp
22TCPSecure Shell (SSH), SSH File Transfer Protocol (SFTP), and Secure copy (scp)4253sshXcode Server (hosted and remote Git+SSH; remote SVN+SSH)
23TCPTelnet854telnet
25TCPSimple Mail Transfer Protocol (SMTP)5321smtp

Mail (sending email); iCloud Mail (sending email)

53TCP/UDPDomain Name System (DNS)1034domain
67UDPBootstrap Protocol Server (BootP, bootps)951bootpsNetBoot via DHCP
68UDPBootstrap Protocol Client (bootpc)951bootpcNetBoot via DHCP
69UDPTrivial File Transfer Protocol (TFTP)1350tftp
79TCPFinger1288finger
80TCPHypertext Transfer Protocol (HTTP)2616httpWorld Wide Web, FaceTime, iMessage, iCloud, QuickTime Installer, Maps, iTunes U, Apple Music, iTunes Store, Podcasts, Internet Radio, Software Update (OS X Lion or earlier), Mac App Store, RAID Admin, Backup, Calendar, WebDAV, Final Cut Server, AirPlay, macOS Internet Recovery, Profile Manager, Xcode Server (Xcode app, hosted and remote Git HTTP, remote SVN HTTP)
88TCPKerberos4120kerberosKerberos, including Screen Sharing authentication
106TCPPassword Server
(unregistered use)
3com-tsmuxmacOS Server Password Server
110TCPPost Office Protocol (POP3),
Authenticated Post Office Protocol (APOP)
1939pop3Mail (receiving email)
111TCP/UDPRemote Procedure Call (RPC)1057, 1831sunrpcPortmap (sunrpc)
113TCPIdentification Protocol1413ident
119TCPNetwork News Transfer Protocol (NNTP)3977nntpApps that read newsgroups.
123UDPNetwork Time Protocol (NTP)1305ntpDate & Time preferences, network time server synchronization, Apple TV network time server sync
137UDPWindows Internet Naming Service (WINS)netbios-ns
138UDPNETBIOS Datagram Servicenetbios-dgmWindows Datagram Service, Windows Network Neighborhood
139TCPServer Message Block (SMB)netbios-ssnMicrosoft Windows file and print services, such as Windows Sharing in macOS
143TCPInternet Message Access Protocol (IMAP)3501imapMail (receiving email)
161UDPSimple Network Management Protocol (SNMP)1157snmp
192UDPOSU Network Monitoring Systemosu-nmsAirPort Base Station PPP status or discovery (certain configurations), AirPort Admin Utility, AirPort Express Assistant
311TCPSecure server administrationasip-webadminServer app, Server Admin, Workgroup Manager, Server Monitor, Xsan Admin
312TCPXsan administrationvslmpXsan Admin (OS X Mountain Lion v10.8 and later)
389TCPLightweight Directory Access Protocol (LDAP)4511ldapApps that look up addresses, such as Mail and Address Book
427TCP/UDPService Location Protocol (SLP)2608svrlocNetwork Browser
443TCPSecure Sockets Layer (SSL or HTTPS)2818httpsTLS websites, iTunes Store, Software Update (OS X Mountain Lion and later), Spotlight Suggestions, Mac App Store, Maps, FaceTime, Game Center, iCloud authentication and DAV Services (Contacts, Calendars, Bookmarks), iCloud backup and apps (Calendars, Contacts, Find My iPhone, Find My Friends, Mail, iMessage, Documents & Photo Stream), iCloud Key Value Store (KVS), iPhoto Journals, AirPlay, macOS Internet Recovery, Profile Manager, Dictation, Siri, Xcode Server (hosted and remote Git HTTPS, remote SVN HTTPS, Apple Developer registration), Push notifications (if necessary)
445TCPMicrosoft SMB Domain Servermicrosoft-ds
464TCP/UDPkpasswd3244kpasswd
465TCPMessage Submission for Mail (Authenticated SMTP)smtp (legacy)Mail (sending mail)
500UDPISAKMP/IKE2408isakmpmacOS Server VPN service
500UDPWi-Fi Calling5996IKEv2Wi-Fi Calling
514TCPshellshell
514UDPSyslogsyslog
515TCPLine Printer (LPR), Line Printer Daemon (LPD)printerPrinting to a network printer, Printer Sharing in macOS
532TCPnetnewsnetnews
548TCPApple Filing Protocol (AFP) over TCPafpovertcpAppleShare, Personal File Sharing, Apple File Service
554TCP/UDPReal Time Streaming Protocol (RTSP)2326rtspAirPlay, QuickTime Streaming Server (QTSS), streaming media players
587TCPMessage Submission for Mail (Authenticated SMTP)4409submissionMail (sending mail), iCloud Mail (SMTP authentication)
600–1023TCP/UDPMac OS X RPC-based servicesipcserverNetInfo
623UDPLights-Out-Monitoringasf-rmcpLights Out Monitoring (LOM) feature of Intel-based Xserve computers, Server Monitor
625TCPOpen Directory Proxy (ODProxy) (unregistered use)dec_dlmOpen Directory, Server app, Workgroup Manager; Directory Services in OS X Lion or earlier
This port is registered to DEC DLM
626TCPAppleShare Imap Admin (ASIA)asiaIMAP administration (Mac OS X Server v10.2.8 or earlier)
626UDPserialnumberd (unregistered use)asiaServer serial number registration (Xsan, Mac OS X Server v10.3 – v10.6)
631TCPInternet Printing Protocol (IPP)2910ippmacOS Printer Sharing, printing to many common printers
636TCPSecure LDAPldaps
660TCPServer administrationmac-srvr-adminServer administration tools for Mac OS X Server v10.4 or earlier, including AppleShare IP
687TCPServer administrationasipregistryServer administration tools for Mac OS X Server v10.6 or earlier, including AppleShare IP
749TCP/UDPKerberos 5 admin/changepwkerberos-adm
985TCPNetInfo Static Port
993TCPMail IMAP SSLimapsiCloud Mail (SSL IMAP)
995TCP/UDPMail POP SSLpop3s
1085TCP/UDPWebObjectswebobjects
1099, 8043TCPRemote RMI and IIOP Access to JBOSSrmiregistry
1220TCPQT Server Adminqt-serveradminAdministration of QuickTime Streaming Server
1640TCPCertificate Enrollment Servercert-responderProfile Manager in macOS Server 5.2 and earlier
1649TCPIP Failoverkermit
1701UDPL2TPl2fmacOS Server VPN service
1723TCPPPTPpptpmacOS Server VPN service
1900UDPSSDPssdpBonjour
2049TCP/UDPNetwork File System (NFS) (version 3 and 4)3530nfsd
2195TCPApple Push Notification Service (APNS)Push notifications
2196TCPApple Push Notification Service (APNS)Feedback service
2197TCPApple Push Notification Service (APNS)Push notifications
2336TCPMobile account syncappleugcontrolHome directory synchronization
3004TCPiSynccsoftragent
3031TCP/UDPRemote AppleEventseppcProgram Linking, Remote Apple Events
3283TCP/UDPNet Assistantnet-assistantApple Remote Desktop 2.0 or later (Reporting feature), Classroom app (command channel)
3284TCP/UDPNet Assistantnet-assistantClassroom app (document sharing)
3306TCPMySQLmysql
3478–3497UDPnat-stun-port - ipether232portFaceTime, Game Center
3632TCPDistributed compilerdistcc
3659TCP/UDPSimple Authentication and Security Layer (SASL)apple-saslmacOS Server Password Server
3689TCPDigital Audio Access Protocol (DAAP)daapiTunes Music Sharing, AirPlay
3690TCP/UDPSubversionsvnXcode Server (anonymous remote SVN)
4111TCPXGridxgrid
4398UDPGame Center
4488TCPApple Wide Area Connectivity Serviceawacs-ice
4500UDPIPsec NAT Traversal4306ipsec-msftmacOS Server VPN service
4500UDPWi-Fi Calling5996IKEv2Wi-Fi Calling
5003TCPFileMaker - name binding and transportfmpro-internal
5009TCP(unregistered use)winfsAirPort Utility, AirPort Express Assistant
5100TCPsocaliamacOS camera and scanner sharing
5222TCPXMPP (Jabber)3920jabber-clientJabber messages
5223TCPApple Push Notification Service (APNS)iCloud DAV Services (Contacts, Calendars, Bookmarks), Push Notifications, FaceTime, iMessage, Game Center, Photo Stream
5228TCPSpotlight Suggestions, Siri
5297TCPMessages (local traffic)
5350UDPNAT Port Mapping Protocol AnnouncementsBonjour
5351UDPNAT Port Mapping Protocolnat-pmpBonjour
5353UDPMulticast DNS (MDNS)3927mdnsBonjour, AirPlay, Home Sharing, Printer Discovery
5432TCPPostgreSQLpostgresqlCan be enabled manually in OS X Lion Server (previously enabled by default for ARD 2.0 Database)
5897–5898UDP(unregistered use)xrdiags
5900TCPVirtual Network Computing (VNC)
(unregistered use)
vnc-serverApple Remote Desktop 2.0 or later (Observe/Control feature)
Screen Sharing (Mac OS X 10.5 or later)
5988TCPWBEM HTTPwbem-httpApple Remote Desktop 2.x
See also dmtf.org/standards/wbem.
6970–9999UDPQuickTime Streaming Server
7070TCPRTSP (unregistered use), Automatic Router Configuration Protocol (ARCP)arcpQuickTime Streaming Server (RTSP)
7070UDPRTSP alternatearcpQuickTime Streaming Server
8000–8999TCPirdmiWeb service, iTunes Radio streams
8005TCPTomcat remote shutdown
8008TCPiCal servicehttp-altMac OS X Server v10.5 or later
8080TCPAlternate port for Apache web servicehttp-altAlso JBOSS HTTP in Mac OS X Server 10.4 or earlier
8085–8087TCPWiki serviceMac OS X Server v10.5 or later
8088TCPSoftware Update serviceradan-httpMac OS X Server v10.4 or later
8089TCPWeb email rulesMac OS X Server v10.6 or later
8096TCPWeb Password ResetMac OS X Server v10.6.3 or later
8170TCPHTTPS (web service/site)

Podcast Capture/podcast CLI

8171TCPHTTP (web service/site)

Podcast Capture/podcast CLI

8175TCPPcast Tunnelpcastagentd (such as for control operations and camera)
8443TCPiCal service (SSL)pcsync-httpsMac OS X Server v10.5 or later (JBOSS HTTPS in Mac OS X Server 10.4 or earlier)
8800TCPAddress Book servicesunwebadminMac OS X Server v10.6 or later
8843TCPAddress Book service (SSL)Mac OS X Server v10.6 or later
8821, 8826
TCPStoredFinal Cut Server
8891TCPldsdFinal Cut Server (data transfers)
9006TCPTomcat standaloneMac OS X Server v10.6 or earlier
9100TCPPrintingPrinting to certain network printers
9418TCP/UDPgit pack transfergitXcode Server (remote git)
10548TCPApple Document Sharing ServiceserverdocsmacOS Server iOS file sharing
11211memcached (unregistered use)Calendar Server
16080TCPWeb service with performance cache
16384–16403UDPReal-Time Transport Protocol (RTP), Real-Time Control Protocol (RTCP)connected, —Messages (Audio RTP, RTCP; Video RTP, RTCP)
16384–16387UDPReal-Time Transport Protocol (RTP), Real-Time Control Protocol (RTCP)connected, —FaceTime, Game Center
16393–16402UDPReal-Time Transport Protocol (RTP), Real-Time Control Protocol (RTCP)FaceTime, Game Center
16403–16472UDPReal-Time Transport Protocol (RTP), Real-Time Control Protocol (RTCP)Game Center
24000–24999TCPmed-ltpWeb service with performance cache
42000–42999TCPiTunes Radio streams
49152–65535TCPXsanXsan Filesystem Access
49152– 65535UDP
50003FileMaker server service
50006FileMaker helper service

1. The service registered with the Internet Assigned Numbers Authority, except where noted as “unregistered use.”

Free Vpn For Macs

2. The number of a Request for Comment (RFC) document that defines the service or protocol. RFC documents are maintained by RFC Editor.

Vpn For Mac Download

3. In the output of Terminal commands, the port number might be replaced by this Service Name, which is the label listed in /etc/services.

FaceTime is not available in all countries or regions.

Learn more

Ports For Vpn Connection

The application firewall in macOS is not a port-based firewall. It controls access by app, instead of by port.