Skip to main content

Questions tagged [tinc]

Tinc or Tinc-VPN is an open source decentralized VPN daemon that runs on a wide range of different platforms.

Filter by
Sorted by
Tagged with
1 vote
1 answer
1k views

VPN without port forwarding using raspberry pi and a VPS

I'm trying to setup a simple VPN without port forwarding. I have: raspberry pi connected to a LAN (eth0 - 192.168.1.0/24) internet accessible vps server laptop & android device that needs access ...
xepa's user avatar
  • 21
0 votes
1 answer
982 views

Keepalived in a Tinc VPN mesh, can't ping the VIP after an election

Description Configuration I have 3 nodes, connected together using Tinc VPN, where I'd like to install HAproxy and have a VIP so that HAproxy is itself in a High Availability mode. Here are the ...
ZedTuX's user avatar
  • 201
1 vote
0 answers
44 views

Handling AWS subnet failure for VPN endpoint

I've built a VPN endpoint using tinc in one aws subnet:- [ eu-west-1a tinc ]------ | | [ us dc] -- ipsec -- [ uk dc ] Some failure conditions are handled by tincs meshing:- [ ...
gilesw's user avatar
  • 123
0 votes
1 answer
581 views

Traffic does not get routed through vpn

Having set up a tinc VPN node properly (the vpn Connection works): I have set the following options net.ipv4.ip_forward = 1 iptables -t nat -A POSTROUTING -o ens2 -j MASQUERADE If I then set the ...
ProfHase85's user avatar
1 vote
0 answers
413 views

Use Tinc to route to a server

I have tinc up and running. What I want to achieve is in the picture: Network schema I want to be able to reach the server X behind Tinc B via Tinc A. I can ping the Tinc servers and even ping the ...
Skye's user avatar
  • 111
0 votes
0 answers
591 views

Link VPS Dedicated IP / Port to Internal Tinc VPN IP Port

After a couple of days research I've completely rewritten my question to make it easier to answer, and hopefully clearer of what I'm looking for. I have an Ubuntu 18.04 VPS server with a dedicated ...
Mozzie's user avatar
  • 1
1 vote
1 answer
838 views

Setup a private network between my 7 dedicated servers in different data centers?

I have 7 dedicated servers running at a host provider. Whenever I order a new server I cannot rely on having my servers being setup in the same rack, so I cannot have a physical private network ...
Niels Kristian's user avatar
0 votes
1 answer
1k views

How to run a dockerized dnsmasq name server within a tinc VPN with only one process per container

I have a tinc VPN mesh network that is used by various types of hosts all over the world and I want to deploy a dockerized dnsmasq name server for use within that tinc mesh. I have already ...
pjv's user avatar
  • 101
1 vote
1 answer
2k views

How to setup Tinc as a basic VPN to route all traffic through a server

I have ready many tutorials, but they all seem to be setup as a mesh network which includes 3 servers all connected. I am trying to configure tinc to route all my router traffic through the encrypted ...
guest4123412's user avatar
0 votes
1 answer
3k views

Tinc on OPNsense

Having this kind of network layout https://i.sstatic.net/NQXDl.jpg I can get it working using mode=switch in with tinc, but not using mode=routed Those are the network details On quantum those are ...
Eugen Mayer's user avatar
1 vote
1 answer
2k views

Tinc correct iptables configuration

I've been able to get tinc setup when I flush all my iptables, but after enabling iptables and a delay I get a "Destination Net Unknown". I have three host (HOME10.0.3.2, MASTER 10.0.3.1, WEB 10.0.3....
Dave Albert's user avatar
2 votes
1 answer
2k views

Issues setting up TINC on Mac OSX 10.12.2

I have TINC setup on a few linux boxes and they are working great. linux001 (static ip vps - 10.0.0.1) macosx002 (connects to linux001 - 10.0.0.2) linux050 (connects to linux001 - 10.0.0.50) I also ...
CaffeineAddiction's user avatar
0 votes
1 answer
477 views

Accessing Tunnelled Local Server via Cloud Server's Public IP

I have tunneled my local server to cloud server with VPN tunnel (Tinc). Both servers can talk each other on tun0 interfaces. My cloud server can be accessible through Internet with public IP address ...
Kerem atam's user avatar
2 votes
1 answer
779 views

tinc restrict communication between clients

I've a network: [host] <------->[host] <----------- [workstation] ^ ^ ^ ^ / \ / \ / \ / \ [client] [client] [client] [...] (pointers are ConnectTo ...
enthus1ast's user avatar
3 votes
0 answers
204 views

Get floating ip from mmm to work on Tinc vpn on Ubuntu

I've got 3 ubuntu servers connected with a Tinc VPN right now. 2 servers are running mysql 5.6 db's, and the 3rd is used only as a monitor. We're using mmm to do the monitoring and assign a floating ...
Inukshuk's user avatar
  • 265
0 votes
1 answer
508 views

tinc - TCP Cipher method

In tinc 1.0.x there is Cipher param which allows to set encryption for UDP packets. For TCP packets encryption method is not allowed to be changed http://www.tinc-vpn.org/pipermail/tinc-devel/2005-...
happy_marmoset's user avatar
3 votes
0 answers
751 views

Current state of Tinc 1.1? [closed]

So as probably any Tinc user ( www.tinc-vpn.org ), I noticed there are two versions: 1.0 and 1.1. On the website is explained that 1.1 is the stepping stone for 2.0 and that it has a lot of neat ...
Alex's user avatar
  • 399
5 votes
2 answers
7k views

How Do I Reach Local Subnet Behind Tinc VPN

I am attempting to setup a VPN connection between a cloud server on DigitalOcean and an on-premise server using Tinc. Thus far, I have been successful in getting the connection up and running and the ...
Kismet Agbasi's user avatar
16 votes
1 answer
9k views

High throughput meshed VPN to connect datacenter hosts

We're renting a number of hosts in a public datacenter. The datacenter does not offer private VLANs; all hosts receive one (or more) public IPv4/IPv6 addresses. The hosts come with very modern CPUs (...
Hank's user avatar
  • 379
1 vote
1 answer
6k views

Routing default gateway for 2nd vlan over a tunnel (linux/tinc)

Fixed: It turned out to be a combo of what BatchyX said (missing the 172.16.101.0/24 route on the remote end), and tinc on the remote side failing to run a -up script (the script wasn't executable). ...
Peter's user avatar
  • 13
2 votes
1 answer
1k views

How can i prevent TINC from relaying DHCP

I am running tinc in several NAT routers running Debian 7 Wheezy, the VPN works fine for months, except because i've set it up in switch mode it relays DHCP requests and answers over all the VPN. The ...
Sir.pOpE's user avatar
  • 390
1 vote
0 answers
2k views

Using ebtables to drop packets out of bridge and route via Tinc VPN

We have a bridge set up on Ubuntu to link our LAN to our gateway which is on the same subnet. We need this to be able to control the traffic and are not currently in a position to change subnets so we ...
Tom's user avatar
  • 11
0 votes
2 answers
2k views

how to find default gateway on virtuozzo VPS?

trying to install tinc on VPS but config need Subnet which is modem IP i think as they entered 10.0.0.1/32 on demo. but on my vps ping of either 10.0.0.1/32 or 192.168.1.1 don't replay. if i put 127....
lary's user avatar
  • 1