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

Development discussion of WireGuard

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ http://inbox.vuxu.org/wireguard \
		wireguard@lists.zx2c4.com
	public-inbox-index wireguard

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.wireguard


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git