-
Notifications
You must be signed in to change notification settings - Fork 9
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
Route-Based VPN Creation Error #55
Comments
Seems correct unless you miss preshared key, do you have any details on you error? Feel free to contact support if you face a database issue |
``I tried both in production and in a Lab Environment (which has nothing in common with the production one). I did not include the preshared_key because, if I understood correctly, there is no need to specify it if both Firewalls are managed by the same SMC.
|
It can be possible that the problem is with your vpn configuration, you need to check smc traces or try to configure the same on the gui to figure out the configuration error. |
I am able to correctly configure che Route-Based VPN using the GUI with the same endpoints. That's the SMC Trace of the Error: |
Please check the example given below and let me know if it works for you. We need to pass preshared_key in RouteVPN.create_ipsec_tunnel. `def create_rbvpn(fw1, fw2, interface_id, comment):
|
Hi, I tried to create a RBVPN using the Ansible Module and it gave me a more explicit error. Then I passed a preshared key and it worked without problems.
As per documentation of both Ansible Module and fp-NGFW-SMC-python there should be no need to pass a preshared-key if both firewalls are under the same SMC since the preshared will be autogenerated. I think the issue is a mistake in the documentation or a missed implementation of the auto-generation of the preshared. https://fp-ngfw-smc-ansible.readthedocs.io/en/latest/modules/route_vpn_module.html |
created a ticket to update documentation, which will be fixed in future smc-python and smc-ansible release. |
Hi,
I am trying to create a Route-Based VPN Tunnel between two Firewalls but I get this error: "Impossible to store the element XXX".
Is something that I am missing?
Below is the function I created:
The text was updated successfully, but these errors were encountered: