diff --git a/usr/local/www/vpn_openvpn_server.php b/usr/local/www/vpn_openvpn_server.php
index 7979070c5a..d2a797786d 100644
--- a/usr/local/www/vpn_openvpn_server.php
+++ b/usr/local/www/vpn_openvpn_server.php
@@ -85,6 +85,7 @@ if($_GET['act']=="edit"){
$pconfig['interface'] = $a_server[$id]['interface'];
$pconfig['local_port'] = $a_server[$id]['local_port'];
$pconfig['description'] = $a_server[$id]['description'];
+ $pconfig['ovpnadvanced'] = $a_server[$id]['ovpnadvanced'];
if ($pconfig['mode'] != "p2p_shared_key") {
if ($a_server[$id]['tls']) {
@@ -259,6 +260,7 @@ if ($_POST) {
$server['interface'] = $pconfig['interface'];
$server['local_port'] = $pconfig['local_port'];
$server['description'] = $pconfig['description'];
+ $server['ovpnadvanced'] = $pconfig['ovpnadvanced'];
if ($tls_mode) {
if ($pconfig['tlsauth_enable']) {
@@ -1080,6 +1082,28 @@ function netbios_change() {
+
+
+ |
+
+
+ | Advanced configuration |
+
+
+ | Address Pool |
+
+
+
+
+
+ Paste any additional options you would like to pass through to the openvpn server here.
+ |
+
+
+ |
+
+
+