You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by lf...@apache.org on 2020/09/29 11:27:29 UTC
[incubator-dlab] branch DLAB-1911 updated: [DLAB-1911]: changed
azure ssn and edge security group port range
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DLAB-1911
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-1911 by this push:
new aa6f82a [DLAB-1911]: changed azure ssn and edge security group port range
aa6f82a is described below
commit aa6f82a25adb40555d867cd559d7efc88fcf38fe
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Tue Sep 29 14:24:52 2020 +0300
[DLAB-1911]: changed azure ssn and edge security group port range
---
.../src/general/scripts/azure/project_prepare.py | 68 +++++++++++-----------
.../src/general/scripts/azure/ssn_prepare.py | 46 +++++++--------
2 files changed, 57 insertions(+), 57 deletions(-)
diff --git a/infrastructure-provisioning/src/general/scripts/azure/project_prepare.py b/infrastructure-provisioning/src/general/scripts/azure/project_prepare.py
index 6280b24..d87b5d4 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/project_prepare.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/project_prepare.py
@@ -200,46 +200,46 @@ if __name__ == "__main__":
"name": "in-2",
"protocol": "Tcp",
"source_port_range": "*",
- "destination_port_range": "22, 3128, 80, 443",
+ "destination_port_range": "22",
"source_address_prefix": project_conf['allowed_ip_cidr'],
"destination_address_prefix": "*",
"access": "Allow",
"priority": 110,
"direction": "Inbound"
},
- #{
- # "name": "in-3",
- # "protocol": "Tcp",
- # "source_port_range": "*",
- # "destination_port_range": "3128",
- # "source_address_prefix": "*",
- # "destination_address_prefix": "*",
- # "access": "Allow",
- # "priority": 120,
- # "direction": "Inbound"
- #},
- #{
- # "name": "in-4",
- # "protocol": "Tcp",
- # "source_port_range": "*",
- # "destination_port_range": "80",
- # "source_address_prefix": "*",
- # "destination_address_prefix": "*",
- # "access": "Allow",
- # "priority": 130,
- # "direction": "Inbound"
- #},
- #{
- # "name": "in-5",
- # "protocol": "Tcp",
- # "source_port_range": "*",
- # "destination_port_range": "443",
- # "source_address_prefix": "*",
- # "destination_address_prefix": "*",
- # "access": "Allow",
- # "priority": 140,
- # "direction": "Inbound"
- #},
+ {
+ "name": "in-3",
+ "protocol": "Tcp",
+ "source_port_range": "*",
+ "destination_port_range": "3128",
+ "source_address_prefix": project_conf['allowed_ip_cidr'],
+ "destination_address_prefix": "*",
+ "access": "Allow",
+ "priority": 120,
+ "direction": "Inbound"
+ },
+ {
+ "name": "in-4",
+ "protocol": "Tcp",
+ "source_port_range": "*",
+ "destination_port_range": "80",
+ "source_address_prefix": project_conf['allowed_ip_cidr'],
+ "destination_address_prefix": "*",
+ "access": "Allow",
+ "priority": 130,
+ "direction": "Inbound"
+ },
+ {
+ "name": "in-5",
+ "protocol": "Tcp",
+ "source_port_range": "*",
+ "destination_port_range": "443",
+ "source_address_prefix": project_conf['allowed_ip_cidr'],
+ "destination_address_prefix": "*",
+ "access": "Allow",
+ "priority": 140,
+ "direction": "Inbound"
+ },
{
"name": "out-1",
"protocol": "Tcp",
diff --git a/infrastructure-provisioning/src/general/scripts/azure/ssn_prepare.py b/infrastructure-provisioning/src/general/scripts/azure/ssn_prepare.py
index 1d85aee..b5e95c5 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/ssn_prepare.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/ssn_prepare.py
@@ -197,35 +197,35 @@ if __name__ == "__main__":
"name": "in-1",
"protocol": "Tcp",
"source_port_range": "*",
- "destination_port_range": "80,443,22",
+ "destination_port_range": "80",
"source_address_prefix": ssn_conf['allowed_ip_cidr'],
"destination_address_prefix": "*",
"access": "Allow",
"priority": 100,
"direction": "Inbound"
},
- #{
- # "name": "in-2",
- # "protocol": "Tcp",
- # "source_port_range": "*",
- # "destination_port_range": "443",
- # "source_address_prefix": "*",
- # "destination_address_prefix": "*",
- # "access": "Allow",
- # "priority": 110,
- # "direction": "Inbound"
- #},
- #{
- # "name": "in-3",
- # "protocol": "Tcp",
- # "source_port_range": "*",
- # "destination_port_range": "22",
- # "source_address_prefix": "*",
- # "destination_address_prefix": "*",
- # "access": "Allow",
- # "priority": 120,
- # "direction": "Inbound"
- #},
+ {
+ "name": "in-2",
+ "protocol": "Tcp",
+ "source_port_range": "*",
+ "destination_port_range": "443",
+ "source_address_prefix": ssn_conf['allowed_ip_cidr'],
+ "destination_address_prefix": "*",
+ "access": "Allow",
+ "priority": 110,
+ "direction": "Inbound"
+ },
+ {
+ "name": "in-3",
+ "protocol": "Tcp",
+ "source_port_range": "*",
+ "destination_port_range": "22",
+ "source_address_prefix": ssn_conf['allowed_ip_cidr'],
+ "destination_address_prefix": "*",
+ "access": "Allow",
+ "priority": 120,
+ "direction": "Inbound"
+ },
{
"name": "out-1",
"protocol": "*",
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org