Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2014
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. vim /etc/hosts
  2. vim /etc/hostname
  3. /etc/init.d/hostname.sh start
  4. exit
  5. vim /etc/sysctl.conf
  6. apt-get install radiusclient1 freeradius-common freeradius-utils freeradius pptpd freeradius-ldap
  7. vim /etc/freeradius/clients.conf
  8. vim /etc/freeradius/modules/ldap
  9. vim /etc/freeradius/sites-available/default
  10. vim /etc/freeradius/sites-available/default
  11. invoke-rc.d freeradius restart
  12. radtest *
  13. apt-get install pptpd ppp
  14. grep option /etc/pptpd.conf | grep -v '#'
  15. vim /etc/ppp/pptpd-options
  16. apt-get install radiusclient1
  17. vim /etc/radiusclient/servers
  18. vim /etc/radiusclient/radiusclient.conf
  19. wget -O/etc/radiusclient/dictionary.microsoft https://sites.google.com/site/nodesquad/dictionary.microsoft
  20. vim /etc/radiusclient/dictionary
  21. invoke-rc.d freeradius restart
  22. invoke-rc.d pptpd restart
  23. scp root@212.98.187.150:/usr/lib/pppd/2.4.5/radattr.so /usr/lib/pppd/2.4.5
  24. vim /etc/pptpd.conf
  25. invoke-rc.d pptpd restart
  26. apt-get install iptables-persistent
  27. iptables -t nat -A POSTROUTING -s 10.1.6.0/24 -o eth0 -j MASQUERADE
  28. iptables-save >>/etc/iptables/rules
  29. iptables -t filter -A FORWARD -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
  30. iptables-save >>/etc/iptables/rules
  31. vim /etc/iptables/rules
  32. ip ad
  33. vim /etc/iptables/rules
  34. reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement