All pastes #34262 Raw Edit

Anonymous

public text v1 · immutable
#34262 ·published 2005-12-19 22:06 UTC
rendered paste body
# iptables -t filter -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
DROP       tcp  --  anywhere             anywhere            tcp dpt:telnet
DROP       tcp  --  anywhere             anywhere            tcp dpt:www
QUEUE      udp  --  anywhere             anywhere            udp dpt:domain
ACCEPT     icmp --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
DROP       all  --  anywhere             anywhere

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
QUEUE      udp  --  anywhere             anywhere            udp spt:domain
QUEUE      udp  --  anywhere             anywhere            udp dpt:domain
REJECT     tcp  --  anywhere             anywhere            state INVALID,NEW,RELATED,UNTRACKED tcp dpt:telnet flags:!SYN/SYN reject-with tcp-reset
ACCEPT     all  --  anywhere             192.168.0.29
sLog       all  --  anywhere             anywhere            sLog max_num 50 timeout 300

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
QUEUE      udp  --  anywhere             anywhere            udp spt:domain
DROP       udp  --  anywhere             anywhere            udp spt:route
DROP       icmp --  anywhere             anywhere            icmp destination-unreachable
DROP       icmp --  anywhere             anywhere            state INVALID


# brctl show
bridge name     bridge id               STP enabled     interfaces
br0             8000.000fb3873376       no              usb0
                                                        eth0
                                                        wlan0
# ifconfig -a
br0       Link encap:Ethernet  HWaddr 00:0F:B3:87:33:76
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:70792 errors:0 dropped:0 overruns:0 frame:0
          TX packets:64381 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:9877524 (9.4 Mb)  TX bytes:35309521 (33.6 Mb)

eth0      Link encap:Ethernet  HWaddr 00:0F:B3:87:33:76
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:70834 errors:0 dropped:0 overruns:0 frame:0
          TX packets:64381 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:10871703 (10.3 Mb)  TX bytes:35309521 (33.6 Mb)

imq0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          UP RUNNING NOARP  MTU:1500  Metric:1
          RX packets:62549 errors:0 dropped:0 overruns:0 frame:0
          TX packets:62549 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:30
          RX bytes:34193331 (32.6 Mb)  TX bytes:34193331 (32.6 Mb)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:40 errors:0 dropped:0 overruns:0 frame:0
          TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:9494 (9.2 kb)  TX bytes:9494 (9.2 kb)

ppp0      Link encap:Point-Point Protocol
          inet addr:91.94.90.162  P-t-P:201.125.14.196  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:62790 errors:0 dropped:0 overruns:0 frame:0
          TX packets:68500 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:34214147 (32.6 Mb)  TX bytes:9556455 (9.1 Mb)

usb0      Link encap:Ethernet  HWaddr 00:0F:B3:87:33:7A
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

wlan0     Link encap:Ethernet  HWaddr 00:0F:B3:87:33:79
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:425 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:137340 (134.1 kb)