Problems getting tinc running

Guus Sliepen guus at sliepen.eu.org
Mon Feb 16 01:06:47 CET 2004


On Sun, Feb 15, 2004 at 05:41:04PM -0000, Russell Horn wrote:

> I'm trying to make the vpn server have an IP of 10.0.1.1 and the client
> have 10.0.1.10

If that really is what you want, then:

> On the office server I have:
> 
> tinc-up
> #!/bin/sh
> ifconfig $INTERFACE 10.0.1.1 netmask 255.255.0.0
> route add -host 10.0.1.1 dev $INTERFACE
> route add -net 10.0.1.0 netmask 255.255.0.0 gw 10.0.1.1

The tinc-up script should just contain:

#!/bin/sh
ifconfig $INTERFACE 10.0.1.1 netmask 255.255.255.0

> hosts/hqvpn
> Compression = 9
> Address = 1.2.3.4
> Subnet = 10.0.0.0/24
> public key.

Subnet should be 10.0.1.1/32

> At home I have:
> 
> tinc-up
> #!/bin/sh
> ifconfig $INTERFACE 10.0.1.10 netmask 255.255.255.0
> route add -host 10.0.1.10 dev $INTERFACE
> route add -net 10.0.1.0 netmask 255.255.0.0 gw 10.0.1.10

That should be:

#!/bin/sh
ifconfig $INTERFACE 10.0.1.10 netmask 255.255.255.0

> hosts/home
> Address = 5.6.7.8
> Subnet = 10.0.1.10/32
> -----BEGIN RSA PUBLIC KEY-----

That one is correct.

-- 
Met vriendelijke groet / with kind regards,
    Guus Sliepen <guus at sliepen.eu.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20040216/f7f1deed/attachment.pgp


More information about the Tinc mailing list