-
Notifications
You must be signed in to change notification settings - Fork 759
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 IPSEC / if_ipsec #2332
Comments
|
Hi Michael, What do you mean with a new button in phase2? Best, Ad |
|
Sorry, I mean a checkbox .. |
|
clear, that makes sense :) |
|
Ok, I have a running setup. Quite easy but I need some additional commands like setting up a GRE/GIF tunnel. ATM .. I'm a bit underskilled for this. Steps to reproduce:
This is fairly easy, now the tricky part:
Then you can create a new gateway with right-tunnel-ip and set as many routes as you wish. Perhaps you could also create a new checkbox in P1 with "Enable Route-Based VPN" as a selector for IF bla |
|
If you are motivated you could create a new branch for this for testing .. |
|
Aybe this reference canal help https://redmine.pfsense.org/issues/8544 |
|
@mimugmail is the feature working into 18.7.2 version? |
|
Hi folks, is there any progress with this feature!? |
|
Nope. All hands welcome. |
… for #2332 it would be good to refactor this code at some point, maybe wrap some of its logic in a class. There's just too much logic in ipsec_configure_do at the moment
…hase1_src() both get_interface_ipv6() and get_interface_ip() call get_failover_interface() which obscures the used parameters a lot (wan,lan,opt1 vs emX,emY,igbX)
- ipsec_configure_vti() synchronizes local configuration with current ipsec% interfaces - ipsec_interfaces() automatically adds these interfaces to the interfaces list, so the user can add a gateway and routes
|
…faces, but the same likely counts for all that's plugged in automatically. for #2332
|
We still run it on 19.1.4 with the suggested patches and it works fine so far. We didn't dare to upgrade yet, though. |
|
So, then don't do it. After this, it won't work anymore ;) I have seen in some post that the reqid option in the IPSec settings was removed after 19.1.4. I think this is the major problem. In my logs I can see on both sides that IPSec is watching/working with different ids. |
@jroehler23 If you're trying to be funny this may come off as rude to some who work on this code and use it successfully. I just want to point that out very friendly. |
|
FWIW, it would be even better to open a support ticket with all the info of your case condensed, because a number of bugs were fixed in 19.1.4 - 19.1.6 and the feature is still relatively young and the issue here is already closed and there's not much sense reopening it as it refers to the initial implementation and things have changed since. |
|
@fichtner I know this is a feature for milestone 19.7, so for me it seems to be beta. And normally in the course of development, comments like mine shouldn't be treated so seriously. But you are right, it was not in my mind to blame somebody for his "bad work" or something like this! I apologize if somebody took it the wrong way. It should just be a hint for others to be careful to update to 19.1.6, because it has taken me days to come to this point. I will open a new ticket with my issue. |
|
Thanks. No worries. Can only get better. :) For reference the ticket is #3443 |
… for opnsense#2332 it would be good to refactor this code at some point, maybe wrap some of its logic in a class. There's just too much logic in ipsec_configure_do at the moment
…rt in stead of route, for opnsense#2332
…ec_get_phase1_src() both get_interface_ipv6() and get_interface_ip() call get_failover_interface() which obscures the used parameters a lot (wan,lan,opt1 vs emX,emY,igbX)
…#2332 - ipsec_configure_vti() synchronizes local configuration with current ipsec% interfaces - ipsec_interfaces() automatically adds these interfaces to the interfaces list, so the user can add a gateway and routes
…faces, but the same likely counts for all that's plugged in automatically. for opnsense#2332
… for opnsense#2332 it would be good to refactor this code at some point, maybe wrap some of its logic in a class. There's just too much logic in ipsec_configure_do at the moment
…rt in stead of route, for opnsense#2332
…ec_get_phase1_src() both get_interface_ipv6() and get_interface_ip() call get_failover_interface() which obscures the used parameters a lot (wan,lan,opt1 vs emX,emY,igbX)
…#2332 - ipsec_configure_vti() synchronizes local configuration with current ipsec% interfaces - ipsec_interfaces() automatically adds these interfaces to the interfaces list, so the user can add a gateway and routes
…faces, but the same likely counts for all that's plugged in automatically. for opnsense#2332
Hi,
I'm targeting route-based IPSec and need some modifications.
Before I start digging into it I just want to ask if it's ok to:
If yes I'd try this by mysef ..
The text was updated successfully, but these errors were encountered: