angristan / wireguard-install

WireGuard VPN installer for Linux servers
https://stanislas.blog/2019/01/how-to-setup-vpn-server-wireguard-nat-ipv6/
MIT License
7.48k stars 1.26k forks source link

Detect public interface bug #511

Open daniil-khaletsky opened 1 week ago

daniil-khaletsky commented 1 week ago

Detect public interface and pre-fill for the user

The installation script does not accept a network interface that has a dot in its name. For example, "bond0.10"

To fix this, you need to add the dot character to the regular expression string - "^[a-zA-Z0-9_.]+$" in line 122 of the wireguard-install.sh script.