haugene / vpn-configs-contrib

A collection of configs for various VPN providers
GNU General Public License v3.0
172 stars 739 forks source link

Update update-port.sh #271

Closed SaintRyoh closed 5 months ago

SaintRyoh commented 5 months ago

Port Forwarding wasn't working.

Breaking change

<placeholder>

Proposed change

output from natpmpc wasn't being parsed correctly, and would break if the protocol came back as "UNKNOWN".  I modified the text parsing a bit to resolve this.
Secondly i noticed that the port would never be seen as opened if you didn't give the provider enough time to open it. So it'll now loop until the port opens.

Type of change

Additional information

Checklist

If user exposed functionality or configuration variables are added/changed: