Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
pt:handbook:networkconf [2016/04/05 18:04] genesis [Instale um driver de placa de rede] |
pt:handbook:networkconf [2016/04/05 18:14] genesis [Habilite/desabilite o firewall no momento do boot] |
||
---|---|---|---|
Line 178: | Line 178: | ||
==== Inicie, pare e reinicie o firewall ==== | ==== Inicie, pare e reinicie o firewall ==== | ||
- | O script ///etc/init.d/firewall// permite a você iniciar/reiniciar, para ou mostrar o status do firewall. A opção de reinicio é geralmente usada para testar novas regras adicionadas após a edição do arquivo de configuração. Exemplo: | + | O script ///etc/init.d/firewall// permite a você iniciar/reiniciar, parar ou mostrar o status do firewall. A opção de reinicio é geralmente usada para testar novas regras adicionadas após a edição do arquivo de configuração. Exemplo: |
<code># /etc/init.d/firewall restart</code> | <code># /etc/init.d/firewall restart</code> | ||
Line 186: | Line 186: | ||
Para habilitar/desabilitar opções específicas do Kernel defina "yes" ou "no" na variável KERNEL_SECURITY= : | Para habilitar/desabilitar opções específicas do Kernel defina "yes" ou "no" na variável KERNEL_SECURITY= : | ||
- | <code># Enable/disable kernel security at boot time. | + | <file># Enable/disable kernel security at boot time. |
KERNEL_SECURITY="yes" | KERNEL_SECURITY="yes" | ||
- | </code> | + | </file> |
E para ativar/desativar as regras do iptables, é necessário modificar a variável IPTABLES_RULES= : | E para ativar/desativar as regras do iptables, é necessário modificar a variável IPTABLES_RULES= : | ||
- | <code># Enable/disable iptables rules. | + | <file># Enable/disable iptables rules. |
IPTABLES_RULES="yes" | IPTABLES_RULES="yes" | ||
- | </code> | + | </file> |
==== Adicione, remova ou modifique regras do iptables ==== | ==== Adicione, remova ou modifique regras do iptables ==== |