marvinoliveiras
(usa Slackware)
Enviado em 28/11/2011 - 12:35h
isso acontece no servidor.
a responta do comando iptables -nL
target prot opt source destination
-bash: target: command not found
root@camara:/etc/rc.d# ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
-bash: ACCEPT: command not found
root@camara:/etc/rc.d# ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
-bash: ACCEPT: command not found
root@camara:/etc/rc.d# ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmp type 8 limit: avg 1/sec burst 5
-bash: ACCEPT: command not found
root@camara:/etc/rc.d# DROP icmp -- 0.0.0.0/0 0.0.0.0/0 icmp type 0 limit: avg 1/sec burst 5
-bash: DROP: command not found
root@camara:/etc/rc.d# ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:22
-bash: ACCEPT: command not found
root@camara:/etc/rc.d# ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:3128
-bash: ACCEPT: command not found
root@camara:/etc/rc.d# ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
-bash: ACCEPT: command not found
root@camara:/etc/rc.d# ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:21
-bash: ACCEPT: command not found
root@camara:/etc/rc.d# ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:123
-bash: ACCEPT: command not found
root@camara:/etc/rc.d# ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:123
-bash: ACCEPT: command not found
root@camara:/etc/rc.d#
root@camara:/etc/rc.d# Chain FORWARD (policy DROP)
-bash: syntax error near unexpected token `('
root@camara:/etc/rc.d# target prot opt source destination
-bash: target: command not found
root@camara:/etc/rc.d# ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
-bash: ACCEPT: command not found
root@camara:/etc/rc.d#
root@camara:/etc/rc.d# Chain OUTPUT (policy ACCEPT)
-bash: syntax error near unexpected token `('
root@camara:/etc/rc.d# target prot opt source destination
-bash: target: command not found
resultado do comando iptables -t -nat -nL
target prot opt source destination
MASQUERADE all -- 0.0.0.0/0 0.0.0.0/0
MASQUERADE all -- 192.168.2.0/24 0.0.0.0/0
MASQUERADE all -- 0.0.0.0/0 0.0.0.0/0
MASQUERADE all -- 0.0.0.0/0 0.0.0.0/0
MASQUERADE all -- 0.0.0.0/0 0.0.0.0/0
MASQUERADE all -- 0.0.0.0/0 0.0.0.0/0
MASQUERADE all -- 0.0.0.0/0 0.0.0.0/0
MASQUERADE all -- 0.0.0.0/0 0.0.0.0/0
MASQUERADE all -- 0.0.0.0/0 0.0.0.0/0
e do cat etc/resolv.conf:
nameserver 200.165.132.147