Zeroshell as a PPTP client – possible?

Home Page Forums Network Management ZeroShell Zeroshell as a PPTP client – possible?

This topic contains 11 replies, has 0 voices, and was last updated by  DWJames 1 year, 10 months ago.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #43170

    DWJames
    Member

    Hi,
    I can see that PPT has been requested a few times here and it’s unlikely to be included in Zeroshell, but I can also see from this document that it’s possible to add it in and have Zeroshell work as a PPT server
    http://www.zeroshell.net/listing/pptp_vpn.pdf
    I don’t need PPTP server, but I could really do with some way of being able to setup a PPTP client connection to our web hosts.
    Is there any way I can do this?
    thanks,
    James

    #52009

    shemerdog
    Member

    Hi,
    need this too, I would like to get some directions so I can help add this feature myself
    thx

    #52010

    meloun
    Member

    ZeroShell as pptp client possible!

    NOTES:
    This patch work only whith ZS-2.0.RC2.
    This patch only for test purposes, and may be unstable. Before install this patch make backup active profile!
    This patch use generic kerbynet parser (no have sources for patching), but replace and adding kerbynet.cgi shell scripts, and can partially control the pptp connections through a web interface.

    Supports:
    – up/down connections;
    – manage static routes via pptp connections;
    – support Net Balancer, and other features like pppoe.

    Dont supports in this patch:
    – make, configure and remove pptp connections through a web interface (use Startup/Cron script editor or SSH/Shell for manual enter configure commands, see exampes below).

    Install patch:
    WARNING! This patch installing only through SSH or Shell dont use Startup/Cron script editor!

    cd /Database
    wget http://dc.sungate.su/files/pptp-client-BETA3-2.0.RC2.tar.bz2
    tar xvf pptp-client-BETA3-2.0.RC2.tar.bz2
    cd 1103
    ./install.sh

    Deinstall patch:

    cd /Database/1103
    ./deinstall.sh

    Manuals and examples:

    - Command for MAKE pptp connection interface:
    /root/kerbynet.cgi/scripts/makePPTP ppp[0-9] description_this pptp.server.name.dns login passwd yes|no yes|no|NB yes|no yes|no
    1 - ppp interface (ppp0|ppp1|...);
    2 - description_string_no_spaces;
    3 - pptp server ip or dns name;
    4 - login;
    5 - password;
    6 - set this connection as default route (yes|no);
    7 - auto start this connection (yes|no|NB);
    8 - enable 128 bit mppe encryption and compression (yes|no);
    9 - enable nat masquerading on this interface (yes|no).

    - Command for CHANGE pptp connection interface:
    /root/kerbynet.cgi/scripts/configPPTP ppp[0-9] description_this pptp.server.name.dns login passwd yes|no yes|no|NB yes|no yes|no
    Options are the same command makePPTP.

    - Command for REMOVE pptp connection interface:
    /root/kerbynet.cgi/scripts/removePPTP ppp[0-9]
    1 - ppp interface (ppp0|ppp1|...).

    Please test this patch and post the results.

    Best regards, Dmitry Meloun.

    #52011

    meloun
    Member

    Small fix.

    If create some pptp connections and use same logins whith differrent passwords, only one of them is successfully connected.
    This is due to the storage of logins and passwords in standart secrets file ppp.
    The fix is ​​to use the ppp options name and password for each pptp connection.

    Please download and reinstall patch.

    #52012

    meloun
    Member

    pptp-client-BETA2-2.0.RC2

    Fixed conflict with zeroshell pptp server.

    If you installed pptp-client-BETA1, uninstall it before installing pptp-client-BETA2 and reboot router.

    cd /Database/1101
    ./deinstall.sh
    cd /Database
    wget http://dc.sungate.su/files/pptp-client-BETA2-2.0.RC2.tar.bz2
    tar xvf pptp-client-BETA2-2.0.RC2.tar.bz2
    cd 1102
    ./install.sh
    #52013

    meluvalli
    Member

    Ok, so this script works great except for one thing…

    After the connection is made. I can’t ping any of the IPs on the remote side πŸ™

    The IP address that I am trying to ping is 10.40.163.XXX and none reply.

    Looking at the route, there is only one route added and it is for Destination 10.40.163.4 (which is the remote Server IP).

    #52014

    meluvalli
    Member

    Ok, so actually I guess it doesn’t matter that the VPN doesn’t work because I had to scrap ZeroShell all together….

    I have two providers. My first one has 5 static IP addresses with it. Second one only has DHCP…

    When I setup load balance with failsafe… It kills my 5 IP addresses… External users can’t access the IP’s at all include ping them. And it’s at random. Sometimes they can ping one IP and not another.

    It’s to sporadic for me!!! Not reliable! I started over and reconfigured ONLY the IP Addresses and Load Balance and get the same issue.

    Because it’s so unreliable, I can’t use it πŸ™

    #52015

    meloun
    Member

    @meluvalli wrote:

    Ok, so this script works great except for one thing…

    After the connection is made. I can’t ping any of the IPs on the remote side πŸ™

    The IP address that I am trying to ping is 10.40.163.XXX and none reply.

    Looking at the route, there is only one route added and it is for Destination 10.40.163.4 (which is the remote Server IP).

    After the PPTP connection is up, add a static route(s) for this PPTP connection. Or when configuring a PPTP connection, that you use it as the default route.

    PS You are a very strange trying to use is balancer, combining channel with your ISP IP range and the channel on which apparently works NAT

    #52016

    meloun
    Member

    pptp-client-BETA3-2.0.RC2

    A more stable connection.

    If you installed pptp-client-BETA2, uninstall it before installing pptp-client-BETA3.

    cd /Database/1102
    ./deinstall.sh
    cd /Database
    wget http://dc.sungate.su/files/pptp-client-BETA3-2.0.RC2.tar.bz2
    tar xvf pptp-client-BETA3-2.0.RC2.tar.bz2
    cd 1103
    ./install.sh
    #52017

    ipmeel
    Member

    Thanks.
    Great job done :D.
    Looking for latest version of Zeroshell (3.0.0).

    #52018

    llox
    Member

    And there is the possibility of ZeroShell 3 connect as pptp client?
    Simply, I distributions versions ZS-2.0.RC2 and ZS-2.0.RC3 not found in /root/kerbynet.cgi/scripts/makePPTP .

    #52019

    iridiu
    Member

    Any news for PPTP client in version 3 of ZeroShell? Or it is possible to adapt this script for v. 3.2.x?

    #52020

    sukupandachu
    Participant

    Hi gurus,

    Today I need Zeroshell to connect to a VPS PPTP server.
    The idea is that other clients dial into the same VPS PPTP server, and reach the Zeroshell LAN network for some remote work needed on a weekly basis.

    I do not see this ZS_as_PPTP_Client option integrated into Zeroshelll 3.8.1
    I am going to attempt to use the Beta proposed in this thread and I hope it works. I will keep you all posted.

    If anyone has a better fix today, I would appreciate some feedback.
    Thanks.

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.