Enviado em 01/09/2008 - 16:41h
ALOWWWW GALERA!!!
Pessoal eu estou tentando entende um pouco o IPTABLES, em um servido suse-linux da empresa onde trabalho, alguem poderia me explica algumas dessas linhas?
abração...
#!/bin/sh
#FIREWALL e Proxy
#RONALDO PONTES
#Data: 08/2006
################################
#carrega modulos
modprobe ip_nat_ftp
modprobe tun
modprobe ipt_state
modprobe ipt_unclean
modprobe ipt_multport
modprobe ipt_REDIRECT
#modprobe ipt_ACCEPT
modprobe ipt_REJECT
modprobe ipt_DROP
modprobe ipt_MASQUERADE
modprobe ipt_limit
#Libera trafego entre interfaces
echo "1" > /proc/sys/net/ipv4/ip_forward
#Limpa regras de firewall
iptables -t filter -F
iptables -t nat -F
iptables -t mangle -F
Pessoal eu estou tentando entende um pouco o IPTABLES, em um servido suse-linux da empresa onde trabalho, alguem poderia me explica algumas dessas linhas?
abração...
#!/bin/sh
#FIREWALL e Proxy
#RONALDO PONTES
#Data: 08/2006
################################
#carrega modulos
modprobe ip_nat_ftp
modprobe tun
modprobe ipt_state
modprobe ipt_unclean
modprobe ipt_multport
modprobe ipt_REDIRECT
#modprobe ipt_ACCEPT
modprobe ipt_REJECT
modprobe ipt_DROP
modprobe ipt_MASQUERADE
modprobe ipt_limit
#Libera trafego entre interfaces
echo "1" > /proc/sys/net/ipv4/ip_forward
#Limpa regras de firewall
iptables -t filter -F
iptables -t nat -F
iptables -t mangle -F