Feature #1958
VPN: add support for OpenVPN net2net
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-openvpn | |||
Target version: | v6.4-beta2 | |||
Resolution: | NEEDINFO: | No |
Description
Support OpenVPN VPN between bridged networks.
Related issues
Associated revisions
web ui: save certificate to filesystem. Refs #1958
createlinks: add 3 new events: nethserver-vpn-create, nethserver-vpn-update, nethserver-vpn-delete. Refs #1958
web ui: chmod client pem file. Refs #1958
vpn clients: add /var/lib/nethserver/certs/clients directory. Refs #1958
createlinks: add 3 new events: nethserver-vpn-create, nethserver-vpn-update, nethserver-vpn-delete. Refs #1958
shorewall configuration: change default vpn policy. Refs #1958
db defaults: add ServerStatus property. Refs #1958
nethserver-vpn-save event: delete server configuration when disabled. Refs #1958
createlinks: always restart openvpn service. Refs #1958
createlinks: rename nethserver-vpn-update to nethserver-vpn-modify event. Refs #1958
host-to-neth.conf, spec, createlinks: create configuration for net2net clients. Refs #1958
web ui: add support for Compression option. Refs #1958
web ui: save psk to a separate file. Refs #1958
createlinks: create new event nethserver-vpn-modify. Refs #1958
createlinks: fix /var/lib/nethserver/certs/clients permissions. Refs #1958
web ui, event: create new nethserver-vpn-save event. Refs #1958
create /etc/openvpn/ccd empty dir. Refs #1958
nethserver-openvpn-net2net: create ccd file for user accounts. Refs #1958
nethserver-openvpn-net2net: clean ccd directory. Refs #1958
createlinks: change /etc/openvpn/ccd mode. Refs #1958
createlinks: execute nethserver-openvpn-delserver and expand /etc/openvpn/host-to-net.conf on nethserver-vpn-save event. Refs #1958
nethserver-openvpn-genclient: add log append option. Refs #1958
nethserver-openvpn-delclient: fix parameter handling. Refs #1958
web ui: handle accounts modifications. Refs #1958
History
#1 Updated by Giacomo Sanchietti almost 8 years ago
- NEEDINFO changed from No to Yes
Is a web UI needed?
Should be a only a documentation page or should we add a full support?
#2 Updated by Giacomo Sanchietti almost 8 years ago
- Status changed from NEW to TRIAGED
- % Done changed from 0 to 20
A net-to-net VPN is a simple roadwarrior connection plus information about route to remote network.
It's possible to inform the server and client about special routes depending on the client identity.
client-config-dir
OpenVPN option and the following links:
- http://www.shorewall.net/OPENVPN.html#Routed
- http://openvpn.net/index.php/open-source/documentation/howto.html#scope
Need some testing before implementation.
#4 Updated by Giacomo Sanchietti almost 8 years ago
- Parent task deleted (
#1763)
#5 Updated by Giacomo Sanchietti almost 8 years ago
- Status changed from TRIAGED to ON_DEV
- Assignee set to Giacomo Sanchietti
- % Done changed from 20 to 30
#6 Updated by Giacomo Sanchietti almost 8 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 30 to 60
Implemented using VPN Accounts and Clients. See nethserver-vpn.
#7 Updated by Giacomo Sanchietti almost 8 years ago
- Assignee deleted (
Giacomo Sanchietti)
Test case
- Install two NethServer connected with a public IP and configured as server and gateway
- Put a client behind each firewall
- Configure a NethServer as master activating OpenVPN server in routed mode with certificate-based authentication
- Configure second NethServer as client
- Check if ping between host is working
#8 Updated by Giacomo Sanchietti almost 8 years ago
- Status changed from MODIFIED to ON_QA
- % Done changed from 60 to 70
- nethserver-vpn-1.0.0-25.0git7a115920.ns6.noarch
- nethserver-openvpn-0.0.1-33.0git922d5655.ns6.noarch.rpm
See also #1763
#9 Updated by Giacomo Sanchietti almost 8 years ago
- NEEDINFO changed from Yes to No
#10 Updated by Davide Principi almost 8 years ago
- Assignee set to Davide Principi
#11 Updated by Giacomo Sanchietti almost 8 years ago
- Status changed from ON_QA to TRIAGED
- Assignee deleted (
Davide Principi) - % Done changed from 70 to 20
#12 Updated by Giacomo Sanchietti almost 8 years ago
- Status changed from TRIAGED to ON_DEV
- Assignee set to Giacomo Sanchietti
- % Done changed from 20 to 30
#13 Updated by Giacomo Sanchietti almost 8 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 30 to 60
Expand server template to correctly handle net2net tunnles, refactor Account web ui.
#14 Updated by Giacomo Sanchietti almost 8 years ago
- Status changed from MODIFIED to ON_QA
- Assignee deleted (
Giacomo Sanchietti) - % Done changed from 60 to 70
- nethserver-openvpn-0.0.1-37.0git7154fc0c.ns6.noarch.rpm
- nethserver-vpn-1.0.0-27.0git3d3df062.ns6.noarch.rpm
See previous test cases.
#15 Updated by Davide Principi almost 8 years ago
- Assignee set to Davide Principi
#16 Updated by Davide Principi almost 8 years ago
- Status changed from ON_QA to VERIFIED
- Assignee deleted (
Davide Principi) - % Done changed from 70 to 90
VERIFIED
# rpm -qa | grep ^neth | sort nethserver-base-1.4.3-1.ns6.noarch nethserver-directory-1.2.3-1.ns6.noarch nethserver-dnsmasq-1.0.5-4.0git1c0ef001.ns6.noarch nethserver-firewall-base-1.0.5-7.0git9a08773c.ns6.noarch nethserver-grub-1.0.2-1.ns6.noarch nethserver-hosts-1.0.5-1.ns6.noarch nethserver-httpd-admin-1.0.6-1.ns6.noarch nethserver-ipsec-0.0.7-1.ns6.noarch nethserver-lib-1.3.2-1.ns6.noarch nethserver-nethgui-1.2.4-1.ns6.noarch nethserver-ntp-1.0.5-1.ns6.noarch nethserver-openssh-1.0.3-1.ns6.noarch nethserver-openvpn-0.0.1-37.0git7154fc0c.ns6.noarch nethserver-php-1.1.0-1.ns6.noarch nethserver-release-6.4-beta2.noarch nethserver-samba-1.3.6-1.ns6.noarch nethserver-shorewall-1.0.1-3.0git29edddbd.ns6.noarch nethserver-smartd-1.0.0-1.ns6.noarch nethserver-vpn-1.0.0-27.0git3d3df062.ns6.noarch nethserver-yum-1.1.1-1.ns6.noarch
#17 Updated by Davide Principi almost 8 years ago
- Status changed from VERIFIED to CLOSED
- % Done changed from 90 to 100
In nethserver-updates:
nethserver-openvpn-1.0.0-1.ns6.noarch.rpm
with dependencies:
pkcs11-helper-1.07-5.el6.x86_64.rpm
openvpn-2.3.1-3.el6.x86_64.rpm