Hi, maybe I am blind, but how to start 2 tunnels on OSX? using a different device I get: /dev/tap1 is a Generic BSD tap device add net 192.168.1.0: gateway 10.9.99.4 route: writing to routing socket: File exists add net 10.150.0.0: gateway 10.9.99.4: File exists Can't bind to 0.0.0.0 port 655/tcp: Address already in use Unable to create any listening socket! Terminating using same device I get: tincd 1.0.13 (Jul 7 2010 07:42:33) starting, debug level 0 Could not open /dev/tap0: Resource busy Terminating is this a problem related to unsupported Interface variable on OSX? regards Henrik -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20100714/e171c388/attachment.htm>
On Wed, Jul 14, 2010 at 01:05:35PM +0200, Hinnack wrote:> maybe I am blind, but how to start 2 tunnels on OSX?Do you want to connect to two different VPNs, or do you want to connect to two nodes belonging to the same VPN? In the first case, you should use a different IP range for the second VPN, in the second case just add the host file of the second node you want to connect to to /etc/hosts, and add another ConnectTo <node> to tinc.conf. -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus at tinc-vpn.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20100714/a1757968/attachment.pgp>
On Wed, Jul 14, 2010 at 02:07:29PM +0200, Guus Sliepen wrote:> [...] in the second case just add the host file of the > second node you want to connect to to /etc/hosts, [...]I mean /etc/tinc/<netname>/hosts, not /etc/hosts of course. -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus at tinc-vpn.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20100714/c1738143/attachment.pgp>
On 14/07/2010, at 9:05 PM, Hinnack wrote:> Hi, > > maybe I am blind, but how to start 2 tunnels on OSX? > > using a different device I get: > /dev/tap1 is a Generic BSD tap device > add net 192.168.1.0: gateway 10.9.99.4 > route: writing to routing socket: File exists > add net 10.150.0.0: gateway 10.9.99.4: File exists > Can't bind to 0.0.0.0 port 655/tcp: Address already in useI think you are trying to start multiple tinc daemons. Once one daemon has started listening on port 655, you can't run more daemons on the same port. It's already in use. Try what Guus suggested if you want to connect two nodes belonging to the same VPN. If you're trying to make tinc join another separate VPN, you need to add another netname. This link gives some good information about this scenario under the NETWORKS heading. http://tinc-vpn.org/documentation/tinc.conf.5 Mike> Unable to create any listening socket! > Terminating > > using same device I get: > tincd 1.0.13 (Jul 7 2010 07:42:33) starting, debug level 0 > Could not open /dev/tap0: Resource busy > Terminating > > is this a problem related to unsupported Interface variable on OSX? > > regards > > Henrik > _______________________________________________ > tinc mailing list > tinc at tinc-vpn.org > http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20100714/de563cb8/attachment.htm>