Development discussion of WireGuard
 help / color / mirror / Atom feed
* A go package for a fine-grained tunnels configuration
@ 2021-03-14 17:05 kay
  2021-04-06  9:51 ` David Woodhouse
  0 siblings, 1 reply; 3+ messages in thread
From: kay @ 2021-03-14 17:05 UTC (permalink / raw)
  To: WireGuard mailing list

Hi Everyone,

I'm developing a package for the fine-grained tunnel configuration in
different OS's, e.g. IP address, routes, DNSsettings.

It already supports Windows, Linux and FreeBSD (+macOS with an os.Exec
dependency to run networksetup for DNS configuration, need help for a
native support without os.Exec).

I hope you can find it useful and contribute to improving it.

https://github.com/kayrus/tuncfg

Regards,

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: A go package for a fine-grained tunnels configuration
  2021-03-14 17:05 A go package for a fine-grained tunnels configuration kay
@ 2021-04-06  9:51 ` David Woodhouse
  2021-04-07  6:31   ` kay
  0 siblings, 1 reply; 3+ messages in thread
From: David Woodhouse @ 2021-04-06  9:51 UTC (permalink / raw)
  To: kay, WireGuard mailing list

[-- Attachment #1: Type: text/plain, Size: 899 bytes --]

On Sun, 2021-03-14 at 18:05 +0100, kay wrote:
> Hi Everyone,
> 
> I'm developing a package for the fine-grained tunnel configuration in
> different OS's, e.g. IP address, routes, DNSsettings.
> 
> It already supports Windows, Linux and FreeBSD (+macOS with an os.Exec
> dependency to run networksetup for DNS configuration, need help for a
> native support without os.Exec).
> 
> I hope you can find it useful and contribute to improving it.
> 
> https://github.com/kayrus/tuncfg

That looks interesting. Is there any chance it could be used with
OpenConnect in place of a vpnc-script? It would be invoked as a
separate executable with the address, routing, DNS information in
environment variables.

There may be some accumulated platform knowledge in the canonical
vpnc-script at http://git.infradead.org/users/dwmw2/vpnc-scripts.git/
that would be useful in tuncfg too?



[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 5174 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: A go package for a fine-grained tunnels configuration
  2021-04-06  9:51 ` David Woodhouse
@ 2021-04-07  6:31   ` kay
  0 siblings, 0 replies; 3+ messages in thread
From: kay @ 2021-04-07  6:31 UTC (permalink / raw)
  To: David Woodhouse; +Cc: WireGuard mailing list

You can create a dedicated executable if you wish. Currently I use it
only as a package for certain projects.

On Tue, Apr 6, 2021 at 11:51 AM David Woodhouse <dwmw2@infradead.org> wrote:
>
> On Sun, 2021-03-14 at 18:05 +0100, kay wrote:
> > Hi Everyone,
> >
> > I'm developing a package for the fine-grained tunnel configuration in
> > different OS's, e.g. IP address, routes, DNSsettings.
> >
> > It already supports Windows, Linux and FreeBSD (+macOS with an os.Exec
> > dependency to run networksetup for DNS configuration, need help for a
> > native support without os.Exec).
> >
> > I hope you can find it useful and contribute to improving it.
> >
> > https://github.com/kayrus/tuncfg
>
> That looks interesting. Is there any chance it could be used with
> OpenConnect in place of a vpnc-script? It would be invoked as a
> separate executable with the address, routing, DNS information in
> environment variables.
>
> There may be some accumulated platform knowledge in the canonical
> vpnc-script at http://git.infradead.org/users/dwmw2/vpnc-scripts.git/
> that would be useful in tuncfg too?
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-07  6:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-14 17:05 A go package for a fine-grained tunnels configuration kay
2021-04-06  9:51 ` David Woodhouse
2021-04-07  6:31   ` kay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).