Wireguard in OpenWRT/LEDE: FYI: Pull Request
Hi,
Is possible to add/modify version to support IPv4 only ? I would like to disable IPv6 and compile LEDE but than wireguard disappear. It is because of flash size 4MB.
Thanks,
Michal
Quoted 1 line · Michal Kowalski
Is possible to add/modify version to support IPv4 only ? I would like to disable IPv6 and compile LEDE but than wireguard disappear. It is because of flash size 4MB.
Yes. WireGuard supports this already. You just need to remove the v6 deps from the LEDE wireguard makefile. Not sure why the dependency is hard coded like this; it shouldn't be.
Quoted 3 lines
Not sure why the dependency is
hard coded like this; it shouldn't be.
Even if it wasn't hardcoded, it would be introduced by +kmod-udptunnel6 = anyway.
Remove both manually if you really need to throw away IP and want to = compile legacyIP only. It should work with both, @IP6 and = kmod-udptunnel6 removed.=20=
Quoted 5 lines · On Wed, Dec 14, 2016 at 8:48 PM, Dan L=C3=BCdtke <[email protected]> wrote:
Quoted 3 lines
Not sure why the dependency is
hard coded like this; it shouldn't be.Even if it wasn't hardcoded, it would be introduced by +kmod-udptunnel6 a=
nyway.
Quoted 2 lines
Remove both manually if you really need to throw away IP and want to comp=
ile legacyIP only. It should work with both, @IP6 and kmod-udptunnel6 remov= ed.
kmod-udptunnel6 is only required if IPv6 is turned on.
At least in menuconfig, it's easy to describe conditional dependencies like this one. Can the OpenWRT makefile thinger do it too? Baptiste?
Hey Dan,
I just submitted a pull request to bump the package and add this
conditional: https://github.com/openwrt/packages/pull/3664
Jason