nstall pptp


SUBMITTED BY: Guest

DATE: March 11, 2014, 12:42 p.m.

FORMAT: Text only

SIZE: 396 Bytes

HITS: 13477

  1. apt-get install ssh pptpd -y
  2. vi /etc/pptpd.conf
  3. localip xxxxx
  4. remoteip 192.168.2.2-238,192.168.2.245
  5. vi /etc/ppp/chap-secrets
  6. noni pptpd pass "*"
  7. /etc/init.d/pptpd restart
  8. vi /etc/sysctl.conf
  9. net.ipv4.ip_forward=1
  10. /sbin/iptables -P FORWARD ACCEPT
  11. iptables -t nat -A POSTROUTING -j SNAT --to-source xx.xx.xx.xx
  12. apt-get install bind9 -y
  13. /etc/init.d/bind9 start

comments powered by Disqus