-
Notifications
You must be signed in to change notification settings - Fork 37
route-allowed-ips cannot be enabled #137
Comments
I switched to 1.10.10 firmware and if wizard is run and eth0 is configured as wan port with nat and default gateway then I still get the same error and can't run "set interfaces wireguard wg0 route-allowed-ips true" only "set interfaces wireguard wg0 route-allowed-ips false" works because default router is already configured or I get this message: Error: Allowed IP default on interface wg0 peer conflicts with an existing route. route-allowed-ips cannot be enabled. |
I worked around this problem by leaving the route-allowed-ips at false adding a static route to use wg0 as the default route, a static route to the host at the other end of the WG tunnel and a static default route with a higher distance so WG can find it way to the internet to set things up. The ER-X is also behind another router (192.168.16.1) so that adds a bit of complexity as well. Here's a couple of configuration snippets from the router. The WG config:
The statics:
|
I have Edgerouter X with 2.08 firmware and installed wireguard package, following really simple tutorial via this Github readme causes issues if I use
set interfaces wireguard wg0 route-allowed-ips true
when trying to commit this error is shown:
Error: Allowed IP default on interface wg0 peer XXX conflicts with an existing route. route-allowed-ips cannot be enabled.
So only option is to disable it;
set interfaces wireguard wg0 route-allowed-ips false
Is this a know issue? What am I loosing without having this feature enabled?
The text was updated successfully, but these errors were encountered: