Merge branch 'master' of disconnected-by-peer.at:go-opsi/openvpn.config

This commit is contained in:
Mario Fetka 2019-01-04 12:59:34 +01:00
commit 35e1bd2585

View File

@ -132,11 +132,6 @@ copy "%ScriptPath%\set_2nd_ip.vbs" %SystemDrive%\tmp\
"%SystemDrive%\tmp\reg_ndiwswan_bind.vbs"
"%SystemDrive%\tmp\enable_rdp.vbs"
;"%ScriptPath%\reghack.vbs"
;"%ScriptPath%\reghack2.vbs"
;"%ScriptPath%\reg_ndiwswan_bind.vbs"
;"%Scriptpath%\enable_rdp.vbs"
$wget$ -P $OvpnConfigDir$ --http-user=%PCName% --password=$pw$ -r -R "index.html*" -nd -nH -np $ConfigURL$/%PCName%
cacls $OvpnConfigDir$ /E /R Benutzer
@ -147,7 +142,7 @@ netsh firewall set opmode mode=disable interface="LAN-Verbindung OpenVPN"
netsh firewall set service type=remotedesktop mode=enable scope=all
if not ($local_ip_addr2$ = "")
%ScriptPath%\set_2nd_ip.vbs $local_ip_addr2$ $local_netmask2$
%SystemDrive%\tmp\set_2nd_ip.vbs $local_ip_addr2$ $local_netmask2$
endif
;$wget_uninst$ /silent