Tinc on Mac OSX 10.8.4.

Guus Sliepen guus at tinc-vpn.org
Sun Sep 22 14:04:45 CEST 2013


On Sat, Sep 21, 2013 at 03:30:17PM -0700, Zia Syed wrote:

> I needed to install tuntap and then i got some progress. I think we got the
> VPN setup, but i am not able to use it. I think something is wrong with the
> routing table. Here is my setup http://cl.ly/image/0Z0q3y283O2T
> 
> The linux box has only one interface that has public IP, and my Mac has
> NATed IP of 192.168.1.9
> 
> when i bring up the VPN, the linux box shows my network interface with same
> external IP address as the one on eth0 (4.3.2.2)

The problem is probably this: when tinc starts on the Mac, it adds an entry to
the routing table saying that traffic to 4.3.2.2 should go to the VPN
interface. Then it tries to make a connection to the Linux box, which has
public IP address 4.3.2.2. But because of the entry in the routing table, the
kernel sends that connection to the VPN interface instead of to the Internet.
I suggest you use a private IP address (say, 192.168.2.1) for the VPN interface
on the Linux box.

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20130922/2e72033d/attachment.sig>


More information about the tinc mailing list