private void SetAddress() { mTincProcess.StartInfo.Arguments = $"-n {mProperties.TincNetName} add address={UpnpUtils.GetExternalAddress().Result}"; mTincProcess.Start(); mTincProcess.WaitForExit(); }
private void ForwardPort() { UpnpUtils.ForwardPort(Protocol.Udp, 655, 655, "Tinc"); }
public void Start() { UpnpUtils.ForwardPort(Protocol.Tcp, Settings.Default.ManagementPort, Settings.Default.ManagementPort, "Tinc Client Management"); mWebApp = WebApp.Start <ClientManagmentOwinStartup>($"http://localhost:{Settings.Default.ManagementPort}"); }