Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: added firewall requirements #709

Merged
merged 2 commits into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/.custom_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,19 @@ changelog
compinit
config
dev
gapped
grpc
https
FIPS
fpath
FQDN
HIPAA
Hostagent
LTS
os
SLA
SRU
tcp
toolchain
zshrc
ESM
Expand Down
5 changes: 4 additions & 1 deletion docs/custom_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,10 @@
'http://127.0.0.1:8000',

# Linkcheck does not have access to the repo
'https://github.com/canonical/ubuntu-pro-for-wsl/*'
'https://github.com/canonical/ubuntu-pro-for-wsl/*',

# Not a URL in the reference document
r'http://contracts.canonical.com'
CarlosNihelton marked this conversation as resolved.
Show resolved Hide resolved
]

# Pages on which to ignore anchors
Expand Down
3 changes: 2 additions & 1 deletion docs/howto/set-up-up4w.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# How to install and configure UP4W

## 1. Check that you meet UP4W prerequisites
## 1. Check that you meet the prerequisites

To install and configure UP4W you will need:

- A Windows host
- An Ubuntu Pro token
- Verify that the [firewall rules are correctly set up](../reference/firewall_requirements.md)


<details><summary> How do I get an Ubuntu Pro token? </summary>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions docs/reference/firewall_requirements.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Firewall requirements

Firewall rules must be configured for Ubuntu Pro for WSL to operate fully.

The following figure shows the possible connections between the different components and their default ports and protocols.

![Firewall considerations.](./assets/firewall_requirements.png)

The following table lists the default ports and protocols used by Ubuntu Pro for WSL:

| Description | Client System | Server System | Protocol | Default Port | Target address |
|-------------|---------------|---------------|----------|--------------|----------------|
| Required for online installation of WSL instances.|Windows Host / Pro Agent|MS Store | tcp | 443 (https) | See [Microsoft documentation](https://learn.microsoft.com/en-us/microsoft-store/prerequisites-microsoft-store-for-business) for a list of addresses to allow. |
| Ubuntu Pro enablement |Windows Host / Pro Agent |Canonical Contract Server |tcp |443 (https) | contracts.canonical.com |
| Landscape management | Windows Host / Pro Agent | Landscape Server | tcp | 6554 (grpc) | On-premise Landscape address |
CarlosNihelton marked this conversation as resolved.
Show resolved Hide resolved
| WSL instance management on the Windows host. Firewall rules set up at installation time of the WSL Pro agent. | WSL Instance / wsl-pro-service | Windows Host / Pro Agent | tcp | 49152-65535 (dynamic) | Hyper-V Virtual Ethernet Adapter IP |
| Ubuntu Pro. For air-gapped installation refer to the [Ubuntu Pro documentation](https://canonical-ubuntu-pro-client.readthedocs-hosted.com/en/latest/explanations/using_pro_offline/). | WSL Instance / Ubuntu Pro client | Canonical Contract Server | tcp | 443 (https) | contracts.canonical.com |
| Landscape | WSL Instance / Ubuntu Pro client | Landscape Server | tcp | 443 (https) | On-premise Landscape address |

> Access to the contract server and Landscape server is required for proper operation of Ubuntu Pro for WSL. If the client system is behind a proxy, ensure that the proxy is configured to allow the required connections.

> Access to the Microsoft Store is required for the online installation of WSL instances. Without it Ubuntu Pro for WSL will still be functional but it will not be possible to install WSL instances centrally from Landscape. In this case WSL instances have to be installed manually on the Windows hosts.
CarlosNihelton marked this conversation as resolved.
Show resolved Hide resolved
1 change: 1 addition & 0 deletions docs/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ pieces that make up the Ubuntu Pro for WSL tool and the value it provides.
```{toctree}
:titlesonly:

firewall_requirements
landscape
landscape_client
ubuntu_pro
Expand Down
Loading