-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.env
More file actions
42 lines (31 loc) · 1.16 KB
/
Copy pathexample.env
File metadata and controls
42 lines (31 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Cloudflare IPs URLs
CF_IPV4_URL = "https://www.cloudflare.com/ips-v4"
CF_IPV6_URL = "https://www.cloudflare.com/ips-v6"
# Do your service/instance support QUIC/HTTP3?
IS_HTTP3_ENABLED = True
# Do your service/instance support IPv6?
IS_IPV6_ENABLED = True
# Do your service/instance support plaintext HTTP (port 80)?
IS_HTTP_ENABLED = False
# Do you want to use Cloudflare IPs or use custom IP list to access your service/instance?
USE_CUSTOM_IP_LIST = False
# Custom IP list file path if not using Cloudflare IPs list
CUSTOM_IP_LIST_FILE = "custom_ip_list.txt"
# Custom NSG Group name if not using the default one for setting Cloudflare IPs
CUSTOM_DISPLAY_NAME = "My NSG Group"
# Compartment OCID
COMPARTMENT_OCID = "ocid1.compartment.oc1..aaaaaaa..."
# VCN OCID
VCN_OCID = "ocid1.vcn.oc1..aaaaaaa..."
# Defined Tags
DEFINED_TAGS_CREATED_BY = "default/your@email.com"
# Freeform Tags
FREEFORM_TAGS_CREATED_BY = "OCI-NSG-Python-Script"
FREEFORM_TAGS_PURPOSE = "Allow Cloudflare IPs"
# Port Ranges (EDIT THIS IF YOU WANT TO CHANGE PORTS)
HTTPS_MIN_RANGE = 443
HTTPS_MAX_RANGE = 443
HTTP_MIN_RANGE = 80
HTTP_MAX_RANGE = 80
TCP_PROTOCOL = "6" # TCP
UDP_PROTOCOL = "17" # UDP