1.ssh
#查看是否存在ssh服务service ssh#安装ssh服务sudo apt-get install openssh-server -y
2.python
#view branch of pythonpython -v>>...2.7.6#我这是2.7.6版本的,最新的ubuntu kylin 14.10 server x64,就不用升级了。#install pipsudo apt-get install python-pip -y
3.vpn( VPN Server/Gateway)
#install pptpsudo apt-get install pptpd -yvi /etc/pptpd.conf#去掉文件最末端的 localip 和 remoteip 两个参数的注释localip 10.100.0.1 #my ipremoteip 10.100.0.2-10 #client ipvi /etc/ppp/pptpd-options#client dnsms-dns 202.113.16.10ms-dns 208.67.222.222#edit name,server name,password,limit ipvi /etc/ppp/chap-secrets#restart pptpd/etc/init.d/pptpd restart#test vpn from windows client.###### via vpn browse wide web rescource ######vi /etc/sysctl.conf#remove # , open ipv4 forwardnet.ipv4.ip_forward=1#make oksysctl -p#install iptablesapt-get intall iptables#add rule to netiptables -t nat -A POSTROUTING -s 10.100.0.0/24 -o eth0 -j MASQUERADE#save iptablesiptables-save > /etc/iptables-rulesvi /etc/network/interfaces # add to end of eth0pre-up iptables-restore < /etc/iptables-rules
参考: