I can't ping across gateway
Anek Chaimetrakul
ch_ank at msn.com
Thu Mar 7 17:03:03 CET 2002
Hi Who concern,
I setup TINC VPN follow these.
192.168.1.x / 24 (Client groups)
|
192.168.1.1 (eth1)
(GW1)
202.44.34.206 (eth0)
||
Internet
||
202.44.45.14 (eth0)
(GW2)
192.168.2.1 (eth1)
|
192.168.2.x/24 ( Client groups)
I use Red Hat 6.2 Kernel 2.2.14 and Tinc version 1.0pre3.
My problem is " Client in GW1 can't pass through Client in GW2" but Client
in GW1 can ping GW2 and inverse too"
Anybody who know this problem pls. let's me know.
follow these i my configure file.
----------------
Gw1 -> tinc-up
#!/bin/bash
/sbin/ifconfig tap0 hw ether fe:fd:00:00:00:00
/sbin/ifconfig tap0 192.168.1.1 netmask 255.255.255.0
/sbin/ifconfig tap0 -arp
/sbin/route add -net 192.168.2.0 dev tap0 netmask 255.255.255.0
Gw1 - > tinc.conf
PrivateKey = xxxxxxxx
Name = gwA
TapDevice = /dev/tap0
KeyExpire = 30000000
--------------------------
Gw2 -> tinc-up
#!/bin/bash
ifconfig tap0 hw ether fe:fd:00:00:00:00
ifconfig tap0 192.168.2.1 netmask 255.255.255.0
ifconfig tap0 -arp
route add -net 192.168.1.0 dev tap0 netmask 255.255.255.0
Gw2 -> tinc.conf
PrivateKey = xxxxx
Name = gwB
ConnectTo = gwA
KeyExpire = 30000000
--------------------------
Host - > GW1
PublicKey = xxxxxx
Subnet = 192.168.1.0/24
Address = 202.44.34.206
Host -> GW2
PublicKey = xxxxxxx
Subnet = 192.168.2.0/24
Address = 202.44.45.14
-------------------------
I hope the person who know to fix my prob. pls. let's me know .. I config it
for about 2 week..
Regards.
Anek.. KMITNB
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
Tinc: Discussion list about the tinc VPN daemon
Archive: http://mail.nl.linux.org/lists/
Tinc site: http://tinc.nl.linux.org/
More information about the Tinc
mailing list