Bug #3387

Openvpn n2n not working after restore

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

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

100%

Category:nethserver-openvpn
Target version:v6.7
Security class: Resolution:
Affected version:v6.7 NEEDINFO:No

Description

Problem: after restore to new system, a previously configured net2net openvpn worked only in one direction (from client to server).
The issue was a missing ccd file.
It should have been created after restore calling the /etc/e-smith/events/actions/nethserver-openvpn-net2net action.
Workaround: edit the client configuration on the server or run the action.

Associated revisions

Revision 86fac33b
Added by Giacomo Sanchietti over 3 years ago

createlinks: re-create net2net config on update event. Refs #3387

Revision 36fa83ab
Added by Giacomo Sanchietti over 3 years ago

createlinks: re-create net2net config on update event. Refs #3387

History

#1 Updated by Filippo Carletti over 3 years ago

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

Proposed solution: link action in nethserver-openvpn-update.

#2 Updated by Giacomo Sanchietti over 3 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#3 Updated by Giacomo Sanchietti over 3 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

Proposed patch has been merged.

#4 Updated by Giacomo Sanchietti over 3 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70
In nethserver-testing:
  • nethserver-openvpn-1.3.0-1.2.g86fac33.ns6.noarch.rpm
Test case
  • Check the bug is not reproducbile

#5 Updated by Giacomo Sanchietti over 3 years ago

  • Assignee set to Giacomo Sanchietti

#6 Updated by Giacomo Sanchietti over 3 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 70 to 90

Configuration inside /etc/openvnp/ccd are correctly restored after restore-config command.

#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-openvpn-1.3.1-1.ns6.noarch.rpm
  • 7.2/nethserver-base: nethserver-openvpn-1.3.1-1.7.g451d39a.ns7.noarch.rpm

Also available in: Atom PDF