Commit Graph

259 Commits

Author SHA1 Message Date
Callan Bryant
df0a37095b
mention official gui 2020-12-23 16:06:59 +00:00
Callan Bryant
e3ba27bd6c
Merge pull request #36 from botto/optional-addr-config
Set ip if configured, otherwise just bring up link
2020-12-21 08:58:23 +00:00
Martin Eskdale Moen
7aa7548df6 Set ip if configured, otherwise just bring up link 2020-12-20 15:30:16 +00:00
Callan Bryant
e719f111f1
Merge pull request #32 from fs111/make-quick
adds make quick target
2020-12-08 08:59:42 +00:00
Andre Kelpe
ea5b7d105b adds make quick target
adds a new target that compiles dsnet w/o running upx for quicker
development builds
2020-12-05 23:36:56 +01:00
Callan Bryant
8e0755466e
use pipe instead 2020-12-05 08:18:43 +00:00
Callan Bryant
8cee8d8672
Merge pull request #31 from axelsimon/update-readme
Update README, adding more NixOS help and removing ffsend
2020-12-05 08:15:57 +00:00
axelsimon
d476766d3b Improve README following conversation with @naggie 2020-12-03 15:28:10 +00:00
axelsimon
04d150284f Update README, adding more NixOS help and removing ffsend
Firefox Send has been shut down by Mozilla and won't be returning.
Magic Wormhole (or wormhole-william, compatible and written in Go)
are interesting replacements.
2020-12-02 00:13:02 +00:00
Callan Bryant
cf4738df59
mention output formats at top 2020-12-01 19:28:31 +00:00
Callan Bryant
c2861815d2
mention nixos config 2020-12-01 19:25:36 +00:00
Callan Bryant
893477b47e
Merge pull request #30 from axelsimon/nixos-peer-conf
Add a NixOS peer config template / generator.
2020-12-01 19:24:10 +00:00
axelsimon
66a7dff5e9 Update patch to use the new ExternalHost feature. 2020-12-01 18:54:39 +00:00
axelsimon
d699862962 Add a NixOS peer config template / generator.
First attempt at Go, hope all is good.
2020-12-01 18:26:34 +00:00
Callan Bryant
13c974a260
un-draft 2020-11-30 01:20:46 +00:00
Callan Bryant
ddaeb19b54
vendor + update modules 2020-11-29 21:07:40 +00:00
Callan Bryant
45b61f8a63
support ExternalHostname which has precedence over IPs 2020-11-29 18:34:05 +00:00
Callan Bryant
6ca3614cff
Merge pull request #29 from Snowb1ind/master
Update Quick Start to use latest release
2020-11-26 19:20:12 +00:00
Wintermute
c213130c3d Quick Start using latest version 2020-11-26 13:31:53 +03:00
Callan Bryant
526a8df1ed
update png 2020-11-19 23:46:18 +00:00
Callan Bryant
dea2e86bc6
go fmt 2020-11-19 22:57:29 +00:00
Callan Bryant
08b8372148
apply rule of silence to up/down cmds 2020-11-19 22:57:02 +00:00
Callan Bryant
0579b4cdd3
Merge pull request #25 from fs111/up-down
Implements PostUp and PostDown commands using `/bin/sh`
2020-11-19 22:53:56 +00:00
Andre Kelpe
e782db30e9 Implements PostUp and PostDown commands using /bin/sh
This introduces PostUp and PostDown in dsnet. PostUp and PostDown allow
the user to run arbitrary commands after the device is up or down. These
are typically used to change the firewall rules via iptables. A working
example would be

...
    "PostUp" : "iptables -A FORWARD -i dsnet -j ACCEPT; iptables -A FORWARD -o dsnet -j ACCEPT; iptables -t nat -A POSTROUTING -o ens2 -j MASQUERADE ",
    "PostDown" : "iptables -D FORWARD -i dsnet -j ACCEPT; iptables -D FORWARD -o dsnet -j ACCEPT; iptables -t nat -D POSTROUTING -o ens2 -j MASQUERADE ",
...

All commands are executed by `/bin/sh` and no filtering or sandboxing is
applied. Users of this should know what they are doing.

Fixes https://github.com/naggie/dsnet/issues/16
2020-11-19 23:21:11 +01:00
Callan Bryant
704e5ba51c
deterministic wg interface name on edgeos explanation 2020-11-18 19:34:38 +00:00
Callan Bryant
e2f7ff022e
screenshots with IPv6 2020-11-18 17:29:39 +00:00
Callan Bryant
ee8cb4c545
Merge pull request #24 from frillip/master
Updated dsnet-nsupdate for IPv6 support in v0.2.2
2020-11-05 08:30:43 +00:00
Phil martin
6cbaa992ed Updated dsnet-nsupdate for IPv6 support in v0.2.2 2020-11-04 13:55:35 +00:00
Callan Bryant
38dd7c6d95
add IPv6 info to report 2020-11-02 18:26:14 +00:00
Callan Bryant
f1e1a6838f
fix allowedIPs construction where networks are provided 2020-11-02 17:56:12 +00:00
Callan Bryant
aa785b9ab6
split off config generation 2020-11-01 09:17:25 +00:00
Callan Bryant
5ff1659d22
specify that wg-quick is default 2020-10-30 13:08:39 +00:00
Callan Bryant
d042250c1a
create deterministic wg interface names for vyatta 2020-10-30 13:02:46 +00:00
Callan Bryant
c8c27e8ce0
add IPv6 to interface 2020-10-30 12:34:35 +00:00
Callan Bryant
227ed206a4
Merge pull request #22 from naggie/ipv6
IPv6 support
2020-10-29 17:00:47 +00:00
Callan Bryant
4ad58382f6
go fmt 2020-10-28 00:39:15 +00:00
Callan Bryant
135fa12f00
update docs 2020-10-27 22:19:58 +00:00
Callan Bryant
112379c70a
remove redundant allowed IP enumeration 2020-10-27 22:00:21 +00:00
Callan Bryant
0481996116
add allowedIPs conditionally 2020-10-27 21:57:44 +00:00
Callan Bryant
a6bacff44d
update getwgpeerconfgs 2020-10-27 21:42:21 +00:00
Callan Bryant
047a0dc7be
fix json marshalling of uninitialised JSONIPnet 2020-10-27 21:21:22 +00:00
Callan Bryant
ddb0b4c549
conditional IPv4/6 and fix vyatta 2020-10-27 21:03:45 +00:00
Callan Bryant
63b22e0554
only save peer allowed IP of net version is defined 2020-10-27 00:00:38 +00:00
Callan Bryant
c4d2898170
correct comment 2020-10-26 23:49:12 +00:00
Callan Bryant
5477a321b2
fix CIDR notation for Peer IPs 2020-10-26 23:37:19 +00:00
Callan Bryant
dfd617273b
add missing bracket 2020-10-26 22:47:48 +00:00
Callan Bryant
06905db6df
allow empty IPNets 2020-10-26 22:47:02 +00:00
Callan Bryant
555ffad58b
prevent segfault when parsing empty CIDR 2020-10-26 22:44:09 +00:00
Callan Bryant
b770d387bf
fix unititialised IPNet marshalling 2020-10-26 22:39:08 +00:00
Callan Bryant
34ff77b27a
...also for vyatta 2020-10-26 21:39:55 +00:00