manual-connections icon indicating copy to clipboard operation
manual-connections copied to clipboard

fix port forwarding call from connect_to_wireguard_with_token.sh

Open fholzer opened this issue 8 months ago • 1 comments

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 avatar Dec 19 '23 18:12 fholzer

@fholzer if I use this the connexion attempt times out. What port number are you using on the VIP host?

ebardie avatar Mar 19 '24 18:03 ebardie