Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
wireguard road warrior setup docs problem
« previous
next »
Print
Pages: [
1
]
Author
Topic: wireguard road warrior setup docs problem (Read 2113 times)
opnsense-user123
Newbie
Posts: 25
Karma: 2
wireguard road warrior setup docs problem
«
on:
April 18, 2021, 06:43:30 pm »
I could not get opnsense to act as my wireguard vpn host/server by following the official docs.
At some point I was just trying anything I could think of, and it's possible that I had not restarted the service after changing something else. But, the last thing I changed that made it work was to specifically add the port for the endpoint.
https://docs.opnsense.org/manual/how-tos/wireguard-client.html
says, about configuring the endpoint(s):
Endpoint Port (empty) Not required for inbound connections - dynamic
I put the default port (51820) I was using in there and it started working. Before that I could get the connection to come up from a remote endpoint but no traffic would pass.
Again, perhaps I'm wrong and it was something else I initially set wrong then fixed and had not restarted the service yet.
Logged
Maurice
Hero Member
Posts: 1213
Karma: 158
Re: wireguard road warrior setup docs problem
«
Reply #1 on:
April 19, 2021, 08:34:23 pm »
An endpoint port is definitely not required if the endpoint initiates the connection. If this didn't work, the reason most likely was something else.
Cheers
Maurice
Logged
OPNsense virtual machine images
OPNsense aarch64 firmware repository
Commercial support & engineering available. PM for details (en / de).
Greelan
Hero Member
Posts: 1028
Karma: 72
Re: wireguard road warrior setup docs problem
«
Reply #2 on:
April 20, 2021, 02:41:42 pm »
100% agree with Maurice’s comment. I have multiple road warrior endpoints set up, all working without a port specified in the OPNsense endpoint config
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
wireguard road warrior setup docs problem