Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong ipsec.conf #2677

Closed
ccesario opened this issue Aug 29, 2018 · 6 comments
Closed

Wrong ipsec.conf #2677

ccesario opened this issue Aug 29, 2018 · 6 comments
Labels
support Community support

Comments

@ccesario
Copy link

ccesario commented Aug 29, 2018

After debug my problem reported in the forum - https://forum.opnsense.org/index.php?topic=9552.msg43423 - I fixed it manually and could verify that ipsec.conf is write wrong (well, even my tests :) )

1 - First problem
In Phase 1 proposal (Authentication) screen and My identifier field, I should define manually my IP address as identificator. If I choose the My ip address the ipsec.conf file is generated without leftid option

2 - Second problem
In Phase 2 proposal (SA/Key Exchange) screen when choosed ESP protocol and MD5 Encryption algorithm, the ipsec.conf file is generated with esp = 3des-md5!. But I think that correct is esp = 3des-md5-modp1024! because after chenge it manually, the VPN it work as expected.

My env
OPNsense 18.7.1_3-amd64
FreeBSD 11.1-RELEASE-p12
OpenSSL 1.0.2o 27 Mar 2018

@AdSchellevis
Copy link
Member

Hi,

First question is, was the leftid empty or missing and if it was missing, how did the rest of the connection look?

The other issue looks like " DH key group" is set to off.

@AdSchellevis AdSchellevis added the support Community support label Aug 29, 2018
@ccesario
Copy link
Author

Hi @AdSchellevis .

The leftid it was missing, the rest of conifg it was OK. You can check the config file in my forum post. I post all details about.

And "DH key group" it is set as you can see my screenhost configs.

Best regards

Carlos

@AdSchellevis
Copy link
Member

Hi Carlo,

It's better to keep the the issue complete in GitHub, when not logged in to the forum the attachments aren't visible. Chances are bigger that anyone provides feedback when the case is thoroughly documented and easy to reproduce.

The second issue looks like a configuration issue on your end like I said, just select 2 (1024 bits) and your issue should be fixed.

Best regards,

Ad

@ccesario
Copy link
Author

ccesario commented Sep 7, 2018

Hi @AdSchellevis ,
I tried reproduce it in 18.7.2 and it is working as expected.

@AdSchellevis
Copy link
Member

@ccesario close?

@ccesario
Copy link
Author

ccesario commented Sep 7, 2018

Fixed into 18.7.2

@ccesario ccesario closed this as completed Sep 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Community support
Development

No branches or pull requests

2 participants