felinosp
(usa Ubuntu)
Enviado em 30/04/2015 - 10:39h
Doug.linux escreveu:
Posta os resultados dos seguintes comandos:
iptables -L
iptables -t nat -L
--------------------------------------------------------------------------------------------------------------------------------------------------------
monitor@server:~$ iptables -L
iptables v1.4.12: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
monitor@server:~$ sudo su
[sudo] password for monitor:
root@server:/Monitor# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
all -- !link-local/16 anywhere /* DS_INPUT_COUNTS */
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
all -- anywhere !link-local/16 /* DS_OUTPUT_COUNTS */
root@server:/Monitor# iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- anywhere anywhere
root@server:/Monitor# monitor@server:~$ iptables -L
iptables v1.4.12: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
monitor@server:~$ sudo su
[sudo] password for monitor:
root@server:/Monitor# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
all -- !link-local/16 anywhere /* DS_INPUT_COUNTS */
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
all -- anywhere !link-local/16 /* DS_OUTPUT_COUNTS */
root@server:/Monitor# iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- anywhere anywhere
root@server:/Monitor#