Skip to content

Commit

Permalink
updated wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmus-kirk committed Aug 7, 2024
1 parent d26de61 commit 0eebf96
Showing 1 changed file with 32 additions and 6 deletions.
38 changes: 32 additions & 6 deletions docs/wiki/vpn/ports/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ You can debug an open port using the
The service should be started automatically, to rerun it:

```sh
systemctl restart vpnTestService
systemctl restart vpn-test-service
```

If the DNS and IP checks out, it will
Expand All @@ -58,15 +58,41 @@ You can then run the following from any computer:
```

Where the "`public VPN ip`" is the public IP of your VPN address, i.e. the
one shown in the `vpnTestService` logs as your ip:
one shown in the `vpn-test-service` logs as your ip:

```
Aug 07 08:19:55 pi vpn-test-service-start[1986469]: ; <<>> DiG 9.18.27 <<>> google.com
...
Aug 07 08:19:55 pi vpn-test-service-start[1986467]: Getting IP:
Aug 07 08:19:55 pi vpn-test-service-start[1986490]: {
Aug 07 08:19:55 pi vpn-test-service-start[1986490]: "ip": "12.34.56.78",
Aug 07 08:19:55 pi vpn-test-service-start[1986490]: "hostname": "---.--.---.--.-------.----",
Aug 07 08:19:55 pi vpn-test-service-start[1986490]: "city": "---------",
Aug 07 08:19:55 pi vpn-test-service-start[1986490]: "region": "---------",
Aug 07 08:19:55 pi vpn-test-service-start[1986490]: "country": "--",
Aug 07 08:19:55 pi vpn-test-service-start[1986490]: "loc": "00.0000,00.0000",
Aug 07 08:19:55 pi vpn-test-service-start[1986490]: "org": "----------------------",
Aug 07 08:19:55 pi vpn-test-service-start[1986490]: "postal": "------",
Aug 07 08:19:55 pi vpn-test-service-start[1986490]: "timezone": "----------------",
Aug 07 08:19:55 pi vpn-test-service-start[1986490]: "readme": "-----------------------------"
Aug 07 08:19:55 pi vpn-test-service-start[1986490]: }
Aug 07 08:19:58 pi vpn-test-service-start[1986467]: DNS leak test:
Aug 07 08:19:58 pi vpn-test-service-start[1986504]: Your IP:
Aug 07 08:19:58 pi vpn-test-service-start[1986504]: 12.34.56.78 [------, ----------------------]
Aug 07 08:19:58 pi vpn-test-service-start[1986504]: You use 3 DNS servers:
Aug 07 08:19:58 pi vpn-test-service-start[1986504]: ---.---.---.-- [------, -----------------------]
Aug 07 08:19:58 pi vpn-test-service-start[1986504]: ---.---.---.- [------, -----------------------]
Aug 07 08:19:58 pi vpn-test-service-start[1986504]: ---.---.---.- [------, -----------------------]
Aug 07 08:19:58 pi vpn-test-service-start[1986504]: Conclusion:
Aug 07 08:19:58 pi vpn-test-service-start[1986504]: DNS may be leaking.
```

Upon succesful connection type messages that _should_ show up in the
`vpnTestService` logs. Reminder, to check the logs:
Here, your "`public VPN ip`" would be "`12.34.56.78`". Upon succesful
connection type messages that _should_ show up in the `vpn-test-service`
logs. Reminder, to check the logs:

```sh
journalctl -xeu vpnTestService
journalctl -xeu vpn-test-service
```

0 comments on commit 0eebf96

Please sign in to comment.