Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

HowTo setup RAS PPoE

Hi,

i'm not very skilled in networking aso.

so can anybody explain how to setup asl with an direct adsl connection... so the asl box should route the lan connections with ip_masquerading into the wan... 

thanks and best regards,

thomas


This thread was automatically locked due to age.
  • Download the chroot-pppoe from docs.astaro.org somewhere.

    Then:
    * scp chroot-pppoe to astaro, (/ -dir)
    * tar xvfz chroot-pppoe.tar.gz
    * edit start_pppoe, options, pap-secrets, chap-secrets (/var/chroot-pppoe/..)
    * edit /etc/wfe/conf/netzkartendata and add an interface ex.:
      ppp0#ppp0#0.0.0.0#255.255.255.255
    * edit  /etc/wfe/conf/masqdata and add:
      Local Area Network, Static IP#ppp0#

    * add rules: allow...
    * iptables: /usr/local/sbin/iptables -t nat -I POSTROUTING -o ppp0 -s 192.168.1.0/24 -j MASQUERADE


    "Local Area Network, Static IP" is the definition for my lan (192.168.1.0/24)
    ppp0 is the adsl ppp interface (not ethX)

    Hope this helps
  • well, thanks, i'll try that... but what if my isp disconnects all 24 hours? does the rasppoe driver reconnect automatically?

    and, another question:

    i got some dynip service with ip updating software for linux. may i'm able to install the software without any problems?

    thanks
  • uhm.

    i installed the pppoe driver as written in the readme. then did the next steps you wrote... as i would start the driver, he just said:

    pppoe: send (sendPacket): Network is down.

    after a reboot, the last message on the screen is: 

    pppoe: Timeout waiting for PADO packets

    no login screen is available, and the system seems freezed.  [:(] 

    what to do now?!?
  • I had the same problems.

    1. Bootscript: just removed it, currently I start it manually using a little adsl_restart script that sets up masq and pppoe link. I didn't bother making any boot script since I figued it should stay up untill next beta if they released it around mid feb.

    2. When you change something in the webadmin (like packetrules, dnat, etc) you need to restart the adsl connection (DSL stop, DSL start, iptables..)