Use fake address instead of wireguard address

This commit is contained in:
Zoltan Papp
2023-08-17 08:36:11 +02:00
parent 1c84d6b3b6
commit 98f3012fb3
8 changed files with 45 additions and 15 deletions

View File

@@ -2,7 +2,9 @@
package ebpf
import log "github.com/sirupsen/logrus"
import (
log "github.com/sirupsen/logrus"
)
const (
mapKeyProxyPort uint32 = 0
@@ -35,6 +37,7 @@ func (tf *GeneralManager) LoadWgProxy(proxyPort, wgPort int) error {
return err
}
return nil
}
func (tf *GeneralManager) FreeWGProxy() error {