From owner-freebsd-questions Thu Jul 19 7:42:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp3.arnet.com.ar (smtp3.arnet.com.ar [200.45.191.14]) by hub.freebsd.org (Postfix) with SMTP id 7636537B403 for ; Thu, 19 Jul 2001 07:42:36 -0700 (PDT) (envelope-from pbendersky@mark-inc.com) Received: (qmail 15913 invoked from network); 19 Jul 2001 14:42:32 -0000 Received: from unknown (HELO barney) (200.45.181.137) by smtp3.arnet.com.ar with SMTP; 19 Jul 2001 14:42:32 -0000 From: "Pablo Bendersky" To: Subject: PPPoE, nat, firewall Date: Thu, 19 Jul 2001 11:42:53 -0300 Message-ID: <001301c11061$180f42d0$3700a8c0@mark> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello! I'm trying to configure a ADSL on a FreeBSD 4.2 box to share the internet connection on my lan. I wanted also to have a firewall. I have a cisco 677 connected to the dsl line, and on the other side connected to the xl1 device on my freebsd box. On xl0 of the bsd box I have a local IP address, 192.168.0.1, which I have configured as the default gateway on the other computers of the lan. As the Cisco has an IP address of 10.0.0.1, I put 10.0.0.2 on xl1 (Don't know if that's correct, though) The configuration is as follows: < from rc.conf > ifconfig_xl0="inet 192.168.0.1 netmask 255.255.255.0" ifconfig_xl1="inet 10.0.0.2 netmask 255.255.255.0 broadcast 10.0.0.255" ppp_enable="YES" ppp_mode="dedicated" ppp_nat="YES" ppp_profile="adsl" adsl: set device PPPoE:xl1 set mru 1492 set mru 1492 set authname USER set authkey PASSWD set log Phase tun command set dial set login set ifaddr 10.0.0.1/0 10.0.0.2/0 add default HISADDR Everything works ok, except that I cannot use ftp (from the windows computers and from the freebsd box also) When doing binary ftp it starts upload things, and then, when at 9% (for example) it gets stalled. I don't know why it's happenning, and what's the problem with the configuration. Mail and web works ok. Is my setup ok? Thanks a lot in advance. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message