[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

iptables e freeswan



All

Estou tendo problemas para poder configurar a firewall do gateway da 
rede de casa. Seguindo o que esta na documentação fiz o seguinte :

# Freeswan
# IKE negotiations
iptables -I INPUT  -p udp --sport 500 --dport 500 -j ACCEPT
iptables -I OUTPUT -p udp --sport 500 --dport 500 -j ACCEPT
# ESP encryption and authentication
iptables -I INPUT  -p 50 -j ACCEPT
iptables -I OUTPUT -p 50 -j ACCEPT
# AH authentication
$IPTABLES -A INPUT -p 51 -j ACCEPT
$IPTABLES -A OUTPUT -p 51 -j ACCEPT

Mesmo com essas regras quando executo o comando de verificação do 
ipsec aparece a seguinte mensagem de erro:

Pluto not listening on port udp 500

Será que alguem teria algum script de firewall que tivesse o freeswan 
e pudesse enviar para mim eu agradeceria.

[ ]'s
 
 ********************   .''`.
* Caio Ferreira     *  : :'  :
* GNU/Linux Debian  *  `. `'`
 ********************    `-



Reply to: