Commit graph

25 commits

Author SHA1 Message Date
48eaf0f840 Allow onetun to be used as a library 2022-06-25 10:33:37 -04:00
f85692950f Split dependencies that are only used for the binary version of onetun 2022-06-24 01:45:31 -04:00
Jackson Coxson
4162f62ae6 Change the error message from host to bind 2022-06-23 23:14:57 -06:00
Jackson Coxson
9bd7ec2cca Simplify IP version detection 2022-06-23 23:11:45 -06:00
Jackson Coxson
1680b17c47 Correct binding terminoligy IP version detection 2022-06-23 23:10:48 -06:00
Jackson Coxson
96e18edd19 Invert logic for IP version mismatch 2022-06-23 23:10:11 -06:00
Jackson Coxson
c647bc9a96 Rename host_addr to endpoint_bind_addr 2022-06-23 23:01:32 -06:00
Jackson Coxson
3ab108ad04 Move host address resolution logic to config 2022-06-23 22:59:19 -06:00
Jackson Coxson
b108b5f404 Clarify help instructions for host binding 2022-06-23 22:47:33 -06:00
Jackson Coxson
5e94a0f31e Add host address binding option 2022-06-22 23:06:16 -06:00
73671a4d07 Add argument and env variable for remote port forwarding.
Part of #6
2022-06-21 18:38:55 -04:00
52aba0115d Fix new clippy lint 2022-03-27 17:14:18 -04:00
ff0f5b967e Add optional IP packet capture for WireGuard tunnel 2022-01-08 17:30:10 -05:00
51788c9557 Improve reliability using event-based synchronization 2022-01-08 02:18:51 -05:00
Tilo Spannagel
23af49dde5 Allow configuration of max transmission unit 2021-12-20 17:21:43 +00:00
c50fe8233a Wireguard -> WireGuard 2021-10-26 03:05:03 -04:00
75d6a0a11c Allow passing private key using file.
Adds warning about passing key directly in CLI.
On *nix systems, checks file permissions for warnings.

Fixes #19
2021-10-26 02:49:14 -04:00
5cec6d4943 Index ports with protocol in WG. Start writing UDP tunnel code with plans. 2021-10-19 01:55:04 -04:00
651ddaec49 Implement port-forwarder configuration parsing 2021-10-18 02:57:52 -04:00
cb09bb8857 WIP on UDP and multi-port-forward support 2021-10-17 21:57:45 -04:00
64dc79656b Support hostnames for SOURCE_ADDR, endpoint-addr
See #7
2021-10-16 02:57:26 -04:00
b4317dad1a Dockerize, and switch back to main boringtun repo 2021-10-15 20:05:18 -04:00
492875c392 Consumption task, and keep-alive 2021-10-13 20:23:12 -04:00
7693666855 Start move to Tokio 2021-10-13 19:39:17 -04:00
d82b496937 Initial commit 2021-10-10 17:52:10 -04:00