From: Vincent Vanwaelscappel Date: Wed, 3 Apr 2024 16:58:44 +0000 (+0200) Subject: wip #6841 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=9f039acc01aa63cae0db078f5f89963ca991eadc;p=fluidbook-toolbox.git wip #6841 @0.5 --- diff --git a/resources/servers/alphaville/firewall b/resources/servers/alphaville/firewall index d77fef4ea..f32e92f92 100644 --- a/resources/servers/alphaville/firewall +++ b/resources/servers/alphaville/firewall @@ -63,10 +63,10 @@ for ip in "${auth[@]}" do ufw allow from $ip ufw allow to $ip - ufw allow to $ip port 22 - ufw allow to $ip port 22022 - ufw allow to $ip port 22822 - ufw allow to $ip port 22222 + ufw allow out to $ip port 22 + ufw allow out to $ip port 22022 + ufw allow out to $ip port 22822 + ufw allow out to $ip port 22222 done #SSH diff --git a/resources/servers/brazil/firewall b/resources/servers/brazil/firewall index e3894dfd5..4f251e0ec 100644 --- a/resources/servers/brazil/firewall +++ b/resources/servers/brazil/firewall @@ -62,10 +62,10 @@ for ip in "${auth[@]}" do ufw allow from $ip ufw allow to $ip - ufw allow to $ip port 22 - ufw allow to $ip port 22022 - ufw allow to $ip port 22822 - ufw allow to $ip port 22222 + ufw allow out to $ip port 22 + ufw allow out to $ip port 22022 + ufw allow out to $ip port 22822 + ufw allow out to $ip port 22222 done #SSH diff --git a/resources/servers/cloudatlas/firewall b/resources/servers/cloudatlas/firewall index eebf73901..c83bf10bc 100644 --- a/resources/servers/cloudatlas/firewall +++ b/resources/servers/cloudatlas/firewall @@ -71,10 +71,10 @@ for ip in "${auth[@]}" do ufw allow from $ip ufw allow to $ip - ufw allow to $ip port 22 - ufw allow to $ip port 22022 - ufw allow to $ip port 22822 - ufw allow to $ip port 22222 + ufw allow out to $ip port 22 + ufw allow out to $ip port 22022 + ufw allow out to $ip port 22822 + ufw allow out to $ip port 22222 done #SSH diff --git a/resources/servers/dobermann/firewall b/resources/servers/dobermann/firewall index e8a3b7fc2..4b567173f 100644 --- a/resources/servers/dobermann/firewall +++ b/resources/servers/dobermann/firewall @@ -68,10 +68,10 @@ for ip in "${auth[@]}" do ufw allow from $ip ufw allow to $ip - ufw allow to $ip port 22 - ufw allow to $ip port 22022 - ufw allow to $ip port 22822 - ufw allow to $ip port 22222 + ufw allow out to $ip port 22 + ufw allow out to $ip port 22022 + ufw allow out to $ip port 22822 + ufw allow out to $ip port 22222 done for ip in "${backup[@]}" diff --git a/resources/servers/dracula/firewall b/resources/servers/dracula/firewall index e0544bad6..7c3b1867d 100644 --- a/resources/servers/dracula/firewall +++ b/resources/servers/dracula/firewall @@ -64,10 +64,10 @@ for ip in "${auth[@]}" do ufw allow from $ip ufw allow to $ip - ufw allow to $ip port 22 - ufw allow to $ip port 22022 - ufw allow to $ip port 22822 - ufw allow to $ip port 22222 + ufw allow out to $ip port 22 + ufw allow out to $ip port 22022 + ufw allow out to $ip port 22822 + ufw allow out to $ip port 22222 done #SSH diff --git a/resources/servers/elephantman/firewall b/resources/servers/elephantman/firewall index 33287e465..7d0835d98 100644 --- a/resources/servers/elephantman/firewall +++ b/resources/servers/elephantman/firewall @@ -62,10 +62,10 @@ for ip in "${auth[@]}" do ufw allow from $ip ufw allow to $ip - ufw allow to $ip port 22 - ufw allow to $ip port 22022 - ufw allow to $ip port 22822 - ufw allow to $ip port 22222 + ufw allow out to $ip port 22 + ufw allow out to $ip port 22022 + ufw allow out to $ip port 22822 + ufw allow out to $ip port 22222 done for ip in "${backup[@]}" diff --git a/resources/servers/fastandfurious/firewall b/resources/servers/fastandfurious/firewall index 38817ecf0..6ee147ece 100644 --- a/resources/servers/fastandfurious/firewall +++ b/resources/servers/fastandfurious/firewall @@ -63,10 +63,10 @@ for ip in "${auth[@]}" do ufw allow from $ip ufw allow to $ip - ufw allow to $ip port 22 - ufw allow to $ip port 22022 - ufw allow to $ip port 22822 - ufw allow to $ip port 22222 + ufw allow out to $ip port 22 + ufw allow out to $ip port 22022 + ufw allow out to $ip port 22822 + ufw allow out to $ip port 22222 done for ip in "${backup[@]}" diff --git a/resources/servers/godzilla/firewall b/resources/servers/godzilla/firewall index 5a07f00ea..c5d083ec5 100644 --- a/resources/servers/godzilla/firewall +++ b/resources/servers/godzilla/firewall @@ -61,10 +61,10 @@ for ip in "${auth[@]}" do ufw allow from $ip ufw allow to $ip - ufw allow to $ip port 22 - ufw allow to $ip port 22022 - ufw allow to $ip port 22822 - ufw allow to $ip port 22222 + ufw allow out to $ip port 22 + ufw allow out to $ip port 22022 + ufw allow out to $ip port 22822 + ufw allow out to $ip port 22222 done for ip in "${backup[@]}" diff --git a/resources/servers/her2/firewall b/resources/servers/her2/firewall index 82093705f..9b26af07f 100644 --- a/resources/servers/her2/firewall +++ b/resources/servers/her2/firewall @@ -68,10 +68,10 @@ for ip in "${auth[@]}" do ufw allow from $ip ufw allow to $ip - ufw allow to $ip port 22 - ufw allow to $ip port 22022 - ufw allow to $ip port 22822 - ufw allow to $ip port 22222 + ufw allow out to $ip port 22 + ufw allow out to $ip port 22022 + ufw allow out to $ip port 22822 + ufw allow out to $ip port 22222 done for ip in "${backup[@]}" diff --git a/resources/servers/kingkong/firewall b/resources/servers/kingkong/firewall index e44ba2093..7d73751b0 100644 --- a/resources/servers/kingkong/firewall +++ b/resources/servers/kingkong/firewall @@ -64,10 +64,10 @@ for ip in "${auth[@]}" do ufw allow from $ip ufw allow to $ip - ufw allow to $ip port 22 - ufw allow to $ip port 22022 - ufw allow to $ip port 22822 - ufw allow to $ip port 22222 + ufw allow out to $ip port 22 + ufw allow out to $ip port 22022 + ufw allow out to $ip port 22822 + ufw allow out to $ip port 22222 done for ip in "${backup[@]}"