Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmus-kirk committed Aug 7, 2024
1 parent e25df0f commit d549ba8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions docs/wiki/ddns/njalla/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ title: DDNS Using Njalla

Go to your domain on njalla:

![Njalla Domain](/docs/wiki/ddns/njalla/domain.png)
![Njalla Domain](domain.png)

Then press "Add record", select "Dynamic" and write your subdomain in the
input box. It should now be added to your records. Click on the record,
you should now see something like the following:

![Njalla Record](/docs/wiki/ddns/njalla/record.png)
![Njalla Record](record.png)

Given this, your JSON file should contain the following:

Expand Down
14 changes: 7 additions & 7 deletions docs/wiki/vpn/ports/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ 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:** 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!
**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:

![An open port on AirVPN, the port number that should be used in Nixarr is 12345.](./airvpn.png)
![An open port on AirVPN, the port number that should be used in Nixarr is 12345.](airvpn.png)

Then you can set that port for a service, for example

Expand All @@ -30,10 +30,10 @@ Then you can set that port for a service, for example
## Debugging Ports

You can debug an open port using the
`[vpnTestService](https://nixarr.com/options.html#nixarr.vpn.vpntestservice.enable)`.
[nixarr.vpn.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)`.
[nixarr.vpn.vpnTestService.port](https://nixarr.com/options.html#nixarr.vpn.vpntestservice.port).
You can then run:

```sh
Expand Down
2 changes: 1 addition & 1 deletion mkDocs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ in
tmpdir=$(mktemp -d)
mkdir -p $out
cp -r docs $out
cp -r docs docs/wiki $out
# Generate md docs
cat ${optionsDocNixos.optionsCommonMark} > "$tmpdir"/nixos-options.md
Expand Down

0 comments on commit d549ba8

Please sign in to comment.