› Forums › Network Management › ZeroShell › Zeroshell as a PPTP client – possible?
- This topic is empty.
-
AuthorPosts
-
October 27, 2011 at 10:18 am #43170
DWJames
MemberHi,
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,
JamesJanuary 6, 2013 at 12:46 pm #52009shemerdog
MemberHi,
need this too, I would like to get some directions so I can help add this feature myself
thxMarch 31, 2013 at 1:45 pm #52010meloun
MemberZeroShell 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.shDeinstall patch:
cd /Database/1103
./deinstall.shManuals 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.
March 31, 2013 at 6:28 pm #52011meloun
MemberSmall 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.
April 1, 2013 at 11:33 pm #52012meloun
Memberpptp-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.shcd /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.shApril 20, 2013 at 12:28 am #52013meluvalli
MemberOk, 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).
April 21, 2013 at 3:54 am #52014meluvalli
MemberOk, 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 π
April 23, 2013 at 5:23 pm #52015meloun
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
April 28, 2013 at 10:39 pm #52016meloun
Memberpptp-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.shcd /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.shJanuary 12, 2014 at 5:41 pm #52017ipmeel
MemberThanks.
Great job done :D.
Looking for latest version of Zeroshell (3.0.0).March 27, 2014 at 11:07 am #52018llox
MemberAnd 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 .January 9, 2015 at 8:35 am #52019iridiu
MemberAny news for PPTP client in version 3 of ZeroShell? Or it is possible to adapt this script for v. 3.2.x?
November 8, 2017 at 8:09 am #52020sukupandachu
ParticipantHi 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. -
AuthorPosts
- You must be logged in to reply to this topic.