rendered paste bodyifconfig -a
eth0 Link encap:Ethernet HWaddr 00:60:08:2D:76:F8
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
BROADCAST NOTRAILERS MULTICAST MTU:1500 Metric:1
RX packets:331 errors:0 dropped:0 overruns:0 frame:0
TX packets:223 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:102657 (100.2 Kb) TX bytes:54002 (52.7 Kb)
Interrupt:11 Base address:0x7c00
eth1 Link encap:Ethernet HWaddr 00:E0:7D:B2:2B:12
inet6 addr: fe80::2e0:7dff:feb2:2b12/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:297 errors:0 dropped:0 overruns:0 frame:0
TX packets:499 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:50714 (49.5 Kb) TX bytes:58922 (57.5 Kb)
Interrupt:5 Base address:0xd000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:147 errors:0 dropped:0 overruns:0 frame:0
TX packets:147 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11368 (11.1 Kb) TX bytes:11368 (11.1 Kb)
ppp0 Link encap:Point-to-Point Protocol
inet addr:84.184.240.97 P-t-P:217.0.116.15 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:213 errors:0 dropped:0 overruns:0 frame:0
TX packets:317 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:40114 (39.1 Kb) TX bytes:26294 (25.6 Kb)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
--------------------------------------------------------------------------
iptables -L -n -v --line-numbers
Chain INPUT (policy ACCEPT 246 packets, 46779 bytes)
num pkts bytes target prot opt in out source destina
tion
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
num pkts bytes target prot opt in out source destina tion
Chain OUTPUT (policy ACCEPT 352 packets, 29368 bytes)
num pkts bytes target prot opt in out source destina tion
Router:~ # iptables -L -n -v --line-numbers
Chain INPUT (policy ACCEPT 247 packets, 46850 bytes)
num pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
num pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 353 packets, 29420 bytes)
num pkts bytes target prot opt in out source destination
------------------------------------------------------------------
iptables -t nat -L -n --line-numbers -v
Chain INPUT (policy ACCEPT 246 packets, 46779 bytes)
num pkts bytes target prot opt in out source destina
tion
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
num pkts bytes target prot opt in out source destina tion
Chain OUTPUT (policy ACCEPT 352 packets, 29368 bytes)
num pkts bytes target prot opt in out source destina tion
Router:~ # iptables -L -n -v --line-numbers
Chain INPUT (policy ACCEPT 247 packets, 46850 bytes)
num pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
num pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 353 packets, 29420 bytes)
num pkts bytes target prot opt in out source destination
Router:~ # iptables -t nat -L -n --line-numbers -v
Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
num pkts bytes target prot opt in out source destination
Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
num pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
num pkts bytes target prot opt in out source destination