wg-access-server icon indicating copy to clipboard operation
wg-access-server copied to clipboard

Support multiple gateway interfaces

Open arctica opened this issue 5 years ago • 1 comments

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?

arctica avatar Jul 02 '20 21:07 arctica

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.

Place1 avatar Jul 04 '20 02:07 Place1