Project

General

Profile

Actions

Feature #1864

closed

"Start" button for IPsec should be available for IP alias networks

Added by Chris Buechler over 13 years ago. Updated about 12 years ago.

Status:
Resolved
Priority:
Normal
Category:
IPsec
Target version:
Start date:
09/09/2011
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:

Description

If the local subnet of an IPsec network is an IP alias, the "start" button under Status>IPsec doesn't show up. That's normal where it isn't really a direct attached network, but should add consideration for IP alias subnets that are assigned.


Files

Actions #1

Updated by Chris Buechler over 12 years ago

  • Status changed from New to Assigned
  • Assignee set to Darren Embry
  • Target version set to 2.1
Actions #2

Updated by Darren Embry over 12 years ago

  • Status changed from Assigned to Feedback

If you could give me steps to reproduce/get to state where there should be a start button but isn't one, that would be awesome. More stuff I've never really dealt with here so I'm not sure what settings I'd have to change, etc.

Actions #3

Updated by Chris Buechler over 12 years ago

example config attached. See Status>IPsec. The one with "Local network" LAN has the Start button. If you check Firewall>Virtual IPs, you'll see 192.168.2.1 is assigned to the LAN, and hence there should be a start button on the second one as well (it can initiate traffic from the "local network" as it has an IP within that subnet).

Actions #4

Updated by Darren Embry over 12 years ago

Would this be the proper link URL?

/diag_ipsec.php?act=connect&remoteid=192.168.44.0&source=192.168.2.1

And what if multiple IP addresses within 192.168.2.0/24 are assigned to the LAN? (would this ever be true?) just use the first one found?

Actions #5

Updated by Darren Embry over 12 years ago

what if an ipsec had 192.168.2.0/28 and the virtual ip's had 192.168.2.1/24?

what if an ipsec had 192.168.2.0/24 and the virtual ip's had 192.168.2.1/28?

Actions #6

Updated by Jim Pingle over 12 years ago

In any of those cases it doesn't matter as long as there is a VIP somewhere inside of the IPsec subnet it will work.

In either of your example cases, the VIP of .1 is still inside that subnet/IP range, so it would still work.

Actions #7

Updated by Darren Embry over 12 years ago

  • Assignee changed from Darren Embry to Chris Buechler

Just pushed 59231855 which is about all I can do at this point.

I don't have a way of testing whether the start button for an IPsec on an alias is going to work.
And this probably needs more testing, generally, but with attached XML config the start button shows up.
Reassigning to Chris.

I use check_subnets_overlap so both cases above should work fine.

Actions #8

Updated by Chris Buechler about 12 years ago

  • Status changed from Assigned to Resolved
Actions

Also available in: Atom PDF