From owner-freebsd-questions@FreeBSD.ORG Fri Jun 17 13:23:07 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 0A71E16A41C; Fri, 17 Jun 2005 13:23:07 +0000 (GMT) (envelope-from stephanweaver@hotmail.com) Received: from hotmail.com (bay20-f25.bay20.hotmail.com [64.4.54.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id E816843D48; Fri, 17 Jun 2005 13:23:06 +0000 (GMT) (envelope-from stephanweaver@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 17 Jun 2005 06:23:06 -0700 Message-ID: Received: from 200.108.17.200 by by20fd.bay20.hotmail.msn.com with HTTP; Fri, 17 Jun 2005 13:23:06 GMT X-Originating-IP: [200.108.17.200] X-Originating-Email: [stephanweaver@hotmail.com] X-Sender: stephanweaver@hotmail.com From: "Stephan Weaver" To: freebsd-atm@freebsd.org, freebsd-questions@freebsd.org Date: Fri, 17 Jun 2005 09:23:06 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 17 Jun 2005 13:23:06.0894 (UTC) FILETIME=[B2BF42E0:01C5733F] Cc: Subject: Connecting My ADSL MODEM To My FreeBSD Pc. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2005 13:23:07 -0000 Hello Friendly FreeBSD people. Let me get straight to the point. I am implimenting a FreeBSD Based Firewall. I have an ADSL Speedtouch 5200 Modem/Router, Currently Plugged into my Switch. I want to connect the ADSL modem to my FreeBSD Firewall; So that the FreeBSD Firewall will be creating a PPP connection directly to my ISP. E.g., my vr0 interface will have a PUBLIC Internet Address (IF Possible?). My Isp Uses PPPoA, i used the instructions from the handbook; Using 'mpd'. I set the ADSL router in 'bridge' mode and connect the Ethernet cable from the Dsl Router/Modem to my FreeBSD Firewall. ON the Interface vr0. But i have little success getting the results i want. [The Firewall doesn't connect to my ISP] Anyone willing to give me a clue? --------------------------------------- Config stuff. rc.conf -- #FireWall Stuff #--------------- inetd_enable="NO" sendmail_enable="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" check_quotas="NO" gateway_enable="YES" ipnat_enable="YES" ipnat_rules="/etc/ipnat.rules" ipfilter_enable="YES" ipfilter_flags="" ipfilter_rules="/etc/ipf.rules" ipmon_enable="YES" ipmon_flags="-Dsn" #vr0 Connects to DSL MODEM ifconfig_vr0="inet 192.168.0.1 netmask 255.255.255.0" #------------------------- mpd.conf default: load adsl adsl: new -i ng0 adsl adsl set bundle authname USER****** set bundle password PASS***[changed] set bundle disable multilink set link no pap acfcomp protocomp set link disable chap set link accept chap set link keep-alive 30 10 set ipcp no vjcomp set ipcp ranges 0.0.0.0/0 0.0.0.0/0 set iface route default set iface disable on-demand set iface enable proxy-arp set iface idle 0 open ----------------- mpd.links -- adsl: set link type pptp set pptp mode active set pptp enable originate outcall set pptp self 192.168.0.1 set pptp peer 192.168.0.254 ---------------- 192.168.0.1 = vr0 interface [ firewall ] 192.168.0.254 = dsl modem/router. Empty /etc/ipnat.rules; empty /etc/ipf.rules Regards, Stephan Weaver. stephanweaver@hotmail.com _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/