Subject: Re: Tunneling question.
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Mattias Karlsson <mattias.karlsson@nocom.se>
List: netbsd-users
Date: 07/26/2002 14:11:09
Opened up a bit. Problem still remains...

B can just ping/use 198, A can ping 198 and 197 but just connect to 198.


ON B:

aa.bb.cc.197      link#2             UHLc        0        6   1500  ex1
aa.bb.cc.198      aa.bb.cc.197      UH          0       34   1500  ppp0
aa.bb.cc.198      00:01:02:a2:a5:3f  UHLS2       0        0   1500  ex1


ON A:

aa.bb.cc.197      aa.bb.cc.198      UH          0       12      -  ppp0


Outside boxes can't do nothing... out and in of ppp0 on both boxes is 
open now.

Heh, still don't understand what is meant by local and remote IPs?

Since proxyarp is used in the ppp section of vtund.conf, vtun should 
setup the routing tables correct, right?


Regards,
Mattias.



Manuel Bouyer wrote:
> On Fri, Jul 26, 2002 at 09:13:43AM +0200, Mattias Karlsson wrote:
> 
>>netstat -arn give me
>>
>>aa.bb.cc.198      aa.bb.cc.197      UH          0        0   1500  ppp0
>>aa.bb.cc.198      00:01:02:a2:a5:3f  UHLS2       0        0   1500  ex1
> 
> 
> On which machine ?
> It would be usefull to have it on both machines.
> 
> 
>>
>>vtund.conf says
>>
>># Assign IP addresses 10.0.0.1 - local, 10.0.0.2 - remote
>>ppp "aa.bb.cc.197:aa.bb.cc.198 proxyarp";
>>
>>
>>It seems I can ping 197 from the outside, but no ports available. Inside 
>>the aa.bb.cc.dd/26 I can't ping it. On B I can do everything to 198.
>>
>>
>>How is this handled in ipfilter in B? Must I open access for ppp0 or
>>something?
> 
> 
> I depends on your ipf.conf, but yes you may have to open a few things for
> ppp0, and the associated addresses.
> 
> --
> Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
> --