Enhancement #3189

With multiple GREEN networks configured, missing the route in host-to-net.conf for OpenVPN Client

Added by Luca Gasparini about 6 years ago. Updated about 6 years ago.

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

100%

Category:nethserver-openvpn
Target version:v6.6
Resolution: NEEDINFO:No

Description

With multiple GREEN networks configured, in file /etc/openvpn/host-to-net.conf is not added the route to the GREEN networks additional.

It is suggested that to add rows of push for every GREEN networks configured.

Associated revisions

Revision f151b8e2
Added by Giacomo Sanchietti about 6 years ago

Roadwarrior: handle multiple green routes. Refs #3189

History

#1 Updated by Filippo Carletti about 6 years ago

  • Status changed from NEW to TRIAGED
  • Target version set to v6.6
  • % Done changed from 0 to 20

#2 Updated by Giacomo Sanchietti about 6 years ago

  • Category set to nethserver-openvpn

#3 Updated by Giacomo Sanchietti about 6 years ago

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

#4 Updated by Giacomo Sanchietti about 6 years ago

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

#5 Updated by Giacomo Sanchietti about 6 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70
Packages in nethserver-testing:
  • nethserver-openvpn-1.2.1-1.6.gf151b8e.ns6.noarch.rpm
Test case 1
  • Create a server with at least two green interfaces
  • Enable OpenVPN roadwarrior server in routed mode
    Example: given two interfaces with IP 192.168.1.246 and 10.10.10.10.246, /etc/openvpn/host-to-net.conf should contain:
    push "route 192.168.1.0 255.255.255.0" 
    push "route 10.10.10.0 255.255.255.0" 
    
Test case 2
  • Create a server with at least two green interfaces and nethserver-dnsmasq installed
  • Enable OpenVPN roadwarrior server in bridged mode
  • Check all green IPs are used as DNS, WINS and NBDD.
    Example: given two interfaces with IP 192.168.1.246 and 10.10.10.10.246, /etc/openvpn/host-to-net.conf should contain:
    push "dhcp-option DNS 192.168.1.246" 
    push "dhcp-option WINS 192.168.1.246" 
    push "dhcp-option NBDD 192.168.1.246" 
    push "dhcp-option DNS 10.10.10.246" 
    push "dhcp-option WINS 10.10.10.246" 
    push "dhcp-option NBDD 10.10.10.246" 
    

#6 Updated by Giacomo Sanchietti about 6 years ago

  • Assignee set to Luca Gasparini

#7 Updated by Luca Gasparini about 6 years ago

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

#8 Updated by Giacomo Sanchietti about 6 years ago

  • Assignee deleted (Luca Gasparini)

#9 Updated by Giacomo Sanchietti about 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
Releases in nethserver-updates:
  • nethserver-openvpn-1.2.2-1.ns6.noarch.rpm

Also available in: Atom PDF