what am I doing wrong?

Pedro Ruiz bigplac at yahoo.es
Wed Dec 15 18:27:43 CET 2004


what am I doing wrong?

SERVER:

cat tinc.conf

Device=/dev/net/tun
Mode=switch
Name=server
PrivateKeyFile=/etc/tinc/vpn/rsa_key.priv

cat tinc-up

#!/bin/sh
ifconfig $INTERFACE 192.170.1.1 netmask
255.255.255.255

route add -host 192.170.1.2 dev $INTERFACE
route add -net 192.170.1.2 netmask 255.255.255.255 dev
$INTERFACE


cat hosts/server
Compression=9
Subnet=192.170.1.1/32
Address=192.169.1.1
-----BEGIN RSA PUBLIC KEY-----
......

cat hosts/client
Compression=9
Subnet=192.170.1.2/32
Address=192.169.1.2
-----BEGIN RSA PUBLIC KEY-----
....

ifconfig -a

vpn       Link encap:UNSPEC  HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:192.170.1.1  P-t-P:192.170.1.1 
Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST 
MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0
frame:0
          TX packets:2 errors:0 dropped:0 overruns:0
carrier:0
          collisions:0 txqueuelen:10

wlan0     Link encap:Ethernet  HWaddr
00:11:95:85:7B:3E
          inet addr:192.169.1.1  Bcast:192.169.1.255 
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500 
Metric:1
          RX packets:335 errors:0 dropped:0 overruns:0
frame:0
          TX packets:284 errors:0 dropped:0 overruns:0
carrier:0
          collisions:0 txqueuelen:100

server and client connect but don't send any

Client:

Connected to server (192.169.1.1 port 655)
Connection with server (192.169.1.1 port 655)
activated



Thanks.


		
______________________________________________ 
Renovamos el Correo Yahoo!: ¡250 MB GRATIS! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es


More information about the tinc mailing list