Ipsec

Started by vadimkara, July 12, 2016, 03:06:01 PM

Previous topic - Next topic
Why there is no EAP-MSACHAPv2, authentication method? It's very usefull to connect remote desktop stations.


its 100% possible in strongswan, but no frontend for this feature

Hi vadimkara,

eap-mschapv2 should be quite easy to add, I don't have time to test, but if you want to give it a try, this commit may work:

https://github.com/opnsense/core/commit/4638d99c0a51a3286f324f0036310e95ce81fef2

opnsense-patch 4638d99c

The config is generated to /usr/local/etc/ipsec.conf.

Regards,
Ad

Plaease add "Peer identifier" any, and fix ui bug

Did you try the current setup and inspect the config?
I don't think peer identifier is used for other then psk options..... (see function ipsec_find_id() and use of it in ipsec.inc)

In case you don't have time to test, please let me know, I can easily revert/undo the changes.... like I said, I don't have enough time at the moment to test this myself.

dont working at all error 809

ok, I've reverted the changes.
In case you want to investigate further and pinpoint the needed changes in ipsec.conf for your configuration, just let me know. It's probably very easy to add, as long as you have a setup to test and time to spare.

Could you please add option to select preshared key as EAP or PSK.
If I manually go to var/local/etc/ipsec.secrets and change default PSK to EAP after restart ipsec service via gui I end up with key type set as PSK again. When I do connect from windows 7 using EAP-MSCHAPv2 the log on opnsense shows that it is missing EAP key to authenticate.

Thank you.

Hi Voltara2000,

Can you create an issue on github (https://github.com/opnsense/core/issues) for your feature request?
This helps us keeping track of our open requests.

Best regards,

Ad

Hi,

Unfortunately, I don't have an account for github. Don't want to open one just for this. Could you or someone else make a future request on github? This should allow using windows 7, 8 or 10 build in vpn to be able to make roadwarrior to office network.

Thank you,
Andrei



Thank you very much!

Cannot wait to give this a test. Would this fix be included in 16.7.7 update?


If you cannot wait you can use the opnsense-patch utility on the command line to fetch the commit ;)