Bug #3048

OpenVPN in bridged mode - missing gateway

Added by Davide Marini over 6 years ago. Updated over 6 years ago.

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

100%

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

Description

When running OpenVPN in Bridged Mode it's necessary to add the line:

push "route-gateway GREEN_IP"

to the server configuration, otherwise other zones than green will result not accessibile from the client.

I wrote GREEN_IP but it would be better options, especially if you have multiple green zones.

Associated revisions

Revision 15fa2bdf
Added by Giacomo Sanchietti over 6 years ago

db defaults: remove BridgeRole prop. Refs #3048

Revision a73d0b6a
Added by Giacomo Sanchietti over 6 years ago

Delete bridge creation action. Refs #3048

Revision 17a08251
Added by Giacomo Sanchietti over 6 years ago

Web UI: select pre-configured bridges. Refs #3048

Revision 3f69f8f6
Added by Giacomo Sanchietti over 6 years ago

host-to-net: use new syntax for bridged server. Refs #3048

Revision ac620ff8
Added by Giacomo Sanchietti over 6 years ago

host-to-net: use new syntax for bridged server. Refs #3048

Revision 86082ba8
Added by Giacomo Sanchietti over 6 years ago

host-to-net.conf: fix bridge mode. Refs #3048

History

#1 Updated by Giacomo Sanchietti over 6 years ago

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

Bug confirmed.
The template should use this syntax:

server-bridge 192.168.8.4 255.255.255.0 192.168.8.128 192.168.8.254

#2 Updated by Giacomo Sanchietti over 6 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 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 30 to 60

#4 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70
Package in nethserver-testing:
  • nethserver-openvpn-1.1.2-1.9.gac620ff.ns6.noarch.rpm
  • nethserver-openvpn-1.1.2-1.11.g86082ba.ns6.noarch.rpm

WARNING: the web interface will NOT automatically create a bridge when the OpenVPN server is configured in bridged mode. You must create the bridge from the Network page before configuring the vpn server.

Test case 1
  • Create a new bridge
  • Go to the OpenVPN configuration page, enable the server and set to bridged mode
  • Configure a client and test the connection is working
Test case 2
  • Update a running system with a vpn already configured
  • Check the vpn still works after the upgrade

#5 Updated by Filippo Carletti over 6 years ago

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

Test 1 passed.
I didn't have a working system to test, I used a previous version of nethserver-openvpn to setup a vpn, upgraded and the vpn worked.

#6 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
Released in nethserver-base:
  • nethserver-openvpn-1.2.0-1.ns6.noarch.rpm

Also available in: Atom PDF