Tiny Core Linux
Tiny Core Extensions => TCE Tips & Tricks => Topic started by: idoldog on October 01, 2013, 07:20:19 AM
-
I found a file named pptpd.tcz from TCE 2.X repos.
I use command `tce-load -i pptpd.tcz` to install the pptpd server.
But I can't connect to the server after I run the command `sudo pptpd -f`.
I use tcpdump and found it had revceived the data from my phone.
-
This extension depends on pppd - is that extension loaded as well?
-
yes, i works. I have some log. When I enable MPPE option, I get log following.
(http://p0.pstatp.com/origin/314/6764464343)
when i disable MPPE option, I can connect to the server but it disconnect some time.
the config file /etc/pptpd.conf
option /etc/ppp/options-pptpd
ppp /usr/local/sbin/pppd
remoteip 192.168.250.10-30
localip 192.168.250.1
bcrelay table
Iface
eth0
/etc/ppp/chap-secrets
# Secrets for authentication using CHAP
# client server secret IP addresses
vpn pptpd 123456 *
-
i fix it by installing a new version of iptables
-
So the pptpd and pppd extensions from the tc-2.x repo work in tc-5.x, is that correct?
-
yes. redsocks from 3.x repos works fine too.
-
iptables extension from 2.x repos does not work in 5.0
-
pptpd does not support MPPE option when connect to the server.
-
iptables extension from 2.x repos does not work in 5.0
..but I presume the version of iptables already in the tc-5.x repo does work?
-
pptpd from tc-2.x repo, pppd and redsocks from tc-4.x repo copied over
-
iptables extension from 2.x repos does not work in 5.0
..but I presume the version of iptables already in the tc-5.x repo does work?
I want to use table `nat`, such as `iptables -t nat -F`. 2.x's iptables does not support. 5.x's iptables works fine.
-
I made a virtual machine using tiny core which had installed pptp, redsocks, iptables. Every connection from vpn will be redirected to redsocks(be transformed to proxy connections), then redirected to our development server.
It works fine. The size of all the files are limit to 50M. It's very cool.