Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- iptables -v -L --line-numbers -t nat
- Chain PREROUTING (policy ACCEPT 7231 packets, 467K bytes)
- num pkts bytes target prot opt in out source destination
- 1 0 0 ACCEPT udp -- eth1 any anywhere 255.255.255.255 udp spt:bootps dpt:bootpc
- 2 362 24945 ACCEPT all -- any any anywhere 224.0.0.0/4
- 3 0 0 ACCEPT all -- any any 255.255.255.255 anywhere
- 4 7260 469K PREROUTING_FTP all -- any any anywhere anywhere
- 5 7260 469K PREROUTING_VS all -- any any anywhere anywhere
- 6 7260 469K PREROUTING_PT all -- any any anywhere anywhere
- 7 7260 469K PREROUTING_UPNP all -- any any anywhere anywhere
- 8 42 2676 DNAT udp -- any any anywhere 192.168.0.1 udp dpt:domain to:80.82.32.9
- 9 7218 466K PREROUTING_DMZ all -- any any anywhere anywhere
- Chain POSTROUTING (policy ACCEPT 9 packets, 5705 bytes)
- num pkts bytes target prot opt in out source destination
- 1 5690 370K MASQUERADE all -- any ppp0 anywhere anywhere
- 2 3 135 SNAT all -- any any 192.168.0.0/24 192.168.0.0/24 to:77.45.237.127
- 3 0 0 MASQUERADE all -- any eth1 anywhere anywhere
- Chain OUTPUT (policy ACCEPT 186 packets, 12244 bytes)
- num pkts bytes target prot opt in out source destination
- Chain PREROUTING_DMZ (1 references)
- num pkts bytes target prot opt in out source destination
- Chain PREROUTING_FTP (1 references)
- num pkts bytes target prot opt in out source destination
- Chain PREROUTING_PT (1 references)
- num pkts bytes target prot opt in out source destination
- Chain PREROUTING_UPNP (1 references)
- num pkts bytes target prot opt in out source destination
- Chain PREROUTING_VS (1 references)
- num pkts bytes target prot opt in out source destination
- iptables -v -L --line-numbers -t filter
- Chain INPUT (policy DROP 1941 packets, 121K bytes)
- num pkts bytes target prot opt in out source destination
- 1 15 1761 INPUT_MAC tcp -- br0 any 192.168.0.0/24 192.168.0.1 tcp dpt:www
- 2 3875 1406K ACCEPT !icmp -- br0 any 192.168.0.0/24 !77.45.237.127
- 3 0 0 ACCEPT all -- lo any anywhere anywhere /* loop back */
- 4 0 0 ACCEPT icmp -- br0 any anywhere anywhere icmp echo-request
- 5 0 0 ACCEPT icmp -- ppp0 any anywhere 77.45.237.127 icmp echo-request
- 6 0 0 ACCEPT icmp -- eth1 any anywhere 0.0.0.0 icmp echo-request
- 7 6 2960 ACCEPT udp -- br0 any anywhere anywhere udp spt:bootpc dpt:bootps
- 8 0 0 ACCEPT udp -- eth1 any anywhere anywhere udp spt:bootps dpt:bootpc
- 9 0 0 ACCEPT tcp -- any any 0.0.0.0 anywhere tcp dpt:www
- 10 0 0 DROP tcp -- ppp0 any anywhere 77.45.237.127 tcp dpt:ftp
- 11 62 3132 DROP tcp -- ppp0 any anywhere 77.45.237.127 tcp dpts:50000:60000 state NEW
- 12 0 0 DROP tcp -- eth1 any anywhere 0.0.0.0 tcp dpt:ftp
- 13 0 0 DROP tcp -- eth1 any anywhere 0.0.0.0 tcp dpts:50000:60000 state NEW
- 14 172 13748 ACCEPT all -- any any anywhere anywhere state RELATED,ESTABLISHED
- Chain FORWARD (policy DROP 0 packets, 0 bytes)
- num pkts bytes target prot opt in out source destination
- 1 2664 139K TCPMSS tcp -- any any anywhere anywhere tcp flags:SYN,RST/SYN TCPMSS set 1440
- 2 870K 1244M ACCEPT all -- any br0 anywhere anywhere state RELATED,ESTABLISHED
- 3 302K 24M ACCEPT all -- br0 any anywhere anywhere
- 4 0 0 DROP all -- any any anywhere anywhere state NEW
- Chain OUTPUT (policy ACCEPT 4056 packets, 1137K bytes)
- num pkts bytes target prot opt in out source destination
- Chain FORWARD_ACCESSCTRL (1 references)
- num pkts bytes target prot opt in out source destination
- Chain FORWARD_ADVSEC (0 references)
- num pkts bytes target prot opt in out source destination
- Chain FORWARD_DMZ (0 references)
- num pkts bytes target prot opt in out source destination
- Chain FORWARD_FILTER (0 references)
- num pkts bytes target prot opt in out source destination
- 1 0 0 FORWARD_ACCESSCTRL all -- any any anywhere anywhere
- Chain FORWARD_PARENTCTRL (0 references)
- num pkts bytes target prot opt in out source destination
- Chain FORWARD_PT (0 references)
- num pkts bytes target prot opt in out source destination
- Chain FORWARD_SETMARK (0 references)
- num pkts bytes target prot opt in out source destination
- Chain FORWARD_UPNP (0 references)
- num pkts bytes target prot opt in out source destination
- Chain FORWARD_VPN_PASSTHROUGH (0 references)
- num pkts bytes target prot opt in out source destination
- Chain FORWARD_VS (0 references)
- num pkts bytes target prot opt in out source destination
- Chain INPUT_MAC (1 references)
- num pkts bytes target prot opt in out source destination
- 1 15 1761 RETURN all -- any any anywhere anywhere
- ps
- PID Uid VmSize Stat Command
- 1 root 396 S init
- 2 root SW< [kthreadd]
- 3 root SW< [ksoftirqd/0]
- 4 root SW< [events/0]
- 5 root SW< [khelper]
- 8 root SW< [async/mgr]
- 16 root SW< [kblockd/0]
- 25 root SW< [khubd]
- 42 root SW [pdflush]
- 43 root SW [pdflush]
- 44 root SW< [kswapd0]
- 45 root SW< [crypto/0]
- 66 root SW< [mtdblockd]
- 93 root SW< [unlzma/0]
- 146 root 2508 S /usr/bin/httpd
- 149 root 360 S /sbin/getty ttyS0 115200
- 150 root 2508 S /usr/bin/httpd
- 151 root 2508 S /usr/bin/httpd
- 154 root 368 S /usr/bin/httpd
- 155 root 372 S /usr/bin/httpd
- 165 root 328 S syslogd -C -l 7
- 169 root 2508 S /usr/bin/httpd
- 171 root 276 S klogd
- 322 root 360 S /usr/sbin/udhcpd /tmp/wr841n/udhcpd.conf
- 359 root 2508 S /usr/bin/httpd
- 382 root 2508 S /usr/bin/httpd
- 383 root 2508 S /usr/bin/httpd
- 386 root 2508 S /usr/bin/httpd
- 387 root 2508 S /usr/bin/httpd
- 388 root 2508 R /usr/bin/httpd
- 389 root 2508 S /usr/bin/httpd
- 390 root 2508 S /usr/bin/httpd
- 391 root 2508 S /usr/bin/httpd
- 392 root 2508 S /usr/bin/httpd
- 395 root 2508 S /usr/bin/httpd
- 399 root 312 S /usr/bin/lld2d br0 ath0
- 402 root 2508 S /usr/bin/httpd
- 404 root 2508 S /usr/bin/httpd
- 406 root 2508 S /usr/bin/httpd
- 407 root 2508 S /usr/bin/httpd
- 410 root 592 S pppd pppoe eth1 defaultroute unit 0 noaccomp nopcomp
- 613 root 396 S sh
- 659 root 400 S sh
- 664 root 396 R ps
- lsmod
- Module Size Used by
- art 21744 0 - Live 0xc0c18000
- nf_nat_rtsp 5328 0 - Live 0xc0766000
- nf_conntrack_rtsp 7136 1 nf_nat_rtsp, Live 0xc075a000
- nf_nat_h323 6720 0 - Live 0xc0749000
- nf_nat_tftp 1280 0 - Live 0xc073e000
- nf_conntrack_tftp 4192 1 nf_nat_tftp, Live 0xc0734000
- nf_nat_ftp 2768 0 - Live 0xc072a000
- nf_conntrack_ftp 7216 1 nf_nat_ftp, Live 0xc071f000
- nf_nat_pptp 2576 0 - Live 0xc0714000
- nf_conntrack_pptp 5904 1 nf_nat_pptp, Live 0xc0709000
- tp_domain 3824 0 - Live 0xc06ec000
- athrs_gmac 58080 0 - Live 0xc02a4000
- statistics 87056 0 - Live 0xc0273000
- wlan_warn 2976 0 - Live 0xc0268000
- pptp 10432 0 - Live 0xc025f000
- pppol2tp 27760 0 - Live 0xc024d000
- br_filter 1232 0 - Live 0xc023b000
- ts_kmp 2208 1 - Live 0xc0232000
- cls_fw 5088 0 - Live 0xc0227000
- cls_basic 4944 0 - Live 0xc021b000
- sch_sfq 6384 0 - Live 0xc020f000
- sch_prio 5360 0 - Live 0xc0203000
- sch_htb 18000 0 - Live 0xc01f4000
- ipt_TRIGGER 3872 0 - Live 0xc01e5000
- ipt_REJECT 2992 0 - Live 0xc01db000
- ipt_REDIRECT 1520 0 - Live 0xc01d1000
- ipt_MASQUERADE 2400 2 - Live 0xc01c8000
- iptable_nat 4720 1 - Live 0xc01bd000
- iptable_filter 2352 1 - Live 0xc01b2000
- ip_tables 11824 2 iptable_nat,iptable_filter, Live 0xc01a6000
- nf_nat_proto_gre 1984 1 nf_nat_pptp, Live 0xc0199000
- nf_nat 15904 10 nf_nat_rtsp,nf_nat_h323,nf_nat_tftp,nf_nat_ftp,nf_nat_pptp,ipt_TRIGGER,ipt_REDIRECT,ipt_MASQUERADE,iptable_nat,nf_nat_proto_gre, Live 0xc018d000
- nf_conntrack_ipv4 13184 8 iptable_nat,nf_nat, Live 0xc017c000
- nf_defrag_ipv4 1648 1 nf_conntrack_ipv4, Live 0xc016e000
- xt_state 1856 5 - Live 0xc0165000
- xt_conntrack 4544 0 - Live 0xc015b000
- nf_conntrack_h323 47328 1 nf_nat_h323, Live 0xc0146000
- nf_conntrack_proto_gre 4976 1 nf_conntrack_pptp, Live 0xc012f000
- nf_conntrack 59008 18 nf_nat_rtsp,nf_conntrack_rtsp,nf_nat_h323,nf_nat_tftp,nf_conntrack_tftp,nf_nat_ftp,nf_conntrack_ftp,nf_nat_pptp,nf_conntrack_pptp,ipt_TRIGGER,ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4,xt_state,xt_conntrack,nf_conntrack_h323,nf_conntrack_proto_gre, Live 0xc0116000
- ipt_multiurl 1936 0 - Live 0xc00fa000
- xt_time 2704 0 - Live 0xc00f1000
- xt_string 2208 0 - Live 0xc00e7000
- xt_multiport 2848 0 - Live 0xc00dd000
- xt_mac 1376 0 - Live 0xc00d3000
- xt_iprange 2128 0 - Live 0xc00ca000
- xt_comment 1296 1 - Live 0xc00c1000
- xt_TCPMSS 3264 1 - Live 0xc00b8000
- xt_MARK 1888 0 - Live 0xc00ae000
- xt_tcpudp 2784 11 - Live 0xc00a5000
- x_tables 16480 19 wlan_warn,ipt_TRIGGER,ipt_REJECT,ipt_REDIRECT,ipt_MASQUERADE,iptable_nat,ip_tables,xt_state,xt_conntrack,ipt_multiurl,xt_time,xt_string,xt_multiport,xt_mac,xt_iprange,xt_comment,xt_TCPMSS,xt_MARK,xt_tcpudp, Live 0xc0097000
Add Comment
Please, Sign In to add comment