summaryrefslogtreecommitdiff
path: root/wrappers/python/eduvpn_common/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'wrappers/python/eduvpn_common/main.py')
-rw-r--r--wrappers/python/eduvpn_common/main.py10
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()