From owner-freebsd-questions@FreeBSD.ORG Wed Jun 22 08:53:29 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 D728416A41C; Wed, 22 Jun 2005 08:53:29 +0000 (GMT) (envelope-from tedm@toybox.placo.com) Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [65.75.192.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2ED6B43D49; Wed, 22 Jun 2005 08:53:29 +0000 (GMT) (envelope-from tedm@toybox.placo.com) Received: from tedwin2k (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.11.1/8.11.1) with SMTP id j5M8sVb24790; Wed, 22 Jun 2005 01:54:31 -0700 (PDT) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Stephan Weaver" , , Date: Wed, 22 Jun 2005 01:53:27 -0700 Message-ID: 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 IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478 Importance: Normal Cc: Subject: RE: 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: Wed, 22 Jun 2005 08:53:30 -0000 Stephan, Have you tried setting up with userland ppp for PPPoE? A lot of DSL providers are unclear on the concept and label PPPoE (RFC 2516) installations as PPPoA (RFC 2364) and vis-versa. Ted >-----Original Message----- >From: owner-freebsd-questions@freebsd.org >[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Stephan Weaver >Sent: Tuesday, June 21, 2005 6:00 AM >To: freebsd-atm@freebsd.org; freebsd-questions@freebsd.org >Subject: Connecting My ADSL MODEM To My FreeBSD Pc. > > >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 >------------------ > > >MPD.LOG >--- >Multi-link PPP for FreeBSD, by Archie L. Cobbs. >Based on iij-ppp, by Toshiharu OHNO. >mpd: pid 523, version 3.18 (root@pizzaboys.org 20:57 16-Jun-2005) >[adsl] ppp node is "mpd523-adsl" >set pptp mode: unknown command. Try "help". >[adsl] using interface ng0 >[adsl] IPCP: peer address cannot be zero >[adsl] IFACE: Open event >[adsl] IPCP: Open event >[adsl] IPCP: state change Initial --> Starting >[adsl] IPCP: LayerStart >[adsl:adsl] [adsl] bundle: OPEN event in state CLOSED >[adsl] opening link "adsl"... >[adsl] link: OPEN event >[adsl] LCP: Open event >[adsl] LCP: state change Initial --> Starting >[adsl] LCP: LayerStart >[adsl] device: OPEN event in state DOWN >pptp0: connecting to 192.168.0.254:1723 >[adsl] device is now in state OPENING >pptp0: connection to 192.168.0.254:1723 failed >pptp0: killing connection with 192.168.0.254:1723 >pptp0-0: killing channel >[adsl] PPTP call failed >[adsl] device: DOWN event in state OPENING >[adsl] device is now in state DOWN >[adsl] link: DOWN event >[adsl] LCP: Down event >[adsl] device: OPEN event in state DOWN >[adsl] pausing 7 seconds before open >[adsl] device is now in state DOWN >----------------------------- >pptp.log >-=------=-=-=-=-= >pizzaboys# 192.168.0.254 adsl >anon warn[open_inetsock:pptp_callmgr.c:311]: connect: Connection refused >anon fatal[callmgr_main:pptp_callmgr.c:123]: Could not open control >connection >to 192.168.0.254 >----- >pptp / ppp.conf file >pizzaboys# less /etc/ppp/ppp.conf >adsl: >set log phase chat lcp ipcp ccp tun command >set timeout 0 >enable dns >set authname USER(***** >set authkey PASSWD**** >set ifaddr 0 0 >add default HISADDR > > >Regards, >Stephan Weaver. > >stephanweaver@hotmail.com > >_________________________________________________________________ >Express yourself instantly with MSN Messenger! Download today >it's FREE! >http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to >"freebsd-questions-unsubscribe@freebsd.org" >