mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-19 08:46:38 +00:00
Extend the proxy interface with RedirectTo function and implement it in Bind proxy
This commit is contained in:
@@ -12,4 +12,5 @@ type Proxy interface {
|
||||
Work() // Work start or resume the proxy
|
||||
Pause() // Pause to forward the packages from remote connection to WireGuard. The opposite way still works.
|
||||
CloseConn() error
|
||||
RedirectTo(endpoint *net.UDPAddr)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user