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

Update Windows.md to remove firewall stuff #2215

Merged
merged 1 commit into from
Aug 18, 2023
Merged
Changes from all commits
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
27 changes: 0 additions & 27 deletions docs/Tutorials/CrossCompilationSetup/Windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,33 +12,6 @@ To start Ubuntu under WSL, search for Ubuntu in the start menu and select the "U
> Full instructions and troubleshooting help is available in the
> [Microsoft documentation](https://learn.microsoft.com/en-us/windows/wsl/install).

Lastly, Windows users must open up a firewall port and forward that port to WSL to
ensure the hardware can call back into F' ground data system running in WSL. First we'll
need to note the IP address of the WSL machine. This is done with the following
command *in an administrator PowerShell*.

```powershell
wsl hostname -I
```

> Record the output of this command for the next step. For this guide, we will use
> the value `127.0.0.1`.

Next, we will add a firewall rule and forward it to the WSL instance. This is done with the following commands:

> Warning: these commands work with the Windows firewall. Security and antivirus tools
> can run extra firewall rules. Users must allow the port `50000` (Or whichever port that
> is going to be used) or disable these extra firewall settings.

**PowerShell: Add and Forward External Firewall Rule**
```PowerShell
New-NetFirewallRule -DisplayName "fprime" -Direction inbound -Profile Any -Action Allow -LocalPort 50000 -Protocol TCP
```

> Remember to change `127.0.0.1` to your recorded ip address as discovered with
> `wsl hostname -I`. Users are advised to remove this rule after the class has been completed.


**IMPORTANT:**

Go to the [Ubuntu 20.04 / 22.04 / Generic](./Linux.md) Linux to finish setting up your WSL environment.
Loading