wireguard-install
wireguard-install copied to clipboard
Add the possibility to choose IPv4/IPv6/dual-stack
I'm talking about the WireGuard network. You can already connect using IPv4 or IPv6.
Currently each peer has an IPv4 and IPv6 address. 3 options should be available during install:
- IPv4 only
- IPv6 only
- Dual stack
Thinking about https://github.com/angristan/wireguard-install/issues/3... Should this be a option asked only during the first run? Otherwise it's going to be a mess when adding more clients
If anything it shouldn't be impossible to run a test to check what external facing IPv6/4's are on the device by default with a Curl and some variant of https://ifconfig.me or https://ifconfig.co (either have some form of api-ish things)
This way the user is a bit more assured of what options are available. Maybe it would be ideal to ask first before the check idk up to you.
I second this. wireguard did not work until I removed all ipv6 stuff from /etc/wireguard/...
.
I second this. wireguard did not work until I removed all ipv6 stuff from
/etc/wireguard/...
.
Weird. I deployed one on Amazon Lightsail just now - no IPv6 exists there and just the standard Angristan install works fine. Did not have to remove any IPv6 related stuff.
Yes, it does assign each client an IPv6 ULA but the clients seem to just go out via IPv4 and not have any issues. This is on a network where the clients are natively IPv4 only.
I always end up going back and deleting all the IPV6 stuff in the configs, and its annoying enough now I want to comment out the script for the IPV6 stuff.
There will come a time where people will be only able to use ipv6
On Thu, Oct 1, 2020 at 10:10 PM mostdcoa [email protected] wrote:
I always end up going back and deleting all the IPV6 stuff in the configs, and its annoying enough now I want to comment out the script for the IPV6 stuff.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/angristan/wireguard-install/issues/5#issuecomment-702489252, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIE2VXDPP2WBPCRCJFBCLLSIUZDHANCNFSM4HK3AEPA .
I always end up going back and deleting all the IPV6 stuff in the configs, and its annoying enough now I want to comment out the script for the IPV6 stuff.
Wouldn't be better to disable IPv6 at the OS level, with sysctl
for example?
IPv4 only config is here https://github.com/MinhThienDX/wireguard-install/blob/ipv4/wireguard-install-ipv4.sh