Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Tinc into LibreMesh #99

Closed
nicopace opened this issue Mar 31, 2017 · 17 comments
Closed

Integrate Tinc into LibreMesh #99

nicopace opened this issue Mar 31, 2017 · 17 comments

Comments

@nicopace
Copy link
Member

Implement integration with Tinc VPN: http://tinc-vpn.org/

@ilario
Copy link
Member

ilario commented Apr 23, 2017

This sounds like the GSoC idea of implementing LibreNet6 in LiMe.
+1

@dangowrt
Copy link
Member

dangowrt commented Jun 14, 2017

tinc can be great for connecting otherwise unconnected mesh segments, mainly in order to allow management and monitoring. I wouldn't route user traffic through tinc, the performance on those small MIPS CPUs is way to bad. If it's only about having a gateway VPN, I'd rather use tunneldigger which offers near-to wirespeed performance. See also openwrt/packages#4420

@ilario ilario changed the title Integate tinc into LibreMesh Integate Tinc or Tunneldigger into LibreMesh Aug 1, 2017
@lucapost
Copy link

lucapost commented Aug 9, 2017

any update about this? I need integrated vpn for private lan and share private services...

@nicopace
Copy link
Member Author

No update.
There is a way to deal with this using OpenVPN, but you need to do it manually.
Also, the approach here was not to route internet through it, but actually to allow someone from outside to get into the network... so it is not the case.

@p4u
Copy link
Member

p4u commented Aug 12, 2017 via email

@ilario ilario changed the title Integate Tinc or Tunneldigger into LibreMesh Integate Tinc or Tunneldigger or Wireguard into LibreMesh Nov 8, 2017
@ilario
Copy link
Member

ilario commented Nov 8, 2017

added Wireguard to the issue title, which should be very efficient

@aparcar
Copy link
Member

aparcar commented Jan 23, 2018

I'd vote for wireguard. Now that lime uses 17.01.4 it's supported by the kernel and should be useable.

@ilario
Copy link
Member

ilario commented Feb 10, 2018

@nicoechaniz suggests to consider LibreNet6 integration in LibreMesh as a priority, this will need also babel routing protocol, as described here.

Reason being the possibility to share services inside the community with other users outside the community network using the public IPv6.

Another usage (maybe the most important) is to provide user support allowing direct ssh connection via IPv6.

@nicoechaniz can you explain the scenario?

Anyway, as @aparcar tested, Wireguard is faster and smaller than Tinc, so if the LibreNet6 Topu maintainers are ok with adding Wireguard on the side of Tinc, we could go directly for Wireguard.

@ilario ilario changed the title Integate Tinc or Tunneldigger or Wireguard into LibreMesh Integrate Tinc or Tunneldigger or Wireguard into LibreMesh Feb 10, 2018
@ilario ilario changed the title Integrate Tinc or Tunneldigger or Wireguard into LibreMesh Integrate Tinc or Wireguard into LibreMesh Feb 10, 2018
@ilario
Copy link
Member

ilario commented Feb 10, 2018

A problem of Wireguard is that is not yet considered stable but it's receiving a lot of interest, so it could reach stability quite soon. Moreover it's already packaged for LEDE 17.01.4 (see base/wireguard, base/wireguard-tools, luci/luci-app-wireguard, luci/luci-proto-wireguard).

@G10h4ck
Copy link
Member

G10h4ck commented Feb 10, 2018

AFAIK wireguard tunnels are L3 only aka can't be used for routing protocols that needs L2 to send hello messages

@ilario
Copy link
Member

ilario commented Feb 10, 2018

Regarding the size of various packages and their dependencies (measured compiling the armvirt image and comparing with plain lede-17.01.4-lime-default-armvirt-root.squashfs.gz image dimension):
plain: 2733 kB
tinc: +601 kB
babeld: +38 kB
wireguard: +79 kB
wireguard, wireguard-tools, luci-app-wireguard, luci-proto-wireguard: +81 kB

@ghost
Copy link

ghost commented Feb 11, 2018

+1 for wireguard. In addition what people said: is extremely easy to configure and its lines are very clear (I configured years ago a tinc site-to-site, I was not very happy what configuration looks like). Tinc is user-space tunnel, wireguard is kernel-space. Interesting comparison biased to tinc: http://www.tinc-vpn.org/pipermail/tinc/2017-February/004755.html

Some people did tests to encapsulate L2 traffic inside wireguard

https://lists.zx2c4.com/pipermail/wireguard/2017-March/001156.html

a partner did tests with wireguard + olsr for tunnel broker. He chose olsr as a simple/easy mesh protocol. I would like to know why babel.

@ilario
Copy link
Member

ilario commented Feb 11, 2018

Regarding Babeld, there's an implementation draft from @altergui here

@tekoholic
Copy link

+1 for wireguard. It is extremely resource-efficient, tinc is (as already mentioned) difficult to configure for users, etc. Attempting, however, to establish a wireguard link to outside provider does not seem to route correctly, in LiMe 17.06 built on chef server. Documentation is scarce, and that which does exist does not correct the routing issues.

@ciaby
Copy link

ciaby commented May 9, 2018

I'm also interested in having Wireguard as a possible VPN backbone protocol when site-to-site wifi links are not feasible. I already tried to set it up manually, but there is no traffic going to the VPN even with a static route. What should be done to integrate it into LiMe?

@ilario
Copy link
Member

ilario commented Dec 8, 2018

@aparcar I saw this Tinc package... should we consider this fixed?
There's also an usage example in lime-librenet6 package #399

@ilario
Copy link
Member

ilario commented Jan 10, 2020

Check out #579

@ilario ilario changed the title Integrate Tinc or Wireguard into LibreMesh Integrate Tinc into LibreMesh Jan 10, 2020
@ilario ilario closed this as completed Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants