On Friday 2 May 2008, 13:33, Vladimir Rusinov wrote:

> >  But the tunnel is between ppp0 in your box and the D-link router,
> > or between ppp0 in your box and some internal box in the office
> > network? What's the network address of the office network?
>
> It's between my box and d-link. The office network address is
> 192.168.5.0/24, my local network is 192.168.1.0/24.
> Currenty I can't even ping or telnet to d-link router (I'm 100% shure
> that https port is open on d-link).

If you can't ping or telnet to the d-link using its wan public IP, then 
you should solve that problem first.

If you can reach the router through its public IP, then the problem may 
be in the tunnel configuration.

I don't know what degree of control you have upon the remote router, 
however, you could try using a different IP subnet for the tunnel (eg, 
192.168.100.0/24), which is also a cleaner setup imho (the router needs 
to be configured to forward IP packets, but that is hopefully already 
so, otherwise it would be rather useless as a router).

ATM you are using, for the tunnel, addresses belonging to the same office 
IP network. This can be done, but then you need to make sure the remote 
pppd is doing proxy arp (ie, option "proxyarp" to pppd). You still need 
a static route to 192.168.5.0/24 through ppp0, since by default only 
the /32 entry to the peer is created.
-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to