Cezary napisał/a:Pokaż jeszcze regułki iptables (iptables -v -L, iptables -t nat -v -L)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
WHITE RUSSIAN (0.9) -------------------------------
* 2 oz Vodka Mix the Vodka and Kahlua together
* 1 oz Kahlua over ice, then float the cream or
* 1/2oz cream milk on the top.
---------------------------------------------------
root@OpenWrt:~# iptables -v -L
Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
116 8484 DROP all -- any any anywhere anywhere state INVALID
971 168K ACCEPT all -- any any anywhere anywhere state RELATED,ESTABLISHED
7 280 DROP tcp -- any any anywhere anywhere tcp option=!2 flags:SYN/SYN
12170 4505K input_rule all -- any any anywhere anywhere
11523 4424K input_wan all -- vlan1 any anywhere anywhere
12170 4505K LAN_ACCEPT all -- any any anywhere anywhere
85 5185 ACCEPT icmp -- any any anywhere anywhere
0 0 ACCEPT gre -- any any anywhere anywhere
597 33377 REJECT tcp -- any any anywhere anywhere reject-with tcp-reset
10841 4385K REJECT all -- any any anywhere anywhere reject-with icmp-port-unreachable
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 DROP all -- any any anywhere anywhere state INVALID
32931 1570K TCPMSS tcp -- any any anywhere anywhere tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU
618K 222M ACCEPT all -- any any anywhere anywhere state RELATED,ESTABLISHED
107K 4490K forwarding_rule all -- any any anywhere anywhere
0 0 forwarding_wan all -- vlan1 any anywhere anywhere
0 0 ACCEPT all -- br0 br0 anywhere anywhere
107K 4490K ACCEPT all -- br0 vlan1 anywhere anywhere
Chain LAN_ACCEPT (1 references)
pkts bytes target prot opt in out source destination
11523 4424K RETURN all -- vlan1 any anywhere anywhere
0 0 RETURN all -- eth0 any anywhere anywhere
647 81338 ACCEPT all -- any any anywhere anywhere
Chain OUTPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 DROP all -- any any anywhere anywhere state INVALID
2841 430K ACCEPT all -- any any anywhere anywhere state RELATED,ESTABLISHED
438 33793 output_rule all -- any any anywhere anywhere
438 33793 ACCEPT all -- any any anywhere anywhere
0 0 REJECT tcp -- any any anywhere anywhere reject-with tcp-reset
0 0 REJECT all -- any any anywhere anywhere reject-with icmp-port-unreachable
Chain forwarding_rule (1 references)
pkts bytes target prot opt in out source destination
Chain forwarding_wan (1 references)
pkts bytes target prot opt in out source destination
Chain input_rule (1 references)
pkts bytes target prot opt in out source destination
Chain input_wan (1 references)
pkts bytes target prot opt in out source destination
Chain output_rule (1 references)
pkts bytes target prot opt in out source destination
root@OpenWrt:~#
===============
root@OpenWrt:~# iptables -t nat -v -L
Chain NEW (1 references)
pkts bytes target prot opt in out source destination
90201 12M RETURN all -- any any anywhere anywhere limit: avg 50/sec burst 100
0 0 DROP all -- any any anywhere anywhere
Chain PREROUTING (policy ACCEPT 90201 packets, 12M bytes)
pkts bytes target prot opt in out source destination
90201 12M NEW all -- any any anywhere anywhere state NEW
90201 12M prerouting_rule all -- any any anywhere anywhere
45933 8448K prerouting_wan all -- vlan1 any anywhere anywhere
Chain POSTROUTING (policy ACCEPT 11 packets, 3237 bytes)
pkts bytes target prot opt in out source destination
41803 2484K postrouting_rule all -- any any anywhere anywhere
41793 2481K MASQUERADE all -- any vlan1 anywhere anywhere
Chain OUTPUT (policy ACCEPT 374 packets, 28640 bytes)
pkts bytes target prot opt in out source destination
Chain postrouting_rule (1 references)
pkts bytes target prot opt in out source destination
Chain prerouting_rule (1 references)
pkts bytes target prot opt in out source destination
Chain prerouting_wan (1 references)
pkts bytes target prot opt in out source destination