.--------------------------------------------. ( ) ( INET ) ( ) '--. .-------------------------------. .-----' | | | | | | | | | | .-[IPTV] | | .-[Internet] | | |-[Masquerade] | | |-[Masquerade] | | | | | | .--' '------. .-----------. .--' '-----. | WAN-vlan7 | | WAN-vlan2 |====| pppoe | .----| Interfáz |----| Interfáz |----| Interfáz |----. | '-----------' '-----------' '----------' | | || | | |'----------------------. | | | MAC:58:98:35:XX:XX:XX | .-----------------------------. | | Mask:255.255.248.0 | (*)---| Replicación router Movistar | | | 10.68.121.XX (vlan 7) | '-----------------------------' | '-----------------------' | | || | | || | | [IGMP]--->(Ver detalle abajo) | | [RUTA]--->(Ver detalle abajo) | | || | | || | | .-----------------------. | | | MAC:64:70:02:XX:XX:XX | | | | Mask:255.255.255.0 | | | | 192.168.8.1 (vlan 8) | | | |.----------------------' | | || .--------| | .---------------. | ROUTER | <- TP-Link '----| Decodificador |---------------------------------' TL-WDR3600 | Interfáz | '----. .--------' | | | | .------' '---------. | | | VLAN 8 | <- Para separarlo de la LAN | /\ | | || | | \/ | | Untagged VLAN | | | | .--------| | | SWITCH | <- TP-Link '------. .---------' TL-SG105E | | | | .----' '---. | Router | .----| Interfáz |--------------------------------------. | '----------' | | || | | |'----------------------. | | | MAC:70:85:c6:XX:XX:XX | | | | Mask:255.255.255.0 | | | | 192.168.8.238 | | | '-----------------------' .---------------| | | DECODIFICADOR | '------------------------------------------------------' .------. | RUTA | '------' .--------------------------------------------------------. | 172.29.0.0 -> 10.68.120.1 (255.255.0.0) -> [WAN-vlan7] | '--------------------------------------------------------' Ejemplos de tráfico: • 192.168.8.238:1030 -> 172.29.66.43:123 [NTPv4] • 192.168.8.238:1519 -> 172.29.64.45:47806 [UDP] • 192.168.8.238:1519 -> 172.29.64.14:47806 [UDP] • 192.168.8.238:1026 -> 172.29.0.6:43962 [UDP] • 192.168.8.238:1026 -> 172.29.0.4:43962 [UDP] .------. | IGMP | '------' • /etc/config/igmpproxy --- config igmpproxy option quickleave '0' config phyint option network 'iptv_wan' option direction 'upstream' list altnet 0.0.0.0/0 config phyint option network 'iptv_lan' option direction 'downstream' --- • /etc/igmpproxy.conf --- phyint eth0.7 upstream ratelimit 0 threshold 1 altnet 0.0.0.0/0 phyint eth0.8 downstream ratelimit 0 threshold 1 --- Ejemplos de tráfico: • 192.168.8.238.1052 -> 239.255.255.250:8082 [UDP] --- echo "0" > /sys/devices/virtual/net/br-lan/bridge/multicast_snooping # Setea QoS a Internet /sbin/vconfig set_egress_map eth0.2 0 4
miércoles, 30 de mayo de 2018
Reemplazar router IPTV Movistar con OpenWRT
Para sacar el router de Movistar y colocar OpenWRT he creado un diagrama como ayuda visual con las configuraciones necesarias para que todo vuelva a funcionar con normalidad.
Instalar Nextcoud 13 en CentOS 7
Estos son los pasos:
(*Es necesario cambiar las credenciales de MySQL en el último paso)
(*Es necesario cambiar las credenciales de MySQL en el último paso)
$ yum install httpd
$ cd /var/www/html/
$ wget https://download.nextcloud.com/server/releases/nextcloud-13.0.1.zip
$ unzip nextcloud-13.0.1.zip
$ yum install centos-release-scl
$ yum install rh-php70 rh-php70-php rh-php70-php-gd rh-php70-php-mbstring
$ yum install rh-php70-php-mysqlnd
$ mv /etc/httpd/conf.d/php.conf /etc/httpd/conf.d/php54.off
$ mv /etc/httpd/conf.modules.d/10-php.conf /etc/httpd/conf.modules.d/10-php54.off
$ cp /opt/rh/httpd24/root/etc/httpd/conf.d/rh-php70-php.conf /etc/httpd/conf.d/
$ cp /opt/rh/httpd24/root/etc/httpd/conf.modules.d/15-rh-php70-php.conf /etc/httpd/conf.modules.d/
$ cp /opt/rh/httpd24/root/etc/httpd/modules/librh-php70-php7.so /etc/httpd/modules/
$ service httpd restart
$ sudo chown -R apache: /var/www/html/nextcloud
$ cd /var/www/html/nextcloud
$ sudo -u apache /opt/rh/rh-php70/root/usr/bin/php occ maintenance:install --database "mysql" --database-name "nextcloud" --database-user "root" --database-pass "changeme" --admin-user "admin" --admin-pass "changeme"
Suscribirse a:
Entradas (Atom)