Subject: Re: NetBSD 1.6 as a gateway (duplicated)
To: users netbsd <netbsd-users@netbsd.org>
From: Andrea Rossignoli <software@polin.it>
List: netbsd-users
Date: 01/10/2003 07:49:20
Okay,
thanks a lot now it works.
I followed the steps of the document you linked to but I forget to follow
the last part.

Now /etc/ipnat.conf looks as:
map pppoe0 192.168.0.0/24 -> 0/32 proxy port ftp ftp/tcp
map pppoe0 192.168.0.0/24 -> 0/32 portmap tcp/udp 40000:60000 mssclamp 1452
map pppoe0 192.168.0.0/24 -> 0/32 mssclamp 1452
map pppoe0 192.168.0.0/24 -> 0/32


Thanks again.

$Andrea

----- Original Message -----
From: "Oliver Tonnhofer" <olt@bogosoft.com>
To: "software" <software@polin.it>
Cc: <netbsd-users@netbsd.org>
Sent: Thursday, January 09, 2003 4:07 PM
Subject: Re: NetBSD 1.6 as a gateway (duplicated)


> Hallo software,
>
> "software" <software@polin.it> wrote:
> I guess thats not your realname.
>
> >Well I used, for the past month, FreeBSD as a gateway.
> >Yesterday I wanted to install NetBSD so I downloaded the 1.6 iso,
> >burned a CD and installed it: all is ok.
> >
> >What I wanted to do is to setup my NetBSD machine as a gateway for a
> >multi-home network:
> [...]
> >***  /etc/ifconfig.ep1 ***
> >inet 10.0.0.1 netmask 0xffffff00
>
> You shouldn't assign ep1 an ip address. You can remove /etc/ifconfig.ep1
> '! /sbin/ifconfig ep1 up' in ifconfig.pppoe0 is sufficient.
>
> [...]
> >From the laptop I have some problems,
> >because I can use only ftp.
>
> FTP traffic goes through the ipnat ftp proxy.
>
> >So FTP works, while I can't navigate and I can't use the email.
> >In particular when I launch the email program (outlook express) it
> >tells me Downloading Message 1 of 30
> >and it locks there (after some seconds he says me "error" )
> [...]
> >I'm desperate because yesterday night I spent 4 hours,
> >and I have no idea what to do.
> >
> >Have I done something wrong ?
>
> Read http://www.netbsd.org/Documentation/network/pppoe/#clamping
>
> ~
> Oliver