Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
IPSec VPN seems to work, but no communication?
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: IPSec VPN seems to work, but no communication? (Read 2963 times)
Patrick M. Hausen
Hero Member
Posts: 6848
Karma: 575
Re: IPSec VPN seems to work, but no communication?
«
Reply #15 on:
November 02, 2023, 07:30:49 am »
Did you also create and configure one for the server?
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
ibrewster
Newbie
Posts: 23
Karma: 0
Re: IPSec VPN seems to work, but no communication?
«
Reply #16 on:
November 02, 2023, 03:44:41 pm »
Quote from: Patrick M. Hausen on November 02, 2023, 07:30:49 am
Did you also create and configure one for the server?
Yeah - I have the server set up with the ACME client, getting a certificate from letsencrypt.org. Though I also set up the local authority (which is how I created the user certificate), and have a server certificate created using that.
I used the official letsencrypt.org certificate for the OpenVPN server.
For what it's worth, I have a dynamic IP address with a dynamic DNS service on OPNsense set up through freedns, and I *can* connect (via port forwarding) to an OpenVPN Access Server instance I set up on a box behind the firewall, so I know OpenVPN works from my client machine to my host network in general, I just need to get all the settings right.
And yes, I did make sure to disable the port forward to that box before trying to set up OpenVPN on the OPNsense box
I may try looking at the configuration file that box creates, vs the one OPNsense is giving me to see if I can figure out what's different between the two. Not sure if that's worth the effort or not.
Logged
ibrewster
Newbie
Posts: 23
Karma: 0
Re: IPSec VPN seems to work, but no communication?
«
Reply #17 on:
November 02, 2023, 04:14:25 pm »
GOT IT!!!!! Well, for OpenVPN at least. Apparently OpenVPN didn't like me using the letsencrypt.org certificate for the server, but the self-generated certificate for the client. I switched over to using the self-generated certificate for the server, and got a connection - and it even routes traffic correctly!
So not the IPsec connection I was going for, but it works, so I guess that's solved?
Thanks everyone who helped me troubleshoot this!
Logged
Print
Pages:
1
[
2
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
IPSec VPN seems to work, but no communication?