Subject: Re: Tunneling question.
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Mattias Karlsson <mattias.karlsson@nocom.se>
List: netbsd-users
Date: 07/26/2002 09:13:43
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
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?
Regards,
Mattias.
Manuel Bouyer wrote:
> On Thu, Jul 25, 2002 at 01:41:13PM +0200, Mattias Karlsson wrote:
>
>>Okay, so I made a cute little drawing:
>>
>>http://keihan.sergei.cc/pictures/net-setup.jpg
>>
>>What I want is D mapping to A via B (correct?), performance is not
>>important. Availability is important tho. I tried to setup vtun
>>yesterday, made it work a bit... Problem was that only B (vtund -s)
>>made it to D (A), that worked great tho!. I want all boxes behind B to
>>have access, and the whole Internet too... :)
>>
>>What is local and what is remote when setting up IPs in the vtun ppp
>>section on the server-side?
>>
>>If someone didn't understand this, I want to have access to A (D) from
>>work and from other places (I want D to have a public IP)...
>>
>>
>>Let me know if you want my vtund.conf too...
>
>
> What does your routing table looks like on A and B ?
>
--
- Mattias Karlsson
- Teknisk Support
- mattias.karlsson@nocom.se
- http://www.nocom.se
- 018 65 55 00 (växel)
- 018 65 55 92 (direkt)
- 018 65 55 55 (fax)
- Nocom AB
- Axel Johanssons gata 4
- Kristallen, 754 51 UPPSALA