VPN behind masquerading firewall 1.Opre7
Marcel de Vries
marcel.de.vries at hccnet.nl
Thu Oct 3 11:06:09 CEST 2002
Dear Tinc developer,
I have some problems connecting to the other site of the VPN
Here are my configuration files on pc1
Configuration files on pc2
/usr/local/etc/tinc/tinc.conf
/usr/local/etc/tinc/tinc.conf
Name = pc1 Name = pc2
TapDevice = /dev/tap0 TapDevice =
/dev/tap0
PrivateKeyFile = /usr/local/etc/tinc/test-vpn/rsa_key.priv
PrivateKeyFile = /usr/local/etc/tinc/test-vpn/rsa_key.priv
connectTo = pc2 connectTo =
pc1
Hostnames = no Hostnames =
no
KeyExpire = 3600 KeyExpire =
3600
PingTimeout = 60 PingTimeOut =
60
/usr/local/etc/tinc/tinc-up
/usr/local/etc/tinc/tinc-up
#!/bin/bash #!/bin/bash
ifconfig tap0 down ifconfig tap0
down
ifconfig tap0 hw ether fe:fd:00:00:00:00 ifconfig tap0
hw ether fe:fd:00:00:00:00
ifconfig tap0 10.69.189.132 netmask 255.255.255.255 ifconfig tap0
10.69.189.134 netmask 255.255.255.255
ifconfig tap0 -arp ifconfig
tap0 -arp
/usr/local/etc/tinc/test-vpn/hosts/pc1
/usr/local/etc/tinc/test-vpn/hosts/pc1
Subnet 10.69.189.132/32
Subnet 10.69.189.132/32
Address 192.168.0.99 netmask 255.255.0.0
Address 192.168.0.99 netmask 255.255.0.0
posrt 655
posrt 655
-----BEGIN RSA PUBLIC
-----BEGIN RSA PUBLIC KEY-----
...
...
-----END RSA PUBLIC
-----END RSA PUBLIC KEY-----
/usr/local/etc/tinc/test-vpn/hosts/pc2
/usr/local/etc/tinc/test-vpn/hosts/pc2
Subnet 10.69.189.134/32 Subnet
10.69.189.134/32
Address 192.168.0.100 Address
192.168.0.100
port = 655 port = 655
-----BEGIN RSA PUBLIC KEY----- -----BEGIN
RSA PUBLIC KEY-----
...
...
-----END RSA PUBLIC KEY----- -----END RSA
PUBLIC KEY-----
The problem is that I can ping from pc2 to pc1 but not visa versa.
When I look at /var/log/messages I don't see a error message.
Thanks a lot for your help.
Greetings,
Marcel de Vries.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://brouwer.uvt.nl/pipermail/tinc/attachments/20021003/824a4b94/attachment.html
More information about the Tinc
mailing list