Debian PPPOE server ?

Discussion in 'Installation/Configuration' started by stefki, Sep 8, 2009.

  1. stefki

    stefki New Member

    Hi All, i have setup Debian 5 with two lan cards and install rp-pppoe but i can`t configure how i can setup simple pppoe server, other windows pc`s to get internet from debian. i search a lot of google but there isnt good tutorials.
    tnx.
     
    Last edited: Sep 8, 2009
  2. falko

    falko Super Moderator Howtoforge Staff

  3. Franz

    Franz Member

    why not using PPTP?

    I'm using debian 4 and netfilter package(QoS).
    users are connected via pptp over large wireless network.
    on single adsl connection (16Mbit/758kbit) there are about 50 clients.

    and I'm also using mikrotik router OS for internet sharing. It have beter control for mangle package and queue.
     
  4. stefki

    stefki New Member

    falko: tnx but this is for setup ADSL Connection on Server not sharing to others clients i think, i need this
    1. i have internet from cable modem.
    2. cable modem connected to LAN card 1 ( Debian)
    3. second lan debian card to be for the clients to share the interner
     
  5. Franz

    Franz Member

    How do you conenct to internet? ppoe?
    just run, for configuring ppoe connection to internet:

    Code:
    ppoeconf
    and enter all data for connecting to internet.

    and after that run:

    Code:
    iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
    echo "1" > /proc/sys/net/ipv4/ip_forward
     
    on client computers enter default gateway address of debian box and dns address of your internet provider DNS server.


    where ppp0 is interface connected to internet over eth0 or eth1
     

Share This Page