wg-access-server
wg-access-server copied to clipboard
Support multiple gateway interfaces
Currently one can specify a single gateway interface to route the traffic through.
My server has two interfaces: eth0 for general internet and ens10 for lan. I would like to be able to route 10.0.0.0/8 through ens10 and everything else through eth0. Currently wg-access-server only lets me route everything through either eth0 (can't access lan) or ens10 (can't access the internet).
Maybe the gatewayInterface config option could be turned into a map so one can specify CIDR->interface pairs?
This is a great feature idea. I don't think i have the capacity to address this right now but after a round of bug fixing and after we complete #43 I'd like to support this use-case.