Bug #3048
OpenVPN in bridged mode - missing gateway
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due 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
db defaults: remove BridgeRole prop. Refs #3048
Delete bridge creation action. Refs #3048
Web UI: select pre-configured bridges. Refs #3048
host-to-net: use new syntax for bridged server. Refs #3048
host-to-net: use new syntax for bridged server. Refs #3048
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
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
- 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
- nethserver-openvpn-1.2.0-1.ns6.noarch.rpm