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

pptp (AGAIN!)

OK, I know I can't create a VPN using PPTP on the ASL firewall machine. What about having a machine on the inside using PPTP and then forwarding pptp traffic through the firewall to this machine?

Is this possible using ASL? Or do I have to put some of my own iptables rules in to a script? If so, what would they be (assuming that eth0 is external, eth1 is internal [192.168.0.1] and 192.168.0.10 is the pptp server)?

Thanks in advance.


This thread was automatically locked due to age.
Parents
  • Actualy, I have hacked Astaro enough to were you can make a PPTP.

    I had to dump the chroot-pptpd, and also re-compile pptpd itself.

    I can make a full connection with PPTPD, but unfortinatly I am unable to use encrytion.

    So...

    Could the developers PLEASE PLEASE PLEASE patch the kernel to allow the encrytion?  Or atleast release the source to the kernel so I can recompile?

    The patch that needs to be added to the kernal is located at:

    ftp://ftp.binarix.com/pub/ppp-mppe/linux-2.4.0-openssl-0.9.6-mppe.patch.gz

    I'd be very happy to write up a document on how to get pptpd working with astaro once I get can this working.

    If anyone would like information on how I got pptpd working (without compression), please feel free to E-mail me.

    P.S.  I hope the developers arn't upset... but I love astaro... but *need* pptpd.
  • hi erobertstad,

    Dennis will compile a new kernel for you. If everything works out ok, we can put it along with your stuff on docs.astaro.org  [:)]


    /tom
  • Very cool, thanks a bunch.

    I'll work on it on Monday and post my results.

    Thanks again,
    Eirik
  • Hello,
    tried to set up pptp like described but can not get it to work :-(
    This is in my daemon logfile:
    May  8 20:29:45 vpn superdaemon.pl[246]: all ok
    May  8 20:29:49 vpn pppd[9817]: pppd 2.4.0 started by (unknown), uid 0
    May  8 20:29:49 vpn pppd[9817]: Couldn't set tty to PPP discipline: Invalid argument
    May  8 20:29:49 vpn pppd[9817]: Exit.

    Any help is appreciated, thanx
    Rudi
  • go into the options and the pptpd.conf files and set the debug setting.  Then repost the log again and I'll try to help.  Also, right before your ready do test it, restart the machine, load the pptpd settings into intables and log it again.  

    It might be the kernel modules, that's just the first thing that comes to mind though becuase of the problems I had with them.
  • Thanks for the reply!

    Actually, wich modules are to be loaded. I load:
    ppp_generic, ppp_async

    Then log says:May  8 23:25:54 vpn pppd[4884]: pppd 2.4.0 started by (unknown), uid 0
    May  8 23:25:54 vpn pppd[4884]: using channel 4
    May  8 23:25:54 vpn pppd[4884]: Using interface ppp0
    May  8 23:25:54 vpn pppd[4884]: Connect: ppp0  /dev/ttyp0
    May  8 23:25:54 vpn pppd[4884]: sent [LCP ConfReq id=0x1      ]
    May  8 23:25:54 vpn pppd[4884]: Modem hangup
    May  8 23:25:54 vpn pppd[4884]: Connection terminated.
    May  8 23:25:54 vpn pppd[4884]: Exit.

    If I load:
    ppp_generic, ppp_syctty

    log says:
    May  8 23:26:33 vpn pppd[5176]: pppd 2.4.0 started by (unknown), uid 0
    May  8 23:26:33 vpn pppd[5176]: Couldn't set tty to PPP discipline: Invalid argument
    May  8 23:26:33 vpn pppd[5176]: Exit.

    I don´t have a clue anymore - can you help?

    Rudi
  • This is what I have in my modules.conf in the /etc directory.  Does this look like yours?

    alias char-major-108 ppp_generic
    alias ppp ppp_generic
    alias tty-ldisc-3 ppp_async
    alias tty-ldisc-14 ppp_synctty
    alias ppp-compress-18 ppp_mppe
    alias ppp-compress-21 bsd_comp
    alias ppp-compress-24 ppp_deflate
    alias ppp-compress-26 ppp_deflate

    What is werid, is that it says that it doesn't know who started the pppd session?  Kinda stupid question, did you load it as root?

    Eirik Robertstad

    P.S.  I'm going to try and load the PPTP onto another test Firewall and follow my own howto step by step.. maybe I missed something in the setup, that I can remember.  Worse things have happen.  
  • WARNGING.....

    I goofed and just found a BIG mistake in the pptpd HOWTO... the kernel.sh (shortcut to unpack the new kernel) had an error in it.  It should be...


    cd /home/login
    tar -xIf pptp-asl-kernel-UNSUPPORTED.tar.bz2
    cd 0.010215.3/
    mv /boot/bzImage /boot/bzImage.bak
    mv boot/bzImage /boot
    mv /System.map /System.map.bak
    mv boot/System.map /
    cd lib/modules
    mv 2.4.1-asl-0.010215.3/ /lib/modules/


    I'm guessing since your system is still up... you found the error tho.  Also I looked back in the HOW-TO, and I did forget to mention the part about the modules.conf file.  I'll see if I can find anything else I missed, I knew it looked to easy.  [:)]

    Eirik Robertstad
  • Sidenote: I have updated Eirik's HOWTO on docs.astaro.org/pptp

    thanks Eirik !

    /tom
  • Hi Eirik,

    and thanks a lot, could get it working now!!
    Still have some troubles: 
    -can not connect the first time (w2k says it can not connect to the port, no specific log entries

    -lack of speed - working actually on a cable modem but probably it is because of my provider (chello in Austria)

    So, thanks a lot for your help and Astaro Team - go ahead, its a nice and smooth product, will be my choice for production use!!!!

    Cheers
    Rudi

    [ 16 May 2001: Message edited by: rudid ]
Reply
  • Hi Eirik,

    and thanks a lot, could get it working now!!
    Still have some troubles: 
    -can not connect the first time (w2k says it can not connect to the port, no specific log entries

    -lack of speed - working actually on a cable modem but probably it is because of my provider (chello in Austria)

    So, thanks a lot for your help and Astaro Team - go ahead, its a nice and smooth product, will be my choice for production use!!!!

    Cheers
    Rudi

    [ 16 May 2001: Message edited by: rudid ]
Children
No Data