Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - mihaifpopa

#1
Updated to Release and all good. Been rocking 24.7 since beta days. Great release!
#2
24.7, 24.10 Legacy Series / Re: OpenVPN DCO error
July 24, 2024, 10:38:00 AM
Just to give an update, but OpenVPN DCO works fine on 24.7-RC2. Clients connect seamlessly, no issues and it's really fast. Works really well alongside Wireguard.
#3
24.7, 24.10 Legacy Series / Re: OpenVPN DCO error
July 23, 2024, 02:36:14 PM
Quote from: franco on July 23, 2024, 01:41:13 PM
No thank you for taking the time to confirm. I'll sneak this into 24.7 too.


Cheers,
Franco

No worries, glad I could help. Thanks!
#4
24.7, 24.10 Legacy Series / Re: OpenVPN DCO error
July 23, 2024, 01:31:36 PM
Quote from: franco on July 23, 2024, 12:15:06 PM
You're right. Can you try this commit and re-export? https://github.com/opnsense/core/commit/228ccc072

# opnsense-patch 228ccc072


Thanks,
Franco

Applied, client export now works as it should, setting it directly to "dev tun".

Thanks for the patch!
#5
24.7, 24.10 Legacy Series / Re: OpenVPN DCO error
July 23, 2024, 11:52:55 AM
@franco: What I mean is that when doing the client export from OPNsense, it automatically exports with "dev ovpn" instead of "dev tun" when creating an OpenVPN server instance. Maybe an improvement can be made so it automatically goes with how it adds on the TUN type, "dev tun". Maybe it's just a bug? At least, that's how I understand it.
#6
24.7, 24.10 Legacy Series / Re: OpenVPN DCO error
July 22, 2024, 09:43:46 PM
Managed to fix it by setting dev tun instead of dev ovpn in the client config file. All seems to be working fine. Still have to tweak MTU, but looking good. Thanks for your help, @franco and @newsense!
#7
24.7, 24.10 Legacy Series / Re: OpenVPN DCO error
July 22, 2024, 08:50:37 PM
Yep, it doesn't crash anymore when I switch to DCO (experimental), although when I'm trying to connect with a client to the OpenVPN DCO server, it just errors out with "problem with tun vs tap setting" error. Tried reinstalling OpenVPN on the client machine, but still doesn't work. I'm guessing a configuration issue? Is this link accurate for DCO setup as well? https://docs.opnsense.org/manual/how-tos/sslvpn_instance_roadwarrior.html

Thank you!
#8
24.7, 24.10 Legacy Series / Re: OpenVPN DCO error
July 22, 2024, 11:46:37 AM
Will test it later today. Thanks a lot!
#9
24.7, 24.10 Legacy Series / Re: OpenVPN DCO error
July 21, 2024, 09:04:23 PM
So, might this be a bug? Or maybe I have set up something wrong?
#10
24.7, 24.10 Legacy Series / Re: OpenVPN DCO error
July 21, 2024, 02:29:13 PM
Sure, sorry for not giving more context from the start.

So, I clean installed 24.7-BETA (which seems to be FreeBSD 14.1) on a Lenovo M920s (i3-8100, 8GBRAM, 128GB SSD, i350-T2) directly, so, not virtualized. Have done some configuration, one of which was setting up OpenVPN and I directly set it up with DCO (experimental). I have followed this how-to on how to set it up, but on the type, I selected DCO: https://docs.opnsense.org/manual/how-tos/sslvpn_instance_roadwarrior.html.

I also went through and upgraded to RC1 and then RC2, but still seems to not work. When switching to TUN, for example, the OpenVPN service starts normally. Instead, when setting the type to DCO, it crashes with the error I mentioned.

Thanks!
#11
24.7, 24.10 Legacy Series / OpenVPN DCO error
July 21, 2024, 09:30:02 AM
Hi there. When configuring an OpenVPN DCO server instance, I get these errors in the logs:

Cannot open TUN/TAP dev /dev/ovpn1: No such file or directory (errno=2)
Exiting due to fatal error.


Any idea what's going in?
Thanks!