سلام!
این خلاصه ی کار رو ی جا برای خودم یادداشت بر داشته بودم!
اگه مبهم بود! بگو تا فارسی توضیح بدم ش!
pptp/pptpd
On server Side::
$ sudo apt-get install pptpd
$ sudo nano /etc/pptpd.conf
Locate and uncomment to followed line
any Definetion for the VirtualNetworkArea in DoneHere
localip 192.168.0.1
remoteip 192.168.0.234-238,192.168.0.245
Close the file and restatrt the deamon
$ sudo /etc/init.d/pptpd restart
add the username and password for remove users
$ sudo su
# echo "<username> pptpd <password> *" >> /etc/ppp/chap-secrets
to Enable Routing Between Networked Remote Clients do 2 Step
1:
$ sudo nano /etc/sysctl.conf
#net.ipv4.ip_forward=1 ==> net.ipv4.ip_forward=1
2:
$ sudo nano /proc/sys/net/ipv4/ip_forward
0 ==> 1
On Client Side::
Windows Clients
Just use a network Wizard to make the Connection
u need the Valid IP address of the server, username and the proper password of that user.
Linux Clients