Appearance
How to comsume Managed Reverse Forward Proxy ​
The services are consumed exclusively via the portal or API of the Enterprise Service Cloud.
Pre-Conditions ​
In order to use the Cloud Network Services, various conditions must be met.
Network Range Reservation ​
For "Cloud Network Service" to be consumed, a customer IP range must be reserved once, which is then automatically managed by Swisscom. This task is done by Swisscom at onboarding.
DNS-Zone Managed by Swisscom ​
If desired, Swisscom will manage the DNS records associated with the Managed Forward Proxy. This is only possible if the DNS zone is also managed by Swisscom (not part of Managed Forward Proxy)
Create Managed Forward Proxy ​
The Managed Forward Proxy can be ordered in the portal or on the API of the Enterprise Service Cloud.
Create Tufin Function (for Tufin managed tenants only) ​
Create a tufin function that can be selected at create of the service. This is necessary to manage the firewall rules in tufin after creating a Managed Forward Proxy.
Input Parameter ​
| Field | Description | Valid values |
|---|---|---|
| Uplink Topology | Selection of the configured connection of the Enterprise Service Cloud to peripheral systems (outside) | Dropdown Menu (configured Uplink Topology) |
| Plan Name | Selection of performance classes | Dropdown Menu Managed Reverse proxy S Managed Reverse proxy M Managed Reverse proxy L Managed Reverse proxy XL |
| FQDN | DNS record(s) are created if the DNS zone is managed by Swisscom. (A record and/or AAAA record). Leaf the field empty if the DNS zone is not managed by Swisscom | Valid fully qualified domain name. consisting of root domain, domain(s) and hostname separated by dots |
| Description (Optional) | Additional instance description text | Text Input |
| IP-Address Family | Choice of which IP stack should be used for the forward proxy | Dropdown Menu Ipv4 Ipv6 DualStack |
| Enable Socks | Checked: The socks-proxy forwards TCP and UDP connections, helping to bypass network segmentations. (this is a dynamic port forwarding technique) Unchecked: no port forwarding is enabled | Checkbox |
| Tufin Function | Enter the pre-configured Tufin Function (this input is only visible tu tufin enabled tenants) | Text Input |
| List allow destination IP | List of destination IPs the Managed Forward Proxy allows. For the exact syntax see "Technical-Details". Only the here listed entities will be activated | Multi-Line-Textbox |
| List allow destination Domains | List of destination Domains the Managed Forward Proxy allows. For the exact syntax see "Technical-Details". Only the entities listed here will be activated | Multi-Line-Textbox |
| List deny destination IP | List of destination IPs the Managed Forward Proxy blocks. For the exact syntax see "Technical-Details". Only the entities listed here will be activated | Multi-Line-Textbox |
| List deny destination Domains | List of destination Domains the Managed Forward Proxy blocks. For the exact syntax see "Technical-Details". Only the entities listed here will be activated | Multi-Line-Textbox |
| List allow Source IP | List of source IPs the Managed Forward Proxy acepts. For the exact syntax see "Technical-Details". Only the entities listed here will be activated | Multi-Line-Textbox |
| List deny Source IP | List of source IPs the Managed Forward Proxy blocks. For the exact syntax see "Technical-Details". Only the entities listed here will be activated | Multi-Line-Textbox |
Post Tasks ​
When the Managed Forward Proxy is created, the firewall-rules between the consuming servers and the Managed Forward Proxy must be set accordingly.
Edit Managed Forward Proxy ​
Some configuration parameters of the Managed Forward Proxy can be changed. The service is not interrupted by doing this. Use this action to change your instance settings.
Input Parameter ​
| Field | Description | Valid values |
|---|---|---|
| Plan Name | Selection of performance classes | Dropdown Menu Managed Forward Proxy S Managed Forward Proxy M Managed Forward Proxy L Managed Forward Proxy XL |
| IP-Address Family | Choice of which IP stack should be used for the Managed Forward Proxy | Dropdown Menu DualStack |
| Enable Socks | Checked: The socks-proxy forwards TCP and UDP connections, helping to bypass network segmentations. (this is a dynamic port forwarding technique) Unchecked: no port forwarding is enabled | Checkbox |
| List allow destination IP | List of destination IPs the Managed Forward Proxy allows. For the exact syntax see "Technical-Details". Only the here listed entities will be activated | Multi-Line-Textbox |
| List allow destination Domains | List of destination Domains the Managed Forward Proxy allows. For the exact syntax see "Technical-Details". Only the here listed entities will be activated | Multi-Line-Textbox |
| List allow Source IP | List of source IPs the Managed Forward Proxy acepts. For the exact syntax see "Technical-Details". Only the here listed entities will be activated | Multi-Line-Textbox |
| List deny destination IP | List of destination IPs the Managed Forward Proxy blocks. For the exact syntax see "Technical-Details". Only the here listed entities will be activated | Multi-Line-Textbox |
| List deny destination Domains | List of destination Domains the Managed Forward Proxy blocks. For the exact syntax see "Technical-Details". Only the here listed entities will be activated | Multi-Line-Textbox |
| List deny Source IP | List of source IPs the Managed Forward Proxy blocks. For the exact syntax see "Technical-Details". Only the here listed entities will be activated | Multi-Line-Textbox |
Delete Managed Forward Proxy ​
Delete must be confirmed. No recovery will be possible.
Post Tasks ​
The firewall rules set up between the server/application and Managed Forward Proxy must be removed manually.
Technical Details ​
How cADC Managed Forward Proxy works ​
The Managed Forward Proxy is list-driven. This means that only the destinations listed on the allow list can be reached via the proxy, provided the destination is not on a deny list.
- A common deny list is maintained at platform level, this applies to all forward proxy instances.
- Furthermore, allow-list and deny-list for forward proxy instances are maintained.
Allow and deny lists ​
An allow or deny list actually consists of 2 lists:
one for hosts and domains ​
- Format Host: host.domain.tld
- Format domain: .domain.tld (= _.domain.tld), .subdomain.domain.tld (= _.subdomain.domain.tld)
one for IP addresses ​
- IPv4: 1.2.3.4
- IPv6: 0:0:0:0:0:ffff:0102:0304 (or compressed ::ffff:102:304)
Ports are not included in the lists.
All ports on a destination are always blocked or allowed.
Common Deny List ​
The common deny list only exists once on the platform (F5 node or F5 guest) in the common partition.
It is filled by the platform operator on the basis of official orders (security, GL, legislators?), but is initially empty.
Deny list ​
There is a deny list for domains/hosts or IP addresses for each forward proxy instance.
They can be empty, in which case the respective forward proxy instance is controlled purely by the allow list.
The deny lists are provisioned by the user/integrator via the UI/API.
Deny list rules
- The entries * or *.* are not supported; if everything is to be blocked, then the allow list must be emptied Everything else can be put on the deny list, including:
-> TLD (Top Level Domains) may be blocked (e.g. _.su, _.ru, _.cn) -> ccSLD (Country Code Second Level Domains) may also be blocked (e.g. _.co.uk or *.com.tw)
Allow List ​
There is an allow list for domains/hosts or IP addresses for each forward proxy instance.
They can be empty, in which case the respective forward proxy instance is completely closed and no destinations can be reached.
The allow lists are provisioned by the user/integrator via the UI/API.
Allow list rules
- The entries * or *.* are not supported; a fully open proxy is not supported A maximum of one entire domain may be added to the allow list (e.g. _.swisscom.ch)
-> TLD (top level domains) are generally not allowed on the allow list (e.g. _.ch)
-> ccSLD (Country Code Second Level Domains) must be observed (e.g. _.bbc.co.uk), _.co.uk or *.com.tw must also not be on the allow list
Application examples for the interaction of deny and allow lists ​
- The user/integrator wants to allow all destinations in the domain *.swisscom.com, except www.swisscom.com:
-> first "www.swisscom.com" is defined in the deny list
-> then ".swisscom.com" is defined in the allow list - The user/integrator wants to block all destinations in the *.swisscom.com domain, except sftp.swisscom.com:
-> "sftp.swisscom.com" must be defined in the allow list
-> make sure that ".swisscom.com" is neither on the deny nor on the allow list - A destination sftp.swisscom.com can be addressed under the IP addresses 1.2.3.4, 1.2.3.5 and 0:0:0:0:0:ffff:0102:0306:
-> in the allow list for hosts/domains the following entries are defined:
sftp.swisscom.com -> in the allow list for IP addresses:
1.2.3.4
1.2.3.5
0:0:0:0:0:ffff:0102:0306
Service-Ports ​
The HTTP/Web proxy runs on port 8080 of the forward proxy, which accepts requests that comply with RFC7230 or RFC7231.
A SOCKS proxy runs optionally (must be switched on, is switched off by default) on port 1080 of the forward proxy. This accepts requests that comply with the SOCKS5 protocol RFC1928.
All lists apply to both service ports (8080 = web/HTTP proxy, 1080 = SOCKS proxy).
Grey-List ​
- The main purpose of the grey list is to reduce the risk of domain fronting (link?). It is a requirement that arose from RISKINI-22 (DomainFronting Prevention).
- Domains are listed in which no wildcards are allowed. The destinations must therefore be defined using FQDN (Fully Qualified Domain Name = exact host name).
- The grey list is not maintained on the platform (F5 node or F5 guest) itself, but in Git. Current location: https://git.swisscom.com/projects/CADCAUTOMA/repos/cadcfpgreylist/browse/greylist.txt
Special grey-list domain rules
The following rules are checked during provisioning.
- The domains listed in the grey list must not be on the allow list (e.g. *.amazonws.com)
- For the domains listed in the grey list, no sub-domains may be on the allow list (e.g. *.eu-west-1.amazonaws.com)
- For the domains listed in the grey list, only host names on the allow list (e.g. swisscom-ingest.s3.amazonaws.com) are allowed.
- The grey list does not apply to entries on the deny list.Syntax examples for allow and deny lists ​
The Manage Forward Proxy supports the following syntax for the allow and deny inputs in the multiline textboxes:
General
- everithing after a ! on the same line is ignored
- empty lines are ignored,
- spaces on a line are deleted
- only one entry per line is supported
- comma separated entries are not supported
List allow destination IP
1.1.1.1
!this is a description of a section
10.10.10.0
10.10.11.0/25
10.10.12.0/25 !this is a discription of the entry
255.255.255.0/28
2001:db8:0:0:0:0:0:0/64
2001:db8:0:0:0:0:2:1List allow destination Domains
.co.uk !partner company
*.com.tw
!Update locazions
www.sagex.ch
updatehost.microsoft.com
.web.mydomain.comList deny destination IP
1.1.1.1
!this is a description of a section
10.10.10.0
10.10.11.0/25
10.10.12.0/25 !this is a discription of the entry
255.255.255.0/28
2001:db8:0:0:0:0:0:0/64
2001:db8:0:0:0:0:2:1``List deny destination Domains
.co.uk
*.com.tw
!main webserver
www.sagex.ch
updatehost.microsoft.com
.web.mydomain.comList allow Source IP
1.1.1.1
!this is a description of a section
10.10.10.0
10.10.11.0/25
10.10.12.0/25 !this is a discription of the entry
255.255.255.0/28
2001:db8:0:0:0:0:0:0/64
2001:db8:0:0:0:0:2:1List deny Source IP
1.1.1.1
10.10.10.0
10.10.11.0/25
10.10.12.0/25
255.255.255.0/28
2001:db8:0:0:0:0:0:0/64
2001:db8:0:0:0:0:2:1