- 论坛徽章:
- 0
|
那位高手帮忙,设置linux使局域网共享上网?
[root@localhost /]#/sbin/iptables -vL
Chain INPUT (policy ACCEPT 3489 packets, 144K bytes)
pkts bytes target prot opt in out source destination
18771 1358K RH-Lokkit-0-50-INPUT all -- any any anywhere anywhere
Chain FORWARD (policy ACCEPT 17 packets, 1639 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 5727 packets, 324K bytes)
pkts bytes target prot opt in out source destination
Chain RH-Lokkit-0-50-INPUT (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT udp -- any any 221.167.240.29 anywhere udp spt:domain dpts:1025:65535
0 0 ACCEPT udp -- any any ns3.bta.net.cn anywhere udp spt:domain dpts:1025:65535
8 1400 ACCEPT udp -- any any ns4.bta.net.cn anywhere udp spt:domain dpts:1025:65535
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:smtp flags:SYN,RST,ACK/SYN
1 48 ACCEPT tcp -- any any anywhere anywhere tcp dpt:ftp flags:SYN,RST,ACK/SYN
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:telnet flags:SYN,RST,ACK/SYN
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:cvspserver flags:SYN,RST,ACK/SYN
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:ssh flags:SYN,RST,ACK/SYN
3289 166K ACCEPT all -- lo any anywhere anywhere
20 960 REJECT tcp -- any any anywhere anywhere tcp dpts:0:1023 flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
0 0 REJECT tcp -- any any anywhere anywhere tcp dpt:nfs flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
12037 1050K REJECT udp -- any any anywhere anywhere udp dpts:0:1023 reject-with icmp-port-unreachable
0 0 REJECT udp -- any any anywhere anywhere udp dpt:nfs reject-with icmp-port-unreachable
0 0 REJECT tcp -- any any anywhere anywhere tcp dpts 11:6009 flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
0 0 REJECT tcp -- any any anywhere anywhere tcp dpt fs flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable |
|