-
- | $Lang::tr{'valid till'} (days): |
- |
- |
+
+ | $Lang::tr{'valid till'} (days): |
+ |
+ |
$Lang::tr{'pkcs12 file password'}: |
|
- | $Lang::tr{'pkcs12 file password'}: ($Lang::tr{'confirmation'}) |
+
| $Lang::tr{'pkcs12 file password'}: ($Lang::tr{'confirmation'}) |
|
- |
-
|
- $Lang::tr{'this field may be blank'} |
-
+ |
+
|
+ $Lang::tr{'this field may be blank'} |
+
END
}else{
print <
- | | |
- | | |
-
|
- $Lang::tr{'this field may be blank'} |
+
+ | $Lang::tr{'valid till'} (days): |
+ |
+ | | |
+ | | |
+
|
+ $Lang::tr{'this field may be blank'} |
END
@@ -4893,7 +4916,7 @@ END
&General::readhasharray("${General::swroot}/ovpn/caconfig", \%cahash);
&General::readhasharray("${General::swroot}/ovpn/ovpnconfig", \%confighash);
- my @status = `/bin/cat /var/log/ovpnserver.log`;
+ my @status = `/bin/cat /var/run/ovpnserver.log`;
if ($cgiparams{'VPN_IP'} eq '' && -e "${General::swroot}/red/active") {
if (open(IPADDR, "${General::swroot}/red/local-ipaddress")) {
@@ -4935,9 +4958,6 @@ END
$checked{'ENABLED_ORANGE'}{'off'} = '';
$checked{'ENABLED_ORANGE'}{'on'} = '';
$checked{'ENABLED_ORANGE'}{$cgiparams{'ENABLED_ORANGE'}} = 'CHECKED';
- $selected{'DDEVICE'}{'tun'} = '';
- $selected{'DDEVICE'}{'tap'} = '';
- $selected{'DDEVICE'}{$cgiparams{'DDEVICE'}} = 'SELECTED';
$selected{'DPROTOCOL'}{'udp'} = '';
$selected{'DPROTOCOL'}{'tcp'} = '';
@@ -5029,10 +5049,6 @@ END
print <$Lang::tr{'local vpn hostname/ip'}:
|
$Lang::tr{'ovpn subnet'}
|
- $Lang::tr{'ovpn device'} |
- |
$Lang::tr{'protocol'} |
|
@@ -5533,42 +5549,49 @@ END
}
print <
+
+
+
-
|
+
END
;