rendered paste bodybaron:~# iwconfig ath0; ifconfig ath0; route -n
ath0 IEEE 802.11g ESSID:"Bah"
Mode:Managed Frequency:2.437 GHz Access Point: 00:13:10:D6:BC:CE
Bit Rate:18 Mb/s Tx-Power:18 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:9BA4-26C3-61 Security mode:restricted
Power Management:off
Link Quality=28/94 Signal level=-67 dBm Noise level=-95 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
ath0 Link encap:Ethernet HWaddr B1:99:E5:7B:00:B5
inet addr:192.168.31.12 Bcast:192.168.31.255 Mask:255.255.255.0
inet6 addr: fe80::b399:e5ff:fe7b:b5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:60 (60.0 b) TX bytes:2084 (2.0 KiB)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.32.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.31.0 0.0.0.0 255.255.255.0 U 0 0 0 ath0
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 tun0
0.0.0.0 192.168.31.2 0.0.0.0 UG 0 0 0 ath0
0.0.0.0 192.168.32.200 0.0.0.0 UG 0 0 0 eth0
baron:~# /etc/firewall/fw-list
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
Table: nat
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Table: mangle
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (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
baron:~# ping 192.168.31.2
PING 192.168.31.2 (192.168.31.2) 56(84) bytes of data.
From 192.168.31.12 icmp_seq=1 Destination Host Unreachable
From 192.168.31.12 icmp_seq=2 Destination Host Unreachable
From 192.168.31.12 icmp_seq=3 Destination Host Unreachable
From 192.168.31.12 icmp_seq=5 Destination Host Unreachable
From 192.168.31.12 icmp_seq=6 Destination Host Unreachable
From 192.168.31.12 icmp_seq=7 Destination Host Unreachable
--- 192.168.31.2 ping statistics ---
10 packets transmitted, 0 received, +6 errors, 100% packet loss, time 9010ms
, pipe 3
baron:~#