Skip to content

Commit

Permalink
Update Windows.md to remove firewall stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
LeStarch committed Aug 18, 2023
1 parent 5639586 commit 99420c9
Showing 1 changed file with 0 additions and 27 deletions.
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.

0 comments on commit 99420c9

Please sign in to comment.