Skip to content

Commit e561a50

Browse files
aneta-petrovamaximiliankolbekohl
authored
Review firewall requirements (#4210)
* Move port & firewall to Planning and review it * Review port procedure * Update installing postgresql to work without firewall snippets * Drop firewall-cmd snippet from provisioning * Merge modules on opening ports * Drop integrated/external proxy definitions Integrated/external proxy was reported as flawed concept that we should get rid of. * Drop obsolete information on outgoing traffic --------- Co-authored-by: Maximilian Kolb <[email protected]> Co-authored-by: Ewoud Kohl van Wijngaarden <[email protected]>
1 parent 33913d4 commit e561a50

24 files changed

+171
-234
lines changed

guides/common/assembly_major-project-components.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,4 @@ include::modules/ref_list-of-key-open-source-components-of-foreman.adoc[leveloff
1212

1313
include::modules/con_smartproxy-features.adoc[leveloffset=+1]
1414

15-
include::modules/con_smartproxy-networking.adoc[leveloffset=+1]
16-
1715
include::modules/con_major-project-components-additional-resources.adoc[leveloffset=+1]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
include::modules/con_networking-considerations-in-project.adoc[]
2+
3+
include::modules/con_smart-proxy-networking.adoc[leveloffset=+1]
4+
5+
include::modules/ref_project-server-port-and-firewall-requirements.adoc[leveloffset=+1]
6+
7+
include::modules/ref_smart-proxy-port-and-firewall-requirements.adoc[leveloffset=+1]

guides/common/assembly_planning-project-server-installation.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ ifdef::katello,orcharhino,satellite[]
1212
include::modules/ref_best-practices-for-optimizing-storage.adoc[leveloffset=+1]
1313
endif::[]
1414

15-
include::modules/ref_port-and-firewall-requirements.adoc[leveloffset=+1]
16-
1715
ifeval::["{mode}" == "connected"]
1816
include::modules/ref_ipv6-and-ipv4-requirements.adoc[leveloffset=+1]
1917
endif::[]

guides/common/assembly_preparing-environment-for-capsule-installation.adoc

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,15 @@ Review the following prerequisites before you install {SmartProxyServer}.
99

1010
include::modules/ref_operating-system-requirements.adoc[leveloffset=+1]
1111

12-
// System Requirements
1312
include::modules/ref_system-requirements.adoc[leveloffset=+1]
1413

1514
ifdef::katello,satellite[]
16-
// Storage requirements
1715
include::modules/ref_capsule-storage-requirements.adoc[leveloffset=+1]
1816

1917
include::modules/ref_best-practices-for-optimizing-storage.adoc[leveloffset=+1]
2018
endif::[]
2119

22-
// Port and Firewall Requirements
23-
include::modules/ref_smart-proxy-port-and-firewall-requirements.adoc[leveloffset=+1]
24-
25-
// Enabling Connections from {ProjectServer} and Clients to a {SmartProxyServer}
26-
include::modules/proc_enabling-connections-to-capsule.adoc[leveloffset=+1]
20+
include::modules/proc_opening-required-ports.adoc[leveloffset=+1]
2721

2822
ifdef::parent-context[:context: {parent-context}]
2923
ifndef::parent-context[:!context:]

guides/common/assembly_preparing-environment-for-project-server-installation.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
include::modules/con_preparing-environment-for-project-server-installation.adoc[]
44

5-
include::modules/proc_enabling-client-connections-to-project-server.adoc[leveloffset=+1]
5+
include::modules/proc_opening-required-ports.adoc[leveloffset=+1]
66

77
include::modules/proc_verifying-dns-resolution.adoc[leveloffset=+1]
88

guides/common/modules/con_http-booting-requirements-with-managed-dhcp.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ To provision machines through HTTP booting ensure that you meet the following re
99
For HTTP booting to work, ensure that your environment has the following client-side configurations:
1010

1111
* All the network-based firewalls are configured to allow clients on the subnet to access the {SmartProxy}.
12-
For more information, see xref:common/modules/con_smartproxy-networking.adoc#{smart-proxy-context}-networking_{context}[].
12+
For more information, see xref:common/modules/con_networking-considerations-in-project.adoc#networking-considerations-in-{project-context}[].
1313
* Your client has access to the DHCP and DNS servers.
1414
* Your client has access to the HTTP UEFI Boot {SmartProxy}.
1515

guides/common/modules/con_http-booting-requirements-with-unmanaged-dhcp.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ To provision machines through HTTP booting without managed DHCP ensure that you
1212
* Ensure that your client has access to the DHCP and DNS servers.
1313
* Ensure that your client has access to the HTTP UEFI Boot {SmartProxy}.
1414
* Ensure that all the network-based firewalls are configured to allow clients on the subnet to access the {SmartProxy}.
15-
For more information, see xref:common/modules/con_smartproxy-networking.adoc#{smart-proxy-context}-networking_{context}[].
15+
For more information, see xref:common/modules/con_networking-considerations-in-project.adoc#networking-considerations-in-{project-context}[].
1616

1717
.Network requirements
1818
* An unmanaged DHCP server available for clients.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[id="networking-considerations-in-{project-context}"]
2+
= Networking considerations in {Project}
3+
4+
For the components of {Project} architecture to communicate, the required network ports must be open to enable incoming and outgoing traffic between the components.

guides/common/modules/con_pxe-booting-requirements.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ To provision machines using PXE booting, ensure that you meet the following requ
1010

1111
.Client requirements
1212
* Ensure that all the network-based firewalls are configured to allow clients on the subnet to access the {SmartProxy}.
13-
For more information, see xref:common/modules/con_smartproxy-networking.adoc#{smart-proxy-context}-networking_{context}[].
13+
For more information, see xref:common/modules/con_networking-considerations-in-project.adoc#networking-considerations-in-{project-context}[].
1414

1515
* Ensure that your client has access to the DHCP and TFTP servers.
1616

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[id="{smart-proxy-context}-networking"]
2+
= {SmartProxy} networking
3+
4+
The communication between {ProjectServer} and hosts registered to a {SmartProxyServer} is routed through that {SmartProxyServer}.
5+
{SmartProxyServer} also provides {Project} services to hosts.
6+
7+
ifndef::satellite[]
8+
In a topology with hosts connecting to a {SmartProxyServer},
9+
endif::[]
10+
ifdef::satellite[]
11+
In xref:{project-context}-topology-with-hosts-connecting-to-a-{smart-proxy-context}[],
12+
endif::[]
13+
{SmartProxyServer} provides a single endpoint for all host network communications so that in remote network segments, only firewall ports to the {SmartProxyServer} itself must be open.
14+
Hosts do not need direct access to {ProjectServer}.
15+
16+
// TODO: Replace graphic with simpler graphic and reference to "Port and firewall requirements"
17+
ifdef::satellite[]
18+
[id="{project-context}-topology-with-hosts-connecting-to-a-{smart-proxy-context}"]
19+
.{Project} topology with hosts connecting to a {SmartProxy}
20+
image::common/topology-isolated-satellite.png[{ProjectName} topology with a host]
21+
endif::[]
22+
23+
ifndef::satellite[]
24+
In a topology with hosts connecting directly to {ProjectServer},
25+
endif::[]
26+
ifdef::satellite[]
27+
In xref:{project-context}-topology-with-hosts-connecting-directly-to-{project-context}-server[],
28+
endif::[]
29+
hosts need direct network access to {ProjectServer}.
30+
This applies to all {SmartProxyServers} because they are hosts of {ProjectServer}.
31+
32+
// TODO: Replace graphic with simpler graphic and reference to "Port and firewall requirements"
33+
ifdef::satellite[]
34+
[id="{project-context}-topology-with-hosts-connecting-directly-to-{project-context}-server"]
35+
.{Project} topology with hosts connecting directly to {ProjectServer}
36+
image::common/topology-direct-satellite.png[{ProjectName} topology with a direct host]
37+
endif::[]

0 commit comments

Comments
 (0)