Subject: Re: NetBSD 3.0 and problems with ipf and ipnat
To: Ebuemir <ebuemir@inode.at>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 02/02/2006 20:43:39
On Wed, Feb 01, 2006 at 02:42:26PM +0100, Ebuemir wrote:
> Hi List!
> 
> I am new in NetBSD and my english is bad.
> I have a NetBSD gateway/router for my LAN my Internet Connection is xDSL
> from inode.at/Provider i make the connection with pppoe.
> I have a problem when i try to upload/delete a Folder on a Ftp-Server it
> doesnt work after sometime when uploading/deleting the Folder cames a
> Error:   "Time Out" or gftp dies. I tried with a OpenBSD 3.8 and there
> was no error it works.The Error comes just whenn i have Folders with
> some Subfolders and Files. When its just a big File exmpale with 60mb
> there is no problem.
> Sorry for my english.
>  
> Here my ifconfig.pppoe0 , ipnat.conf ,ipf.conf:
> first ifconfig.pppoe0:
> ===========================================
> # Um das Device zu erstellen
> create
> # Um das Interface das von PPPoE benutzt wird zu aktivieren
> ! /sbin/ifconfig rtk0 up
> # Wir benutzen $int für rtk0
> ! /sbin/pppoectl -e rtk0 $int
> # Authentifizierung konfigurieren
> ! /sbin/pppoectl $int myauthproto=pap 'myauthname=username@home'
> 'myauthsecret=passwort' hisauthproto=none
> 0.0.0.0 0.0.0.1 up
> # eof
> ============================================
> ipnat.conf
> =======================================
> # NAT
> map pppoe0 192.168.1.0/24 -> 0/32 proxy port ftp ftp/tcp
> map pppoe0 192.168.1.0/24 -> 0/32 portmap tcp/udp auto
> map pppoe0 192.168.1.0/24 -> 0/32

Maybe try:
map pppoe0 192.168.1.0/24 -> 0/32 proxy port ftp ftp/tcp mssclamp 1452
map pppoe0 192.168.1.0/24 -> 0/32 portmap tcp/udp auto mssclamp 1452
map pppoe0 192.168.1.0/24 -> 0/32 mssclamp 1452

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--