Diferencias
Muestra las diferencias entre dos versiones de la página.
| Próxima revisión | Revisión previa | ||
| pfsense [2024/05/28 16:13] – creado - editor externo 127.0.0.1 | pfsense [2024/07/26 02:44] (actual) – kasandra | ||
|---|---|---|---|
| Línea 105: | Línea 105: | ||
| ==== 2. 502 .. problemas con php-fpm ==== | ==== 2. 502 .. problemas con php-fpm ==== | ||
| - | edite / | ||
| - | \\ | ||
| - | # Memory limits 128M to calculated max\\ | ||
| - | PHP_MEMORY_LIMIT=" | ||
| - | PHP_MEMORY_LIMIT=" | ||
| - | \\ | ||
| + | Primero hay un but en el inicio | ||
| - | \\ | + | # Memory limits 128M to calculated max |
| - | \\ | + | PHP_MEMORY_LIMIT=" |
| - | - | + | PHP_MEMORY_LIMIT=" |
| - | ===== Referencias ===== | + | Quite ntopng |
| - | - | + | pkg remove ntopng |
| - | FIN | + | Y limite los tiempos de ejecucion |
| + | $# max_execution_time = 900 | ||
| + | max_execution_time = 30 | ||
| + | $# request_terminate_timeout = 900 | ||
| + | request_terminate_timeout = 30 | ||
| - | ---- | + | Y a pesar de eso .. tampoco anduvo .. y la unica fue comentar la ultima linea en rc.php-fpm_restart |
| - | __**Advertencia**__ | + | $# / |
| - | Este documento es privado y es de u so exclusivo de sus autores y de SKINA TECH. Cualquier uso sin una autorización escrita es contra la ley de derechos de autor y de propiedad intelectual, | ||
| - | ---- | ||
| - | |||
| - | |||
| - | ============================================================== | ||
| - | |||
| - | 15-Marzo-2006 J.E.Gomez v1.0 Primera version | ||
| - | |||
| - | ===== Descripción ===== | ||
| - | |||
| - | El nuevo estandar de firewall libre.\\ | ||
| - | \\ | ||
| - | |||
| - | |||
| - | ===== Trucos ===== | ||
| - | |||
| - | ==== 1.Squid con Authenticacion con LDAP en SAMBA4 (y SSL) ==== | ||
| - | |||
| - | \\ | ||
| - | Es complicado .. pero\\ | ||
| - | \\ | ||
| - | a) Genere una entidad de certificacion y un certificado para el equipo. Copie los certificados en un lugar donde los vea\\ | ||
| - | \\ | ||
| - | b) vi / | ||
| - | \\ | ||
| - | TLS_CACERT / | ||
| - | TLS_REQCERT never\\ | ||
| - | \\ | ||
| - | Eso ya me permite que funcione\\ | ||
| - | \\ | ||
| - | ldapsearch -H ' | ||
| - | \\ | ||
| - | c) Luego a las tripas del squid en pfsense\\ | ||
| - | \\ | ||
| - | vi / | ||
| - | \\ | ||
| - | quedo $conf .= " | ||
| - | rsion' | ||
| - | ibute' | ||
| - | \\ | ||
| - | El cambio esta al final al agregar ldaps\\ | ||
| - | \\ | ||
| - | Y ya me funciona\\ | ||
| - | \\ | ||
| - | https: | ||
| - | |||
| - | ==== 2. DHCP con subnets ==== | ||
| - | |||
| - | \\ | ||
| - | Nada .. me toco hacerlo a mano\\ | ||
| - | \\ | ||
| - | |||
| - | |||
| - | ==== 3. IP forward con opevpn ==== | ||
| - | |||
| - | \\ | ||
| - | https: | ||
| - | \\ | ||
| - | sysctl net.link.ether.inet.proxyall=1\\ | ||
| - | |||
| - | |||
| - | ==== 4. Multiwan balanceado ==== | ||
| - | |||
| - | \\ | ||
| - | https: | ||
| - | \\ | ||
| - | |||
| - | |||
| - | ==== 5. Openvpn Con LDAP (Sin radius) ==== | ||
| - | |||
| - | En user manager configure sistema de autenticacion externa LDAP\\ | ||
| - | \\ | ||
| - | En el wizard de openvpn cree un nuevo server con LDAP como backend.\\ | ||
| - | \\ | ||
| - | https:// | ||
| - | |||
| - | |||
| - | ==== 6. Certicados Acme / Let' | ||
| - | |||
| - | https:// | ||
| - | |||
| - | ==== 7. Configuracion de IPSec Mobile ==== | ||
| - | |||
| - | https: | ||
| - | https: | ||
| - | |||
| - | |||
| - | ===== Problemas ===== | ||
| - | |||
| - | ==== 1. Delay pools fallan ==== | ||
| - | |||
| - | Cuanto tiene el error\\ | ||
| - | \\ | ||
| - | |||
| - | |||
| - | < | ||
| - | parse_delay_pool_count: | ||
| - | </ | ||
| - | |||
| - | Meterse a las tripas y cambiar el delay_pool a 2 en squid.inc\\ | ||
| - | \\ | ||
| - | https: | ||
| - | \\ | ||
| - | 2. NO conecta Openvpn despues de cambiar de IP\\ | ||
| - | \\ | ||
| - | pfsense openvpn failed when change Ip address VERIFY ERROR: depth=0, error=CRL has expired\\ | ||
| - | \\ | ||
| - | https: | ||
| - | |||
| - | |||
| - | ==== 2. 502 .. problemas con php-fpm ==== | ||
| - | |||
| - | Primero hay un but en el inicio edite / | ||
| - | \\ | ||
| - | # Memory limits 128M to calculated max\\ | ||
| - | PHP_MEMORY_LIMIT=" | ||
| - | PHP_MEMORY_LIMIT=" | ||
| - | \\ | ||
| - | Y limite los tiempos de ejecucion\\ | ||
| - | \\ | ||
| - | # max_execution_time = 900\\ | ||
| - | max_execution_time = 30\\ | ||
| - | # request_terminate_timeout = 900\\ | ||
| - | request_terminate_timeout = 30\\ | ||
| - | \\ | ||
| - | |||
| - | |||
| - | \\ | ||
| - | \\ | ||
| - | - | ||
| Línea 269: | Línea 139: | ||
| - | ---- | ||
| - | |||
| - | __**Advertencia**__ | ||
| - | |||
| - | Este documento es privado y es de u so exclusivo de sus autores y de SKINA TECH. Cualquier uso sin una autorización escrita es contra la ley de derechos de autor y de propiedad intelectual, | ||
| - | |||
| - | |||
| - | ---- | ||
| - | |||
| - | |||
| - | |||
| - | ============================================================== | ||
| - | |||
| - | 15-Marzo-2006 J.E.Gomez v1.0 Primera version | ||
| - | |||
| - | ===== Descripción ===== | ||
| - | |||
| - | El nuevo estandar de firewall libre.\\ | ||
| - | \\ | ||
| - | |||
| - | |||
| - | ===== Trucos ===== | ||
| - | |||
| - | ==== 1.Squid con Authenticacion con LDAP en SAMBA4 (y SSL) ==== | ||
| - | |||
| - | \\ | ||
| - | Es complicado .. pero\\ | ||
| - | \\ | ||
| - | a) Genere una entidad de certificacion y un certificado para el equipo. Copie los certificados en un lugar donde los vea\\ | ||
| - | \\ | ||
| - | b) vi / | ||
| - | \\ | ||
| - | TLS_CACERT / | ||
| - | TLS_REQCERT never\\ | ||
| - | \\ | ||
| - | Eso ya me permite que funcione\\ | ||
| - | \\ | ||
| - | ldapsearch -H ' | ||
| - | \\ | ||
| - | c) Luego a las tripas del squid en pfsense\\ | ||
| - | \\ | ||
| - | vi / | ||
| - | \\ | ||
| - | quedo $conf .= " | ||
| - | rsion' | ||
| - | ibute' | ||
| - | \\ | ||
| - | El cambio esta al final al agregar ldaps\\ | ||
| - | \\ | ||
| - | Y ya me funciona\\ | ||
| - | \\ | ||
| - | https: | ||
| - | |||
| - | ==== 2. DHCP con subnets ==== | ||
| - | |||
| - | \\ | ||
| - | Nada .. me toco hacerlo a mano\\ | ||
| - | \\ | ||
| - | |||
| - | |||
| - | ==== 3. IP forward con opevpn ==== | ||
| - | |||
| - | \\ | ||
| - | https: | ||
| - | \\ | ||
| - | sysctl net.link.ether.inet.proxyall=1\\ | ||
| - | |||
| - | |||
| - | ==== 4. Multiwan balanceado ==== | ||
| - | |||
| - | \\ | ||
| - | https: | ||
| - | \\ | ||
| - | |||
| - | |||
| - | ==== 5. Openvpn Con LDAP (Sin radius) ==== | ||
| - | |||
| - | En user manager configure sistema de autenticacion externa LDAP\\ | ||
| - | \\ | ||
| - | En el wizard de openvpn cree un nuevo server con LDAP como backend.\\ | ||
| - | \\ | ||
| - | https:// | ||
| - | |||
| - | |||
| - | ==== 6. Certicados Acme / Let' | ||
| - | |||
| - | https:// | ||
| - | |||
| - | ==== 7. Configuracion de IPSec Mobile ==== | ||
| - | |||
| - | https: | ||
| - | https: | ||
| - | |||
| - | |||
| - | ===== Problemas ===== | ||
| - | |||
| - | ==== 1. Delay pools fallan ==== | ||
| - | |||
| - | Cuanto tiene el error\\ | ||
| - | \\ | ||
| - | |||
| - | |||
| - | < | ||
| - | parse_delay_pool_count: | ||
| - | </ | ||
| - | |||
| - | Meterse a las tripas y cambiar el delay_pool a 2 en squid.inc\\ | ||
| - | \\ | ||
| - | https: | ||
| - | \\ | ||
| - | 2. NO conecta Openvpn despues de cambiar de IP\\ | ||
| - | \\ | ||
| - | pfsense openvpn failed when change Ip address VERIFY ERROR: depth=0, error=CRL has expired\\ | ||
| - | \\ | ||
| - | https: | ||
| - | |||
| - | |||
| - | ==== 2. 502 .. problemas con php-fpm ==== | ||
| - | |||
| - | Primero hay un but en el inicio edite / | ||
| - | \\ | ||
| - | # Memory limits 128M to calculated max\\ | ||
| - | PHP_MEMORY_LIMIT=" | ||
| - | PHP_MEMORY_LIMIT=" | ||
| - | \\ | ||
| - | Quite ntopng\\ | ||
| - | \\ | ||
| - | pkg remove ntopng\\ | ||
| - | \\ | ||
| - | Y limite los tiempos de ejecucion\\ | ||
| - | \\ | ||
| - | # max_execution_time = 900\\ | ||
| - | max_execution_time = 30\\ | ||
| - | # request_terminate_timeout = 900\\ | ||
| - | request_terminate_timeout = 30\\ | ||
| - | \\ | ||
| - | |||
| - | |||
| - | \\ | ||
| - | \\ | ||
| - | - | ||
| - | |||
| - | ===== Referencias ===== | ||
| - | |||
| - | - | ||
| - | |||
| - | FIN | ||
| - | |||
| - | |||
| - | ---- | ||
| - | |||
| - | __**Advertencia**__ | ||
| - | |||
| - | Este documento es privado y es de u so exclusivo de sus autores y de SKINA TECH. Cualquier uso sin una autorización escrita es contra la ley de derechos de autor y de propiedad intelectual, | ||
| - | |||
| - | |||
| - | ---- | ||
| - | |||
| - | |||
| - | |||
| - | ============================================================== | ||
| - | |||
| - | 15-Marzo-2006 J.E.Gomez v1.0 Primera version | ||
| - | |||
| - | ===== Descripción ===== | ||
| - | |||
| - | El nuevo estandar de firewall libre.\\ | ||
| - | \\ | ||
| - | |||
| - | |||
| - | ===== Trucos ===== | ||
| - | |||
| - | ==== 1.Squid con Authenticacion con LDAP en SAMBA4 (y SSL) ==== | ||
| - | |||
| - | \\ | ||
| - | Es complicado .. pero\\ | ||
| - | \\ | ||
| - | a) Genere una entidad de certificacion y un certificado para el equipo. Copie los certificados en un lugar donde los vea\\ | ||
| - | \\ | ||
| - | b) vi / | ||
| - | \\ | ||
| - | TLS_CACERT / | ||
| - | TLS_REQCERT never\\ | ||
| - | \\ | ||
| - | Eso ya me permite que funcione\\ | ||
| - | \\ | ||
| - | ldapsearch -H ' | ||
| - | \\ | ||
| - | c) Luego a las tripas del squid en pfsense\\ | ||
| - | \\ | ||
| - | vi / | ||
| - | \\ | ||
| - | quedo $conf .= " | ||
| - | rsion' | ||
| - | ibute' | ||
| - | \\ | ||
| - | El cambio esta al final al agregar ldaps\\ | ||
| - | \\ | ||
| - | Y ya me funciona\\ | ||
| - | \\ | ||
| - | https: | ||
| - | |||
| - | ==== 2. DHCP con subnets ==== | ||
| - | |||
| - | \\ | ||
| - | Nada .. me toco hacerlo a mano\\ | ||
| - | \\ | ||
| - | |||
| - | |||
| - | ==== 3. IP forward con opevpn ==== | ||
| - | |||
| - | \\ | ||
| - | https: | ||
| - | \\ | ||
| - | sysctl net.link.ether.inet.proxyall=1\\ | ||
| - | |||
| - | |||
| - | ==== 4. Multiwan balanceado ==== | ||
| - | |||
| - | \\ | ||
| - | https: | ||
| - | \\ | ||
| - | |||
| - | |||
| - | ==== 5. Openvpn Con LDAP (Sin radius) ==== | ||
| - | |||
| - | En user manager configure sistema de autenticacion externa LDAP\\ | ||
| - | \\ | ||
| - | En el wizard de openvpn cree un nuevo server con LDAP como backend.\\ | ||
| - | \\ | ||
| - | https:// | ||
| - | |||
| - | |||
| - | ==== 6. Certicados Acme / Let' | ||
| - | |||
| - | https:// | ||
| - | |||
| - | ==== 7. Configuracion de IPSec Mobile ==== | ||
| - | |||
| - | https: | ||
| - | https: | ||
| - | |||
| - | |||
| - | ===== Problemas ===== | ||
| - | |||
| - | ==== 1. Delay pools fallan ==== | ||
| - | |||
| - | Cuanto tiene el error\\ | ||
| - | \\ | ||
| - | |||
| - | |||
| - | < | ||
| - | parse_delay_pool_count: | ||
| - | </ | ||
| - | |||
| - | Meterse a las tripas y cambiar el delay_pool a 2 en squid.inc\\ | ||
| - | \\ | ||
| - | https: | ||
| - | \\ | ||
| - | 2. NO conecta Openvpn despues de cambiar de IP\\ | ||
| - | \\ | ||
| - | pfsense openvpn failed when change Ip address VERIFY ERROR: depth=0, error=CRL has expired\\ | ||
| - | \\ | ||
| - | https: | ||
| - | |||
| - | |||
| - | ==== 2. 502 .. problemas con php-fpm ==== | ||
| - | |||
| - | Primero hay un but en el inicio edite / | ||
| - | \\ | ||
| - | # Memory limits 128M to calculated max\\ | ||
| - | PHP_MEMORY_LIMIT=" | ||
| - | PHP_MEMORY_LIMIT=" | ||
| - | \\ | ||
| - | Quite ntopng\\ | ||
| - | \\ | ||
| - | pkg remove ntopng\\ | ||
| - | \\ | ||
| - | Y limite los tiempos de ejecucion\\ | ||
| - | \\ | ||
| - | $# max_execution_time = 900\\ | ||
| - | max_execution_time = 30\\ | ||
| - | $# request_terminate_timeout = 900\\ | ||
| - | request_terminate_timeout = 30\\ | ||
| - | \\ | ||
| - | Y a pesar de eso .. tampoco anduvo .. y la unica fue comentar la ultima linea en rc.php-fpm_restart\\ | ||
| - | \\ | ||
| - | $# / | ||
| - | \\ | ||
| - | |||
| - | |||
| - | \\ | ||
| - | \\ | ||
| - | - | ||
| - | |||
| - | ===== Referencias ===== | ||
| - | |||
| - | - | ||
| - | |||
| - | FIN | ||
| - | |||
| - | |||
| - | ---- | ||
| - | |||
| - | __**Advertencia**__ | ||
| - | |||
| - | Este documento es privado y es de u so exclusivo de sus autores y de SKINA TECH. Cualquier uso sin una autorización escrita es contra la ley de derechos de autor y de propiedad intelectual, | ||
| - | |||
| - | |||
| - | ---- | ||
| - | |||
| - | |||
| - | |||
| - | ============================================================== | ||
| - | |||
| - | 15-Marzo-2006 J.E.Gomez v1.0 Primera version | ||