Displaying 20 results from an estimated 2000 matches similar to: "Cache of the the unreachable nodes cause un-optimized route?"
2017 May 01
1
How to set Subnet in a node which act as both server and client role?
Hi, Etienne
I took a look for the below host configuration parameter (IndirectData), the default is no. For the below example:
A ConnectTo B, B ConnectTo C:
If IndirectData = no (default), then A wouldn’t establish direct connection with C, but will be forwarded by B.
If IndirectData = yes, then A will try to establish direct connection with C, even though A don’t have the statement of
2013 Jan 24
3
Conflicting Default Values. A trusts B. B trusts EvilNode. Does that mean A trusts EvilNode?
*You should repeat this for all nodes you ConnectTo, or which ConnectTo
you. However, remember that you do not need to ConnectTo all nodes in the
VPN; it is only necessary to create one or a few meta-connections, after
the connections are made tinc will learn about all the other nodes in the
VPN, and will automatically make other connections as necessary. *
The above is from the docs. Assuming
2018 Apr 30
1
Slow Speed
Hi,
I´m using Tinc for several years, but I didn´t fix a performance problem.
There a about 20 nodes in this network.
Master:
10.0.0.12 (dedicated host in a datacenter, debian, 100mBit port)
tinc.conf:
Name = TincKnoten12
AddressFamily = ipv4
Interface = tun
ProcessPriority=high
mode = router
#DirectOnly = no
Compression=0
PMTUDiscovery = yes
#IndirectData = yes
#ReplayWindow = 64
#ConnectTo
2017 May 02
4
Multiple default gateway from tinc node
Sure, let me reply all here for my finding. @Lars @Guus
A’s tinc.conf:
Name = bright
AddressFamily = ipv4
ConnectTo = aly_hk
A’s tinc-up:
#!/bin/sh
ifconfig $INTERFACE 10.0.0.110 netmask 255.255.255.0
A’s host config:
Subnet = 10.0.0.110/32 (VPN address)
Subnet = 192.168.31.0/24 (LAN address)
IndirectData = yes (enabled for every tinc nodes)
The node aly_hk (vpn address 10.0.0.3) connects with
2012 Dec 06
1
LAN discovery issue
Hi there,
Following situation:
3 nodes, Alpha (Home fileserver), Beta (regular PC), Gamma (Notebook).
All three in a NATed LAN usually, though the notebook also gets
carried around and connects from the outside from time to time. Tinc
should help me keep my other 2 PCs reachable from Gamma, even when I'm
not at home. Also I plan on maybe adding more nodes to that in the
future.
I have set
2016 Aug 31
4
Define which host to use when direct link not possible?
On 30.08.2016 17:37, Guus Sliepen wrote:
> On Tue, Aug 30, 2016 at 02:38:16PM +0200, Armin Schindler wrote:
>
>> we use a meshed VPN with TINC to connect 7 offices.
>> Some office are in other countries and use other ISPs. The connection
>> between some ISPs (peering partners) are not that good. This means we
>> have packet loss between those direct connections.
2013 Mar 30
1
Missing connection
Hi,
I've set up Tinc in switch-mode on the three nodes "gw", "rb493g" and
"v900w", but the nodes "rb493g" and "w900v" do not connect to each
other.
On each node port 655 is opened with TCP and UDP.
"gw": static IPv4- and IPv6 address listed in the hosts-file "gw"
hosts-files: "gw",
2017 May 02
4
Multiple default gateway from tinc node
Hi, Lars
Thanks for your suggestion, will give it a try later to see how it performs.
But, yesterday, I did a below test:
A ConnectTo B and C, B ConnectTo D, C ConnectTo D; All nodes turned "IndirectData" on in its host configuration, so the tunnel only follow metacomnection instead of direct connect.
D announced default route by having the Subnet = 0.0.0.0/0 statement in its host
2017 May 01
2
Multiple default gateway from tinc node
Hi, Tinc expert
If there’re multiple tinc nodes announce default route in their host configuration of Subnet = 0.0.0.0/0, how for the remaining nodes to select which is the best route to get out?
All of them participant in the same tinc net.
I did some test, like A as the branch, B,C,D as the nodes to announce default route; when all up , A select B, but if B down, A will go C, C down, A will
2015 Apr 21
1
Questions about routing issue
Hello,
I'm running a tinc network including dozens of nodes in switch mode.
Some are running stable branch 1.0, while a small set of nodes are
running 1.1 with ed25519 support.
I discovered some routing issue between two nodes:
(names are hidden)
A (1.1):
ConnectTo = B
ConnectTo = C
IndirectData = yes
Mode = Switch
B (1.0):
Mode = Switch
C (1.1 but only with RSA key):
Mode = Switch
2017 May 01
2
How to set Subnet in a node which act as both server and client role?
Hi, Etienne
In addition, is there any option or switch can turn of the automatic direct connection? For the example below, even A has the route to C and can establish UDP connection directly, but I need the traffic to go through B, how can I achieve that easily? (instead of remove something from A’s routing table, or manually block the connection between A and C)
> On 1 May 2017, at 6:28 PM,
2018 Sep 01
1
IndirectData
Hi list,
I'm hoping someone can help me understand when to use IndirectData.
Quoting the manual:
IndirectData = <yes|no> (no)
This option specifies whether other tinc daemons besides the one you
specified with ConnectTo can make a direct connection to you. This is
especially useful if you are behind a firewall and it is impossible to
make a connection from the outside to your tinc
2003 Nov 27
1
automesh not working
From the tinc page:
"*Automatic full mesh routing-* Regardless of how you set up the tinc
daemons to connect to each other, VPN traffic is always (if possible)
sent directly to the destination, without going through intermediate hops."
That's exactly what's not working for me. Let me illustrate:
Both nodes B and C have ConnectTo statements to connect to node A. Node
A
2017 May 03
2
Multiple default gateway from tinc node
Hi, Guus
I did some test regarding the points you mentioned below, and yes, you’re right, but some of points may need further adjusted:
1. The destination of IPv4 wouldn’t be changed, Yes I agree, that’s the goal and final destination for the communication. But during the path, it may be encapsulated into another packet(tunnel mode), where the outside IP header is the physical address, but the
2010 Sep 20
10
Tinc performance on a Dir-300
Hi,
we are using Tinc in our Freifunk Network in Oldenburg for internode
connections over the internet. So Tinc is running on OpenWrt 10.03 on Dlink
Dir-300 Routers.
We all have enough internet bandwith (1,6 MB/sec and more) but we only get a
maximum speed of ~350KB/sec between two tinc nodes because then tinc uses 99%
of the cpu.
Is it possible to get more Speed with tinc on this machines?
2017 Feb 14
4
LocalDiscovery flip flopping and network design tips
We are testing tinc inside Google Compute within a single region and an
external region. Two boxes are created as follows:
/etc/tinc/test/tinc_test_1
Subnet = 10.240.0.0/16
Subnet = 10.240.0.4/32
Address = 104.154.59.151
/etc/tinc/test/tinc_test_2
Subnet = 10.240.0.0/16
Subnet = 10.240.0.5/32
Address = 104.197.132.141
/etc/tinc/test/tinc.conf
Name = $HOST
AddressFamily = ipv4
Interface = tun0
2010 May 06
10
No connection between nodes on same LAN
Hi all,
I am currently deploying tinc as an alternative to OpenVPN.
My setup includes a lot of nodes and some of them are sitting together
behind the same router on the same network segment.
(E.g. connected to the same switch.)
I noticed, that those nodes do never talk directly to each other via their
private ip-addresses, but instead use the NATed address they got from the
router.
2018 Apr 10
2
Route certain trafic via a tinc node that is not directly connected.
On Tue, Apr 10, 2018 at 03:36:08PM +0200, Hans de Groot wrote:
> hosta <--> hostb <--> hostc
>
> Hosta and hostc are not directly connected via tinc. But both are conncted
> via hostb (I called my network tincnet). This works fine I can ssh from
> hosta to hostc and vice versa without any problems.
>
> hostc is in a whitelisted iprange at some service
2016 Aug 30
2
Define which host to use when direct link not possible?
Hello all,
we use a meshed VPN with TINC to connect 7 offices.
Some office are in other countries and use other ISPs. The connection
between some ISPs (peering partners) are not that good. This means we
have packet loss between those direct connections.
To avoid this direct connection, I would like to tell TINC to use
a defined other host to route the packets to.
E.g.
instead of doing direct
2010 Feb 07
1
Only reaching one machine at network
Hi there,
I am using tinc since some monthes. I think the basic idea of
extending vpn to a mesh of systems via tun/tap is great. And I think
it is one of the useable developments compared to the much more
complex vpn solutions I had used in the past. Great work.
Setting up tinc I have fought with the configuration (and with the
concepts) for a while as I have found no example that covers my