Bug #2643
closed
OpenVPN Server not deletable
Added by Sven Timmermann almost 13 years ago.
Updated almost 13 years ago.
Affected Architecture:
amd64
Description
Hi,
my Version:
2.1-BETA0 (amd64)
built on Sun Sep 23 21:11:43 EDT 2012
FreeBSD 8.3-RELEASE-p4
i have tryed create new openvpn server for mobile devices. Port 1198 UDP.
after creating the new openvpn server i have 2 new entrys in my openvpn server overview. one of this, was my created server and one entry was en emtpy entry.

in this screenshot, i have more empty entrys because i have try it deleted and created...
any tipps?
Files
We'll need to see the openvpn-server section of your config.xml - you can remove the IPs and certs/keys if needed but we need to see the whole structure.
Jim P wrote:
We'll need to see the openvpn-server section of your config.xml - you can remove the IPs and certs/keys if needed but we need to see the whole structure.
Hi Jim, wow thanks for this fast answer can i send you my config.xml ? because this is so big, and there are many of ips and certs/keys but i can't find all thins in this hugh file.
is this okay for you?
ps: sorry for my bad english! :-(
you can e-mail it to jimp (at) pfsense (dot) org.
OK, I committed a fix, next new snapshot dated after this commit should be OK. You can then just click the X on those to delete them.
I can not delete it because, unfortunately, nothing happens. :-(. When i press to oft the X that crash my openvpn server and sometime i must reboot my pfsense. my pfsense is productive. Because i have needed ipv6 :-(
That is what the commit fixes - it will allow you to delete those entries.
- Status changed from New to Feedback
- % Done changed from 0 to 100
- Status changed from Feedback to New
I reverted that commit. It's not such an important fix that it's worth debugging if it causes that bad of a problem. The original author can work on a better fix and submit it again once it's ready rather than leaving it broken until they can fix it.
On the new snapshot:
2.1-BETA0 (i386)
built on Sun Sep 30 11:13:36 EDT 2012
the revert is done, and the extra blank OpenVPN server does not appear when adding a new server - good.
The code for this actual ticket (allowing deletion of the blank entries) works - I used it a few times. Now it will be difficult to test, because the issue that made the blank entries is no longer there! But it will be very useful for anyone else who has got some blank entries while running on snapshots between 22 and 30 Sep 2012.
Hi, sorry for introducing the issue, i recommitted my original patch (allow TUN to TAP change without reboot) with a extra check to avoid this problem.
Thanks. I tested on the latest snapshot:
2.1-BETA0 (i386)
built on Mon Oct 1 14:51:06 EDT 2012
Adding, editing and deleting OpenVPN servers works fine. So existing functionality is not broken by the change.
- Status changed from New to Resolved
Also available in: Atom
PDF