Home » OS » Linux

Category Archives: Linux

OpenVPN on www.digitalocean.com CentOS VPS

Installation is easy using the procedure stated on their knowledge base:

http://goo.gl/qmtEm

Some things to be aware off:

After you follow the setup, you would be able to access only the VPS.

To route all traffic from the vpn clients through the tunnel to the internet, you have to make changes to the OpenVPN server configuration:

Change the default route of the vpn clients, uncomment the following line in the server configuration:
push "redirect-gateway def1"

Push DNS to the clients, in this example Google’s Open DNS is used:
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"

Changes have to be done to the iptables rule to route traffic from the tunnel to the Internet:
iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -s 10.8.0.0/24 -j ACCEPT
iptables -A FORWARD -j REJECT
iptables -t nat -A POSTROUTING -s 10.8.0.0/24-o eth0 -j MASQUERADE
iptables -t nat -A POSTROUTING -j SNAT --to-source xxx.xxx.xxx.xxx

Where xxx.xxx.xxx.xxx is the public ip address of the VPS.

Change the client configuration file to point to the files, instead of copying the content of the certificates to the the client configuration (ovpn files).

Reference:
http://www.servermom.com/how-to-build-openvpn-server-on-centos-6-x/732/

Advertisements

OCS New Generation on CentOS 6

CentoOS 6 minimal Installation:

http://www.wingfoss.com/content/how-to-install-centos6-minimal

OCS New Generation Resources for installation:

http://phreek.org/guides/install-ocs-inventory-ng-20-on-centos-6

http://lifeofageekadmin.com/installing-ocs-inventory-ng-part-1/

Important information on Administrative Data:

http://wiki.ocsinventory-ng.org/index.php/Documentation:Accountinfo#Management_of_administrative_data

 

S.M.A.R.T en Linux con smartmontools

Muy buena descripcion para el manejo de informacion de SMART para discos duros con linux desde la linea de comandos en:

http://blog.shadypixel.com/monitoring-hard-drive-health-on-linux-with-smartmontools/

Descargas de versiones antiguas de Red Hat

Estaba buscando una version 9 de Red Hat para un laboratario y encontré que las versiones de 9 para abajo están ubicadas en:

ftp://archive.download.redhat.com/pub/redhat/linux

OCS and GLPI on CentOS How to

http://blog.famillecollet.com/pages/OCS-GLPI-en

Sistema de manejo de tiquetes e inventario integrado.

Postfix FAQ

Este enlace le lleva a un lugar que tiene respuestas a toda case de preguntas sobre Postfix:

http://www.seaglass.com/postfix/faq.html#qexp

VMware Server 2 en CentOS 5.3 con instalacion mínima

Algunas recomendaciones para usar el  VMware Server 2 en una instalación mínima de CentOS:
http://www.briandowney.net/blog/2007/03/30/vmware-server-in-production/

Cómo hacer una instalación minima:
http://oesediez.blogspot.com/2008/07/centos-5-minimal-install.html

http://wiki.centos.org/FAQ/CentOS5#head-c79c201900d22f163a445f134fcc6c916eb3cb6e

http://sudhaker.com/linux-unix/very-minimal-centos-installation.html

Recomendaciones y como instalar la aplicación sobre el CentOS:
http://www.jedi.be/blog/2009/03/10/basic-vmware-server-20-install-on-centos-52/

Como lograr que corra una cantidad mínima de servicios en el CentOS:
http://anchorite.org/blog/2006/11/13/minimal-services-on-centos-44-mini-howto/