Following a factory reset, is my Airport Extreme 2013 no longer forwarding VPN traffic?

For years I have hosted a VPN from my home with various versions of Server.app (currently 5.6.3, latest for High Sierra) on various versions of OS X (currently 10.13, High Sierra) installed on a Mac Mini, wired through various ethernet hubs/switches to an Airport Extreme router (2013, 6th Generation running version 7.7.9).

Recently, my entire network went down. Before I noticed this was due to a 8 port hub losing power, I factory reset the router (unplugged power, held down reset button, plugged in power, waited for lights to start blinking, and reconfigured router). Neither the physical topology of my network has not been altered, nor have the IP addresses of devices on my network changed.

Now, everything appears to be working except for VPN. I have had success forwarding various services (ssh, http, https) from outside the network to the Mac Mini. I have a forwarding rule for VPN setup on the router (UDP ports 500, 1701, 4500; TCP port 1723), and the VPN service within Server.App enabled on the Mac Mini. I am able to connect to the VPN service from within my network, but outside the network (e.g., iPhone over cell network) I receive the error message:

The L2TP-VPN server did not respond. Try reconnecting. If the problem continues, verify your settings and contact your Administrator.

Attempting to scan for open ports on the router from outside the network reveals the ports for the other services (22, 80, 443, etc.), but none of the VPN ports (500, 1701, 4500, or 1723). Attempting to scan for open ports on the Mac Mini from inside the network reveals the same situation. This is the case both inside and outside the network whether I use my modem's external IP, a dynamic hostname (provided by ddns.net), or a subdomain on a CNAME entry for a DNS record I have control over.

I do not think my ISP is blocking VPN traffic as this setup worked less than a week prior to the network mishap.

I think something has gone wrong on the router. I have tried these things:

  • enabled IGMP Snooping as suggested in this post: VPN Passthrough problems with Airport Extreme.
  • ensured IP ranges do not overlap (as suggested also in above post): wired static from .1 - .49; wireless static from .50 - .99; DHCP from .100 - .199, and VPN on .224 - .254.
  • ensured Back To My Mac is disabled on the router and the Mac Mini (indeed, I don't believe Back To My Mac exists as such on High Sierra).
  • taken the router out of the loop and connected the Mac mini directly to the cable modem. Connections to the VPN succeeded. This confirms that my ISP is not blocking VPN traffic, that the VPN server is working (for internal and external clients), and that the Airport Extreme is the problem.

Things I have not yet tried:

  • alternative VPN software (OpenVPN). I think VPN in Server.app is working as I can connect to it on the internal network.
  • alternative ports, e.g., on the router forward 22 to 500, 80 to 1701 and 443 to 4500. I have not tried this because I don't know how to configure the VPN client to try to connect on these ports. It also seems not possible to configure the VPN server (at least the one within Server.app) to listen on different ports.

2 Answers 2


First check the settings on the AirPort Extreme to ensure that the box labelled "Allow incoming IPSec authentication" in "Network Options..." under "Network" is checked.

Then I suspect what have happened is that your Mac Mini has received a different internal IP address. This could lead to the port forwardings that you have had setup not working anymore, which is confirmed by the fact that you cannot see your port forwarding of TCP port 1723 with a port scanner.

On the Mac Mini open System Preferences and Network, and find the internal IP address of your Mac Mini. It might be for example Then check the port forwardings on the Airport Extreme under "Network" and "Port Settings...". Ensure that the field "Private IP Address" lists the internal IP address of your Mac Mini for all the VPN related ports (UDP ports 500, 1701, 4500 and TCP port 1723).

  • Thanks for the reply. "Allow incoming IPSec authentication" was not immediately visible... I had to first check "Enable IPv6 Connection Sharing" via the "Internet Options" button on the "Internet" tab, then enable "Block incoming IPv6 connections" on Network / Network Options... Yet still, connections to the VPN fail. The Mac mini's IP address matches that specified in the Port Settings for VPN, both have (which it was before I reset the router -- all devices on the network are DHCP with static reservations based on MAC address from the AirPort Extreme). Apr 2, 2019 at 2:09
  • Install Wireshark on the Mac Mini and let it capture packets while you try to connect. Check to see if anything comes through those ports!
    – jksoegaard
    Apr 2, 2019 at 5:30
  • I have been able to confirm ports 500, 1701, 1723, and 4500 for TCP and UDP can be forwarded through my router when using netcat locally to listen (nc -ul 500, etc.) and remotely (on an external host via ssh) to connect (nc -u $ip 500, etc). I have also followed this traffic using wireshark, and seen VPN connection attempts in Wireshark... it looks like the connection is being negotiated, but is not successful. I don't see any activity in /var/log/ppp/vpnd.log during the failed connection attempts. Apr 12, 2019 at 7:30

Turns out it was an incorrect shared secret on the external devices.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .