WireGuard interface assignment

Started by skywalker007, February 16, 2020, 05:00:44 PM

Previous topic - Next topic
After long time pushing this out, I have started to migrate my road warriors over to WireGuard.
Quick question on the server side config:
The docu says:

Is that still necessary? The NAT setup also offers me the automatically created WireGuard Interface. Why can't I use that instead of doing a new assignment?
Thanks!
System1: Qotom Q310G4
System2: APU2C4


Like this:

WG0 is a manually assigned Interface according to the docu. The other one is auto created I guess. Does it matter which one to use? Why would I need to manually assign an interface anyway?
Thanks a lot!
System1: Qotom Q310G4
System2: APU2C4

You only need to assign If you so policy routing. If you just want wg Client reach the internet, unassign and use WireGuard net

thanks a lot, that answers the question. Might be worth adapting the documentation.
System1: Qotom Q310G4
System2: APU2C4

I think it's clearly stated that assignment is optional for policy based routing?

Is that what you mean by "filter some streams out of it"? Ok. I read the chapter differently. For me it sounds like " in any case where you want to route all traffic through vpn, assign an Interface manually."  Sorry for being picky on this, but I just want to improve this with my feedback. 
System1: Qotom Q310G4
System2: APU2C4

No, thats good, be picky :)
Indeed, it's some time ago when I wrote it down, maybe I'm wrong (was).

So can you verify it works also without assigning?


Thanks. I will.
System1: Qotom Q310G4
System2: APU2C4

Quote from: mimugmail on February 18, 2020, 05:03:04 PM
No, thats good, be picky :)
Indeed, it's some time ago when I wrote it down, maybe I'm wrong (was).
So can you verify it works also without assigning?
It does work well without manual interface assignment.
System1: Qotom Q310G4
System2: APU2C4