Assistance diagnosing Always On VPN error 809

James Edmonds 831 Reputation points
2022-01-26T16:41:48.65+00:00

Hi,

I've just finished deploying my AOVPN infrastructure, and am now running my test connections in order to confirm working and prep a VPN template.
Sadly, I am getting error 809, which I understand to be a network connectivity related issue likely due to UDP 500 and 4500 being blocked.

I'm at a bit of a loss where this issue is being introduced in my network flow, and hoping someone can offer some advice on what else to check;

  1. We are a small organisation, so don't currently have a separate perimeter network and external/internal firewalls. We have a single Meraki MX84 as our firewall/LAN router, and I am trying to separate inbound VPN traffic from the LAN using a separate VLAN. Not ideal, but the best I can do at the moment.
  2. We have two subnets/VLANs involved, VLAN 1 - 10.0.0.0/23 and VLAN 61 - 172.16.1.0/24. The Meraki has an interface on both of these of 10.0.0.1 and 172.16.1.1
  3. Our "External" interface on our RRAS VM is on VLAN 61 with IP 172.16.1.6, with the "Internal" being on VLAN 1, with IP 10.0.1.57
  4. No ACLs between the VLANs yet, but will be introduced once I get this VPN working. As such, any client on either VLAN can route to a client on the other VLAN
  5. The Meraki has NAT rules mapping our external IP to the 172 address of the VPN server for UDP ports 500 and 4500.
  6. The Meraki has a Trunk to a Cisco Catalyst 9200
  7. The Cisco has a trunk to our ESXi server
  8. Our RRAS VM sits on the ESXi server

So when I try to connect from an external network, I get error 809 and the message that comes along with that:
168698-image.png

If I connect internally, I have no issues and everything seems to function.
The VM currently has its Windows firewall disabled during testing.
The Meraki rules are the only other place that the ports may be getting blocked, but our NAT rules are allowing them:
168745-image.png

I've also done a quick and dirty network diagram showing the setup.
168774-image.png

If anyone can offer me any advice on what else to check, I'd appreciate it!

Thanks
James

Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Gary Nebbett 6,216 Reputation points
    2022-01-26T17:38:17.107+00:00

    Hello @James Edmonds ,

    The next thing that I would try is a simple network trace. That would indicate whether packets to UDP ports 500 and 4500 are actually being exchanged. It may be the case that packets to both ports are being exchanged but that communication stops after the first exchange but before the VPN is fully established.

    On the client, I would suggest starting a trace with the following command: pktmon start --capture --comp nics --flags 0x10 --trace --file-name why.etl. Now try to establish a VPN connection (perhaps just disconnect and reconnect to a network, in the case of AOVPN) and then stop the trace with he command pktmon stop. You can either make the captured file available in this forum or analyse it yourself (perhaps pktmon etl2pcap -? will help).

    Gary

    1 person found this answer helpful.

  2. Limitless Technology 39,931 Reputation points
    2022-02-01T09:42:36.643+00:00

    Hi there,

    When troubleshooting VPN error code 809 the following items should be carefully checked.

    Name Resolution – Ensure the VPN server’s public hostname resolves to the correct IP address.
    Firewall Configuration – Confirm the edge firewall is configured properly.
    Load Balancer Configuration – If VPN servers are located behind a load balancer, make certain that virtual IP addresses and ports are configured correctly and that health checks are passing.

    Here is a thread as well that discusses the same issue and you can try out some troubleshooting steps from this and see if that helps you to sort the Issue.

    Always On VPN Error 809 on some clients
    https://learn.microsoft.com/en-us/answers/questions/649078/always-on-vpn-error-809-on-some-clients.html

    -----------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer--


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.