From owner-freebsd-questions@FreeBSD.ORG Wed Apr 7 13:14:24 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9927416A4CE for ; Wed, 7 Apr 2004 13:14:24 -0700 (PDT) Received: from prserv.net (asmtp1.prserv.net [32.97.166.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33C4343D5A for ; Wed, 7 Apr 2004 13:14:24 -0700 (PDT) (envelope-from yann.luppo@attglobal.net) Received: from razorwork (130.wf21.bltm.wswdc01r18.dsl.att.net[12.103.21.130]) by prserv.net (asmtp1) with SMTP id <20040407201154251039gq6qe> (Authid: yann.luppo@attglobal.net); Wed, 7 Apr 2004 20:11:55 +0000 Message-ID: <03b601c41caa$56d6c3f0$8215670c@razorwork> From: "RazorOnFreeBSD" To: Date: Wed, 7 Apr 2004 16:11:54 +0200 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Connect to Internet X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Apr 2004 20:14:24 -0000 Hello, I just setup a freebsd box with the 5.1 release to be a = gateway/firewall. The installation was smooth and to setup the gateway/firewall with nat a = lot of sources are available on Internet. Here is my problem, I can't connect to Internet from the Freebsd box. I have DSL and my ISP is AT&T, I have a static IP wich means I don't = need to run PPP to connect. FreeBSD Internet NIC is : 12.103.20.x When I type ifconfig my NIC looks fine, up and running : rl0 : 12.103.20.x For information the freebsd box contains 2 NIC's one for Internet the = other for the LAN (192.168.1.1) If I ping myself no problem everything's fine, but I can't ping a web = address. I don't know if it is possible under unix but I use to "ping = www.yahoo.com" for example to know if it's well connected. But the best = proof is when I try to install samba my freebsd gives a time out = reaching the samba server on the web.... I have setup a firewall_type=3D"OPEN" because i'm still testing but I = also setup natd and gateway variables in the rc.conf file to what is = needed up to majority of websites about firewall and gateways with = Freebsd. I also rebuilt the kernel up to those websites wich was fine, and I = created a natd.conf file. One more thing I think I didn't use the Domain variable when I set up = the NIC from sysinstall.... don't know if it's important! Well I don't understand why it doesn't work.... The tech guy from at&t = hotline told me it's easy as setup a LAN.... "yes you're right my LAN = works fine but not Internet!" :S Please somebody help me !!!! razor.