ZPanel y Sentora en CentOS 6 x64
ZPanel, un panel de control de alojamiento web popular, se bifurcó en 2014 a un nuevo proyecto llamado Sentora. Aprende a instalar Sentora en tu servidor con este tutorial.
GRE stands for Generic Routing Encapsulation, which allows two servers to communicate privately. GRE tunnels are useful as they allow all types of traffic to go through. It is relatively easy to set up and is secure (imagine having a direct pipe between server A and server B).
Simply put: creating a GRE tunnel allows for packets to be forwarded with minimal resource usage.
NOTE: GRE tunnels must be set up on two endpoints.
When you create a GRE tunnel on your server, your server will act as a virtual router. Keep in mind that both ends will need a public IP address as packets are sent over multiple networks.
Fortunately, all you'll need is:
ip_gre module loadednano or any text editorIf you don't already have the GRE module loaded into either server, perform the following command:
modprobe ip_gre
In order to make things easier to understand, the first and second endpoint will be labelled as A and B respectively.
The IP addresses that we'll be using are below:
Endpoint A:
192.0.2.1203.0.113.1Endpoint B:
192.0.2.2203.0.113.2Keep in mind that you'll need to modify the example IP addresses (change 203.0.113.1 and 203.0.113.2 with the IP addresses of the two servers that you will be using).
To begin, we need to head over to the network-scripts folder:
cd /etc/sysconfig/network-scripts
Now, use nano or your favourite text editor to create a file called ifcfg-tun0:
nano ifcfg-tun0
In the newly created file, paste the following:
DEVICE=tun0
BOOTPROTO=none
ONBOOT=yes
DEVICETYPE=tunnel
TYPE=GRE
PEER_INNER_IPADDR=192.0.2.2
PEER_OUTER_IPADDR=203.0.113.2
MY_INNER_IPADDR=192.0.2.1
Save and exit (with nano, do CTRL + X, followed by ENTER).
Bring the interface up:
ifup tun0
Once you perform the command above, you can begin configuring the second endpoint.
The process of configuring this endpoint is similar to that of the first one. To begin, head over to your network-scripts folder:
cd /etc/sysconfig/network-scripts
Now, create a new file called ifcfg-tun0:
nano ifcfg-tun0
Paste the following:
DEVICE=tun0
BOOTPROTO=none
ONBOOT=yes
TYPE=GRE
PEER_INNER_IPADDR=192.0.2.1
PEER_OUTER_IPADDR=203.0.113.1
MY_INNER_IPADDR=192.0.2.2
Exit and save.
You can now bring the interface up:
ifup tun0
On Endpoint A, enter the following:
ping 192.0.2.2
You will see a similar output:

On Endpoint B:
ping 192.0.2.1
You will see a similar output:
If both ends can ping each other successfully, you can skip to the final section of this article. If it times out, you may need to disable your firewall or whitelist the appropate addresses.
Refer to this article if you don't understand how to create these rules.
If you only wish to test if the tunnels work, you can (at your own risk) disable the firewall on both servers:
service firewalld stop
Some CentOS 7 systems have IPTables, so perform the following if the command above does not work:
service iptables stop
You've successfully established a GRE tunnel between two servers. Should you wish to remove the tunnels in the future, perform the following on both servers:
ifdown tun0
rm -rf /etc/sysconfig/network-scripts/ifcfg-tun0
service network restart
ZPanel, un panel de control de alojamiento web popular, se bifurcó en 2014 a un nuevo proyecto llamado Sentora. Aprende a instalar Sentora en tu servidor con este tutorial.
Aprende cómo instalar Vtiger CRM, una aplicación de gestión de relaciones con el cliente, en CentOS 7 para aumentar tus ventas y mejorar el servicio al cliente.
Esta guía completa le mostrará cómo configurar un servidor Counter-Strike 1.6 en Linux, optimizando el rendimiento y la seguridad para el mejor juego. Aprende los pasos más recientes aquí.
Los ataques de ransomware van en aumento, pero ¿puede la IA ayudar a lidiar con el último virus informático? ¿Es la IA la respuesta? Lea aquí, sepa que la IA es una bendición o una perdición
ReactOS, un sistema operativo de código abierto y gratuito, está aquí con la última versión. ¿Puede satisfacer las necesidades de los usuarios de Windows de hoy en día y acabar con Microsoft? Averigüemos más sobre este estilo antiguo, pero una experiencia de sistema operativo más nueva.
Whatsapp finalmente lanzó la aplicación de escritorio para usuarios de Mac y Windows. Ahora puede acceder a Whatsapp desde Windows o Mac fácilmente. Disponible para Windows 8+ y Mac OS 10.9+
Lea esto para saber cómo la Inteligencia Artificial se está volviendo popular entre las empresas de pequeña escala y cómo está aumentando las probabilidades de hacerlas crecer y dar ventaja a sus competidores.
Recientemente, Apple lanzó macOS Catalina 10.15.4, una actualización complementaria para solucionar problemas, pero parece que la actualización está causando más problemas que conducen al bloqueo de las máquinas Mac. Lee este artículo para obtener más información
13 Herramientas comerciales de extracción de datos de Big Data
Nuestra computadora almacena todos los datos de una manera organizada conocida como sistema de archivos de diario. Es un método eficiente que permite a la computadora buscar y mostrar archivos tan pronto como presiona buscar.