نتیجه دستور اول
کد PHP:
# /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:13:72:65:D5:59
inet addr:74.81.168.179 Bcast:74.81.168.255 Mask:255.255.255.128
inet6 addr: fe80::213:72ff:fe65:d559/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10367161 errors:0 dropped:0 overruns:0 frame:0
TX packets:14130134 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1434873897 (1.3 GiB) TX bytes:3614410161 (3.3 GiB)
Base address:0xecc0 Memory:fe6e0000-fe700000
eth0:1 Link encap:Ethernet HWaddr 00:13:72:65:D5:59
inet addr:74.81.168.179 Bcast:74.81.168.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Base address:0xecc0 Memory:fe6e0000-fe700000
eth0:2 Link encap:Ethernet HWaddr 00:13:72:65:D5:59
inet addr:74.81.168.180 Bcast:74.81.168.253 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Base address:0xecc0 Memory:fe6e0000-fe700000
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:554439 errors:0 dropped:0 overruns:0 frame:0
TX packets:554439 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:81004227 (77.2 MiB) TX bytes:81004227 (77.2 MiB)
************************************************** ****
و نتیجه دستور دوم :
کد PHP:
# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
acctboth all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
acctboth all -- anywhere anywhere
Chain acctboth (2 references)
target prot opt source destination
tcp -- 74-81-168-179.cust.carohosting.net anywhere tcp dpt:http
tcp -- anywhere 74-81-168-179.cust.carohosting.net tcp spt:http
tcp -- 74-81-168-179.cust.carohosting.net anywhere tcp dpt:smtp
tcp -- anywhere 74-81-168-179.cust.carohosting.net tcp spt:smtp
tcp -- 74-81-168-179.cust.carohosting.net anywhere tcp dpt:pop3
tcp -- anywhere 74-81-168-179.cust.carohosting.net tcp spt:pop3
icmp -- 74-81-168-179.cust.carohosting.net anywhere
icmp -- anywhere 74-81-168-179.cust.carohosting.net
tcp -- 74-81-168-179.cust.carohosting.net anywhere
tcp -- anywhere 74-81-168-179.cust.carohosting.net
udp -- 74-81-168-179.cust.carohosting.net anywhere
udp -- anywhere 74-81-168-179.cust.carohosting.net
all -- 74-81-168-179.cust.carohosting.net anywhere
all -- anywhere 74-81-168-179.cust.carohosting.net
tcp -- unknown.carohosting.net anywhere tcp dpt:http
tcp -- anywhere unknown.carohosting.net tcp spt:http
tcp -- unknown.carohosting.net anywhere tcp dpt:smtp
tcp -- anywhere unknown.carohosting.net tcp spt:smtp
tcp -- unknown.carohosting.net anywhere tcp dpt:pop3
tcp -- anywhere unknown.carohosting.net tcp spt:pop3
icmp -- unknown.carohosting.net anywhere
icmp -- anywhere unknown.carohosting.net
tcp -- unknown.carohosting.net anywhere
tcp -- anywhere unknown.carohosting.net
udp -- unknown.carohosting.net anywhere
udp -- anywhere unknown.carohosting.net
all -- unknown.carohosting.net anywhere
all -- anywhere unknown.carohosting.net
tcp -- unknown.carohosting.net anywhere tcp dpt:http
tcp -- anywhere unknown.carohosting.net tcp spt:http
tcp -- unknown.carohosting.net anywhere tcp dpt:smtp
tcp -- anywhere unknown.carohosting.net tcp spt:smtp
tcp -- unknown.carohosting.net anywhere tcp dpt:pop3
tcp -- anywhere unknown.carohosting.net tcp spt:pop3
icmp -- unknown.carohosting.net anywhere
icmp -- anywhere unknown.carohosting.net
tcp -- unknown.carohosting.net anywhere
tcp -- anywhere unknown.carohosting.net
udp -- unknown.carohosting.net anywhere
udp -- anywhere unknown.carohosting.net
all -- unknown.carohosting.net anywhere
all -- anywhere unknown.carohosting.net
all -- anywhere anywhere
ممنون