manual-connections
manual-connections copied to clipboard
fix port forwarding call from connect_to_wireguard_with_token.sh
connect_to_wireguard_with_token.sh seems to call port_forwarding.sh with the external VPN server IP, which results in a 401, failing to set up port forwarding. This PR fixes that by extracting the server_vip from the response payload in connect_to_wireguard_with_token.sh and passing it to port_forwarding.sh as PF_GATEWAY.
@fholzer if I use this the connexion attempt times out. What port number are you using on the VIP host?