CentOS OpenVPN install how-to

Required kernel module: ppp If you are running a VPS with OpenVZ you will have to ask your provider to enable PPP support, since OpenVZ uses a shared kernel, preventing you from doing it yourself. Check if tun/tap is working #cat /dev/net/tun If this returns “File descriptor in bad state” it is correctly installed. Install […]

Ubuntu 11.04 pptp VPN using PPTPD how-to

Required kernel support: ppp MPPE #mknod /dev/ppp c 108 0 #apt-get update #apt-get install pptpd #vim /etc/ppp/pptpd-options add ———————————– ms-dns 8.8.8.8 ms-dns 8.8.4.4 ———————————– #cp -R /etc/ppp/pptpd-options /etc/pptpd.conf #vim /etc/pptpd.conf add ———————————– localip 10.0.0.1 remoteip 10.0.0.10-100 ———————————– #vim /etc/ppp/chap-secrets add ———————————– johndoe pptpd johndoepassword * ———————————– #/etc/init.d/pptpd restart Now, if you would like to add […]

Ubuntu 11.04 proxy server how-to

apt-get update apt-get install aptitude aptitude install squid squid-common vim /etc/squid/squid.conf Below this line; “acl localhost src 127.0.0.1/32” (or some similar “acl localhost src xxx”) add; ———————————————————– acl yournetwork src xx.xx.xx.xx >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Where xx.xx.xx.xx is the external IP address of the computer you are connecting to the proxy <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ———————————————————– then also locate the ‘http_access […]