From owner-freebsd-isp@FreeBSD.ORG Thu Jun 12 10:36:05 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 612AF37B401 for ; Thu, 12 Jun 2003 10:36:05 -0700 (PDT) Received: from mail.nortenet.pt (mar.nortenet.pt [212.13.32.243]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7061243FBF for ; Thu, 12 Jun 2003 10:36:03 -0700 (PDT) (envelope-from guilherme@nortenet.pt) Received: from nortenet.pt (mail.nortenet.pt [212.13.32.243]) by mail.nortenet.pt (8.11.1/8.11.1) with SMTP id h5CHYnB26720; Thu, 12 Jun 2003 18:34:49 +0100 From: "Guilherme Oliveira" Sender: guilherme@nortenet.pt To: freebsd-isp@freebsd.org X-CC-Sender: guilherme@nortenet.pt Date: Thu, 12 Jun 2003 18:34:49 gmt X-Mailer: DMailWeb Web to Mail Gateway 2.5e, http://netwinsite.com/top_mail.htm Message-id: <3ee8b9b9.685c.0@nortenet.pt> X-User-Info: 81.193.98.132 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: [help] adsl with fixed ip's + natd X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: guilherme@nortenet.pt List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 17:36:05 -0000 Hi ! I'm having some problems configuring my DMZ with adsl fixes ip's. My ISP give to me 1 ip for the connection fase (213.13.123.140) and others ip for my netroking needs (213.13.121.72/29) My modem connects very well (looking ppp.log), I was pinging once but didn't nat. Now it does nothing ! dmesg shows: natd: tun0: Cannot get interface address pinging some valid ip from internet: ping: no route to host netstat -nr Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.0 link#2 UC 0 0 xl1 192.168.1 link#3 UC 0 0 xl2 213.13.121.74/32 link#1 UC 0 0 xl3 ppp.conf: default: set device PPPoE:xl0 set speed sync set mru 1492 set mtu 1492 set ctsrts off enable lqr set log phase tun set ifaddr 213.13.123.140 213.13.121.73 255.255.255.248 add default HISADDR enable dns isp: set authname USERNAME set authkey PASSWORD rc.conf: firewall_enable="YES" firewall_type="open" natd_enable="YES" natd_interface="tun0" ifconfig_xl0="up" ifconfig_xl1="inet 192.168.0.1 netmask 255.255.255.0" # desktop network ifconfig_xl2="inet 192.168.1.1 netmask 255.255.255.0" # server network ifconfig_xl0_alias0="inet 213.13.121.74 netmask 255.255.255.255" # for port forward to 192.168.1.2 ifconfig_xl0_alias1="inet 213.13.121.75 netmask 255.255.255.255" # for port forward to 192.168.1.3 ppp_enable="YES" ppp_mode="ddial" ppp_nat="NO" ppp_profile="isp" defaultrouter="NO" static_routes="" gateway_enable="YES" router_enable="NO"