diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-02-07 13:43:52 +0100 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2024-02-19 14:15:07 +0100 |
| commit | c8e7424f0b9ca963c7454e3297a8d001d67d729d (patch) | |
| tree | 979341ca6b67badc451aa58d3790704b3bf04386 /wrappers/python/eduvpn_common/main.py | |
| parent | a912257ad6d4260fbea9c0e3e3fb9bbefa92bb6e (diff) | |
WireGuard: TCP support using proxyguard
Diffstat (limited to 'wrappers/python/eduvpn_common/main.py')
| -rw-r--r-- | wrappers/python/eduvpn_common/main.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/wrappers/python/eduvpn_common/main.py b/wrappers/python/eduvpn_common/main.py index 0daf0b6..847819d 100644 --- a/wrappers/python/eduvpn_common/main.py +++ b/wrappers/python/eduvpn_common/main.py @@ -345,6 +345,16 @@ class EduVPN(object): forwardError(dropped_err) return dropped + def start_proxyguard(self, listen: str, source_port: int, peer: str): + proxy_err = self.go_cookie_function( + self.lib.StartProxyguard, + listen, + source_port, + peer, + ) + if proxy_err: + forwardError(proxy_err) + def cancel(self): self.jar.cancel() |
