Enhancement #3339

IPsec tunnels with PPPoE

Added by Filippo Carletti almost 4 years ago. Updated over 3 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-ipsec
Target version:v6.7
Resolution: NEEDINFO:No

Description

The server-manager user interface doesn't allow to configure ipsec tunnels ending on a pppoe internet connection, i.e. the tunnels interface doesn't show pppoe links.
Bypassing the interface and setting values directly into the configuration database leads to a working configuration.

Associated revisions

Revision d9250527
Added by Filippo Carletti over 3 years ago

ipsec: show PPPoE on web ui. Refs #3339

Revision dd28dfc1
Added by Davide Principi over 3 years ago

Fix typo. Refs #3339

Revision 4ef9bed5
Added by Davide Principi over 3 years ago

Merge with release 1.1.4

Refs #3339

History

#1 Updated by Filippo Carletti almost 4 years ago

  • Status changed from NEW to TRIAGED
  • % Done changed from 0 to 20

I successfully tested this fix:

-- Modify.php    2015-12-04 11:55:43.000000000 +0100
+++ /usr/share/nethesis/NethServer/Module/VPN/IpsecTunnels/Modify.php    2015-12-29 02:05:29.154813502 +0100
@@ -157,6 +157,8 @@
                 $label = "$key - {$props['ipaddr']}";
             } elseif(isset($props['bootproto']) && $props['bootproto'] === 'dhcp') {
                 $label = "$key - DHCP";
+            } elseif(isset($props['type']) && $props['type'] === 'xdsl') {
+                $label = "$key - PPPoE";\
             } else {
                 continue;
             }

#2 Updated by Filippo Carletti almost 4 years ago

  • Target version set to v6.7

#3 Updated by Filippo Carletti over 3 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Filippo Carletti
  • % Done changed from 20 to 30

#4 Updated by Filippo Carletti over 3 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Filippo Carletti)
  • % Done changed from 30 to 60

#5 Updated by Filippo Carletti over 3 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

nethserver-ipsec-1.1.3-1.3.gd925052.ns6.noarch.rpm in testing.
nethserver-ipsec-1.1.3-1.4.gdd28dfc.ns6.noarch.rpm
nethserver-ipsec-1.1.4-1.3.g4ef9bed.ns6.noarch.rpm

Test case:
on a system with a PPPoE internet connection, ensure that, when trying to create a new ipsec tunnel, LocalIP shows the PPPoE interface.

#6 Updated by Davide Marini over 3 years ago

  • Status changed from ON_QA to VERIFIED
  • % Done changed from 70 to 90

Tested and working: the web ui shows correctly the pppoe interface in the Ipsec tunnels panel.

#7 Updated by Giacomo Sanchietti over 3 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

Released in 6.7/nethserver-updates:
nethserver-ipsec-1.1.5-1.ns6.noarch.rpm

Released in 7.2.1511/nethserver-updates:
nethserver-ipsec-1.1.5-1.11.ge61d0c0.ns7.noarch.rpm

Also available in: Atom PDF