Bug #9674
closedhidden OpenVPN settings are validated and written to file
100%
Description
I had two instances where configurations not visible on the OpenVPN server creation window were affecting saving the server and the running of the server.
I am configuring a client and server for "peer to peer ( pre-shared key )" on two separate pfSense installations. The first issue arose while configuring the client.
Client issue:
The authentication username and password on the "peer to peer ( tls/ssl )" server mode option. The password did not match so it would not save. Checking server mode to "peer to peer ( pre-shared key )" to "peer to peer ( tls/ssl )" made the username and password fields available. Clearing out these, allowed me to save the client.
Server issue:
This was regarding the "duplicate-cn" option in the /var/etc/openvpn/server1.conf. Again, server mode was configured for "peer to peer ( pre-shared key )" however, the "Duplicate Connection" checkbox visible in the "peer to peer ( tls/ssl )" server mode configuration screen was checked. I changed the server mode to "peer to peer ( tls/ssl )", unchecked the checkbox. Once I set the server mode back to "peer to peer ( pre-shared key )" and saved it, the server daemon started without issue.
Updated by Jim Pingle over 5 years ago
- Project changed from pfSense Packages to pfSense
- Category set to OpenVPN
- Target version set to 2.5.0
Updated by Renato Botelho about 5 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset 4e42da90bd8fd2d4202782e8e0633c0e8e5e3045.
Updated by Jim Pingle about 5 years ago
- Target version changed from 2.5.0 to 2.4.5
Updated by Viktor Gurov almost 5 years ago
tested on pfSense 2.4.5.a.20191220.1407
works as expected,
Resolved
Updated by Jim Pingle almost 5 years ago
- Status changed from Feedback to Resolved