ADSL PPPoA

Stephan Weaver stephanweaver at hotmail.com
Thu Jun 16 14:02:09 GMT 2005


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.


>From: "fbsd_user" <fbsd_user at a1poweruser.com>
>Reply-To: <fbsd_user at a1poweruser.com>
>To: "Stephan Weaver" 
><stephanweaver at hotmail.com>,<freebsd-questions at freebsd.org>
>Subject: RE: ADSL PPPoA
>Date: Wed, 15 Jun 2005 13:36:36 -0400
>
>you could help your cry for help by posting your ppp.conf, ppp.log
>and firewall rules
>
>-----Original Message-----
>From: owner-freebsd-questions at freebsd.org
>[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Stephan
>Weaver
>Sent: Wednesday, June 15, 2005 12:38 PM
>To: freebsd-questions at freebsd.org
>Subject: ADSL PPPoA
>
>
>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 modem to my FreeBSD Firewall;
>So that the FreeBSD Firewall will be creating a PPP connection to my
>ISP.
>Eg, my xl0 interface will have a PUBLIC Internet Address (IF
>Possible?).
>
>My Isp Uses PPPoA, i used the instructions from the handbook, to
>setup
>'mpd'.
>I put the router in 'bridge' mode and connect the Ethernet cable
>from the
>Dsl Router/Modem to my FreeBSD Firewall.
>
>But i have little success getting the results i want. [The Firewall
>dosent
>connect to my ISP]
>
>Anyone willing to give me a clue?
>
>
>
>Regards,
>Stephan Weaver.
>
>stephanweaver at 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 at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"freebsd-questions-unsubscribe at freebsd.org"
>

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



More information about the freebsd-questions mailing list