mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-28 10:40:07 +00:00
fix
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
68204a8140
commit
a6ed524808
@ -82,7 +82,7 @@ check-port(){
|
|||||||
|
|
||||||
local res=$(timeout $TIMEOUT nc -vz${udp} $target $port 2>&1)
|
local res=$(timeout $TIMEOUT nc -vz${udp} $target $port 2>&1)
|
||||||
|
|
||||||
if [[ $res =~ .*open$ ]] ; then
|
if ! [[ $res =~ .*open$ ]] ; then
|
||||||
echo ERROR
|
echo ERROR
|
||||||
else
|
else
|
||||||
echo OK
|
echo OK
|
||||||
|
|||||||
@ -14,10 +14,10 @@ entryPoints:
|
|||||||
address: ':22'
|
address: ':22'
|
||||||
ssh2:
|
ssh2:
|
||||||
address: ':23'
|
address: ':23'
|
||||||
openvpn:
|
#openvpn:
|
||||||
address: ':1194/udp'
|
# address: ':1194/udp'
|
||||||
openvpn2:
|
#openvpn2:
|
||||||
address: ':5555/udp'
|
# address: ':5555/udp'
|
||||||
wireguard:
|
wireguard:
|
||||||
address: ':51820/udp'
|
address: ':51820/udp'
|
||||||
wireguard2:
|
wireguard2:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user