1 |
diff -urN smeserver-wireguard-1.0.old/root/usr/share/smanager/lib/SrvMngr/Controller/Wireguard.pm smeserver-wireguard-1.0/root/usr/share/smanager/lib/SrvMngr/Controller/Wireguard.pm |
2 |
--- smeserver-wireguard-1.0.old/root/usr/share/smanager/lib/SrvMngr/Controller/Wireguard.pm 2024-03-01 13:48:26.304670011 +0000 |
3 |
+++ smeserver-wireguard-1.0/root/usr/share/smanager/lib/SrvMngr/Controller/Wireguard.pm 2024-03-01 14:31:35.288632116 +0000 |
4 |
@@ -1,9 +1,9 @@ |
5 |
package SrvMngr::Controller::Wireguard; |
6 |
|
7 |
#---------------------------------------------------------------------- |
8 |
-# heading : Configuration |
9 |
+# heading : VPN |
10 |
# description : Wireguard |
11 |
-# navigation : 6000 6750 |
12 |
+# navigation : 6500 100 |
13 |
# |
14 |
# name : wireguard, method : get, url : /wireguard, ctlact : wireguard#main |
15 |
# name : wireguardd, method : post, url : /wireguard, ctlact : wireguard#do_display |
16 |
@@ -348,7 +348,7 @@ |
17 |
# Test Ip is inside CIDR |
18 |
if (!test_for_private_ip($ip,$mask)) { |
19 |
$msg = "IP must be in private range"; |
20 |
- $fm->error($msg);return; |
21 |
+ #$fm->error($msg);return; |
22 |
} |
23 |
|
24 |
$cdb->get('wg-quick@wg0')->merge_props(%props) |