Config error - please help
Guus Sliepen
guus at sliepen.warande.net
Mon May 7 21:13:16 CEST 2001
On Mon, May 07, 2001 at 06:56:09PM +0300, Kostadin Galabov wrote:
> This are the starting scrips on both mashines:
> Client (Kernel 2.2.17)
> #! /bin/sh
>
> # Starting VPN
> echo -n "Starting VPN,"
> tincd -n vpn_net -ddd
> echo -n " Configuring VPN Interface"
> sleep 1
> ifconfig tap0 hw ether fe:fd:00:00:00:00
> ifconfig tap0 192.168.0.5 netmask 255.255.0.0
> echo " [VPN Started]"
In tinc 1.0pre3 you can put those ifconfig commands in a script with filename
"/etc/tinc/vpn_net/tinc-up". They will be executed whenever tinc has started.
Similarly there can be a "tinc-down" script.
> And hosts files:
> BG_VPN:
> Subnet = 192.168.0.0/16
This should be:
Subnet = 192.168.0.0/24
> US_VPN:
> Subnet = 192.168.0.0/16
This one should be:
Subnet = 192.168.1.0/24
Apart from that everything seems correct. Does this help?
-------------------------------------------
Met vriendelijke groet / with kind regards,
Guus Sliepen <guus at sliepen.warande.net>
-------------------------------------------
See also: http://tinc.nl.linux.org/
http://www.kernelbench.org/
-------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20010507/7a440f63/attachment.pgp
More information about the Tinc
mailing list