chore(qbittorrent): Update PORT_FORWARDING script
This commit is contained in:
parent
42c21d58e4
commit
e8b40da5e8
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ data:
|
||||||
VPN_PORT_FORWARDING_UP_COMMAND: |
|
VPN_PORT_FORWARDING_UP_COMMAND: |
|
||||||
/bin/sh -c '
|
/bin/sh -c '
|
||||||
wget -O- --retry-connrefused \
|
wget -O- --retry-connrefused \
|
||||||
--post-data "json={\"listen_port\":{{PORT}},\"current_network_interface\":\"{{VPN_INTERFACE}}\",\"random_port\":false,\"upnp\":false}" \
|
--post-data "json={\"listen_port\":{{PORTS}},\"current_network_interface\":\"tun0\",\"random_port\":false,\"upnp\":false}" \
|
||||||
http://127.0.0.1:8112/api/v2/app/setPreferences 2>&1
|
http://127.0.0.1:8112/api/v2/app/setPreferences 2>&1
|
||||||
'
|
'
|
||||||
VPN_PORT_FORWARDING_DOWN_COMMAND: |
|
VPN_PORT_FORWARDING_DOWN_COMMAND: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue