Added wiki page and cleaned up dirs and users
This commit is contained in:
+3
-1
@@ -11,7 +11,9 @@ This is an index of existing articles:
|
||||
- **[Basic Example](/wiki/examples/example-1)**
|
||||
- **[Example Configuration Where Port Forwarding Is Not an Option](/wiki/examples/example-2)**
|
||||
- **[Exposing Services Safely](/wiki/expose)**
|
||||
- **[Running Services Not Covered by Nixarr Through a VPN](/wiki/vpn)**
|
||||
- **VPN**
|
||||
- **[Running Services Not Covered by Nixarr Through a VPN](/docs/wiki/vpn/uncovered-services)**
|
||||
- **[Opening Ports](/docs/wiki/vpn/ports/index.md)**
|
||||
|
||||
For learning how to setup the "*Arrs", once running, refer to the [servarr
|
||||
wiki](https://wiki.servarr.com/)
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
---
|
||||
title: Opening Ports
|
||||
---
|
||||
|
||||
In order to open a port through a VPN you need to open a port with your VPN-provider.
|
||||
|
||||
> **Note:** Not all VPN-providers support this feature! Notably, Mullvad does not anymore!
|
||||
|
||||
> **Note:** The port present in the
|
||||
> [nixarr.vpn.wgConf](https://nixarr.com/options.html#nixarr.vpn.wgconf),
|
||||
> should not be used for any options!
|
||||
|
||||
## AirVPN
|
||||
|
||||
Go to the [ports page](https://airvpn.org/ports/) at AirVPN's website open
|
||||
a port. After opening it should look like this:
|
||||
|
||||

|
||||
|
||||
Then you can set that port for a service, for example
|
||||
|
||||
```nix {.numberLines}
|
||||
nixarr.transmission = {
|
||||
enable = true;
|
||||
vpn.enable = true;
|
||||
peerPort = 12345;
|
||||
};
|
||||
```
|
||||
|
||||
## Debugging Ports
|
||||
|
||||
You can debug an open port using the
|
||||
`[vpnTestService](https://nixarr.com/options.html#nixarr.vpn.vpntestservice.enable)`.
|
||||
If the DNS and IP checks out, it will
|
||||
open a `netcat` instance on the port specified in
|
||||
`[vpnTestService.port](https://nixarr.com/options.html#nixarr.vpn.vpntestservice.port)`.
|
||||
You can then run:
|
||||
|
||||
```sh
|
||||
nc <public VPN ip> <specified port>
|
||||
```
|
||||
|
||||
Where the "_public VPN ip_" is the one shown in the `vpnTestService` logs as
|
||||
your ip. Upon succesful connection type messages that _should_ show up in the
|
||||
`vpnTestService` logs.
|
||||
Reference in New Issue
Block a user