windows firewall dropping OpenVPN UDP port packets

Scripts with setup, destroy, and modify routing tables and firewall rulesets for client connections.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
brrrknee
OpenVpn Newbie
Posts: 17
Joined: Fri Jul 28, 2017 11:41 am

windows firewall dropping OpenVPN UDP port packets

Post by brrrknee » Sat Jul 29, 2017 4:13 pm

I configured my openVPN using UDP port 22222, reflected in all configs and
forwarded UDP 22222 in router to the server running OpenVPN server.

While I understand this forum is for OpenVPN issues/Qs, this question only arises for me in this OpenVPN on Win 10 context, so please:

Server is running win 10pro, windows firewall. in that firewall I created both inbound and outbound rules for both UDP & TCP ports 22222, allowing any program, no user or system restrictions, very much like the builtin rules for port 443.
I temporarily enabled logging on the firewall to ensure the router forwarding was indeed delivering the udp 22222 requests, and they do show up at the Win10 server firewall log but regardless of the 'allow' for 22222 udp/tcp rules, these packets are dropped by the firewall.

If anyone had run into this, another MS hidden gem gotcha, please forward me a hint or explanation.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: windows firewall dropping OpenVPN UDP port packets

Post by TinCanTech » Sat Jul 29, 2017 4:59 pm

My Win10 Firewall rule for OpenVPN server:
  • Enabled: [X]
  • Protocol: UDP
  • Port: 1194
  • Program: %ProgramFiles%\OpenVPN\bin\openvpn.exe
  • Profiles:
    • [_] Domain
      [X] Private
      [X] Public
Works as expected.

Post Reply