mirror of
https://github.com/hotio/website.git
synced 2026-01-09 07:53:23 +08:00
add info about new script
This commit is contained in:
parent
47fe9dabd8
commit
589c81de91
@ -10,7 +10,7 @@ Affiliate links:
|
||||
[Proton Unlimited](https://hotio.dev/protonunlimited){: target=_blank rel="noopener" }
|
||||
[Private Internet Access](https://hotio.dev/pia){: target=_blank rel="noopener" }
|
||||
|
||||
5. There needs to be a file `wg0.conf` (for PIA this is done automatically, see `VPN_PROVIDER` variable) located in `/config/wireguard` and you need to set the variable `VPN_ENABLED` to `true` for the VPN to start. If you'd like to execute some of your own bash scripts you can place the scripts alongside your `wg0.conf` file, called `wg0-pre.sh` and `wg0-post.sh`.
|
||||
5. There needs to be a file `wg0.conf` (for PIA this is done automatically, see `VPN_PROVIDER` variable) located in `/config/wireguard` and you need to set the variable `VPN_ENABLED` to `true` for the VPN to start. If you'd like to execute some of your own bash scripts you can place the scripts alongside your `wg0.conf` file, called `wg0-pre.sh` (before vpn is up), `wg0-post.sh` (after vpn is up) or `wg0-port.sh` (after forwarded port change).
|
||||
|
||||
6. Auto retrieve a forwarded port and configure the supported app if set to `true` or if you can manually request/set a forwarded port in the VPN provider's web interface, fill in the port number (just the number). Useful website to check for open ports is [YouGetSignal](https://www.yougetsignal.com/tools/open-ports){: target=_blank rel="noopener" } and [ipleak.net](https://ipleak.net){: target=_blank rel="noopener" } to leak test with `.torrent` file.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user