From 192.168.100.6
Цитата: lars від 2008-06-30 01:20:12From 192.168.100.6Кхм...Ви під'єднуєтесь до Інтернету через внутрішню мережу.пінг іде через внутрішнє айпі, тому проблема не у Вашому налаштуванні лінукса. У Вас хоч модем налаштований з провайдером?
Щоб дізнатись напевне, де саме виникають проблеми, скористуйтесь traceroute або mtr.
traceroute ukr.net ~traceroute to ukr.net (195.214.195.105), 30 hops max, 40 byte packets 1 gate.home (192.168.2.1) 33.357 ms 33.411 ms 33.508 ms 2 195.5.5.203 (195.5.5.203) 34.105 ms 34.588 ms 35.307 ms 3 10.50.9.18 (10.50.9.18) 52.671 ms 55.362 ms 58.081 ms 4 ffm-b6-link.telia.net (213.248.71.121) 104.983 ms 107.161 ms 109.572 ms 5 ffm-bb1-link.telia.net (80.91.249.81) 103.198 ms ffm-bb1-link.telia.net (80.91.251.150) 99.966 ms ffm-bb2-link.telia.net (80.91.254.166) 109.014 ms 6 win-b2-link.telia.net (80.91.248.77) 132.915 ms 103.097 ms 102.691 ms 7 kiev-b1-link.telia.net (80.91.249.90) 118.849 ms 121.263 ms 123.851 ms 8 its-ic-126814-kiev-b1.c.telia.net (213.248.88.190) 125.103 ms 127.349 ms 131.519 ms 9 213.133.164.226 (213.133.164.226) 128.540 ms 132.069 ms 147.149 ms10 megakot.ukr.net (212.42.64.20) 148.083 ms 149.673 ms 152.042 ms11 195.214.195.105 (195.214.195.105) 151.472 ms 153.373 ms 154.441 ms
..... вивід iptables -L -n (від root`а)
[root@localhost larson]# iptables -L -nChain INPUT (policy DROP)target prot opt source destinationIfw all -- 0.0.0.0/0 0.0.0.0/0eth0_in all -- 0.0.0.0/0 0.0.0.0/0ACCEPT all -- 0.0.0.0/0 0.0.0.0/0ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHEDReject all -- 0.0.0.0/0 0.0.0.0/0LOG all -- 0.0.0.0/0 0.0.0.0/0 LOG flags 0 level 6 prefix `Shorewall:INPUT:REJECT:'reject all -- 0.0.0.0/0 0.0.0.0/0Chain FORWARD (policy DROP)target prot opt source destinationeth0_fwd all -- 0.0.0.0/0 0.0.0.0/0ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHEDReject all -- 0.0.0.0/0 0.0.0.0/0LOG all -- 0.0.0.0/0 0.0.0.0/0 LOG flags 0 level 6 prefix `Shorewall:FORWARD:REJECT:'reject all -- 0.0.0.0/0 0.0.0.0/0Chain OUTPUT (policy DROP)target prot opt source destinationeth0_out all -- 0.0.0.0/0 0.0.0.0/0ACCEPT all -- 0.0.0.0/0 0.0.0.0/0ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHEDReject all -- 0.0.0.0/0 0.0.0.0/0LOG all -- 0.0.0.0/0 0.0.0.0/0 LOG flags 0 level 6 prefix `Shorewall:OUTPUT:REJECT:'reject all -- 0.0.0.0/0 0.0.0.0/0Chain Drop (1 references)target prot opt source destinationreject tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:113dropBcast all -- 0.0.0.0/0 0.0.0.0/0ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmp type 3 code 4ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmp type 11dropInvalid all -- 0.0.0.0/0 0.0.0.0/0DROP udp -- 0.0.0.0/0 0.0.0.0/0 multiport dports 135,445DROP udp -- 0.0.0.0/0 0.0.0.0/0 udp dpts:137:139DROP udp -- 0.0.0.0/0 0.0.0.0/0 udp spt:137 dpts:1024:65535DROP tcp -- 0.0.0.0/0 0.0.0.0/0 multiport dports 135,139,445DROP udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:1900dropNotSyn tcp -- 0.0.0.0/0 0.0.0.0/0DROP udp -- 0.0.0.0/0 0.0.0.0/0 udp spt:53Chain Ifw (1 references)target prot opt source destinationRETURN all -- 0.0.0.0/0 0.0.0.0/0 set ifw_wl srcDROP all -- 0.0.0.0/0 0.0.0.0/0 set ifw_bl srcIFWLOG all -- 0.0.0.0/0 0.0.0.0/0 state INVALID,NEW psd weight-threshold: 10 delay-threshold: 10000 lo-ports-weight: 2 hi-ports-weight: 1 IFWLOG prefix 'SCAN'Chain Reject (6 references)target prot opt source destinationreject tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:113dropBcast all -- 0.0.0.0/0 0.0.0.0/0ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmp type 3 code 4ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmp type 11dropInvalid all -- 0.0.0.0/0 0.0.0.0/0reject udp -- 0.0.0.0/0 0.0.0.0/0 multiport dports 135,445reject udp -- 0.0.0.0/0 0.0.0.0/0 udp dpts:137:139reject udp -- 0.0.0.0/0 0.0.0.0/0 udp spt:137 dpts:1024:65535reject tcp -- 0.0.0.0/0 0.0.0.0/0 multiport dports 135,139,445DROP udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:1900dropNotSyn tcp -- 0.0.0.0/0 0.0.0.0/0DROP udp -- 0.0.0.0/0 0.0.0.0/0 udp spt:53Chain all2fw (0 references)target prot opt source destinationACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHEDReject all -- 0.0.0.0/0 0.0.0.0/0LOG all -- 0.0.0.0/0 0.0.0.0/0 LOG flags 0 level 6 prefix `Shorewall:all2fw:REJECT:'reject all -- 0.0.0.0/0 0.0.0.0/0Chain all2net (0 references)target prot opt source destinationACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHEDReject all -- 0.0.0.0/0 0.0.0.0/0LOG all -- 0.0.0.0/0 0.0.0.0/0 LOG flags 0 level 6 prefix `Shorewall:all2net:REJECT:'reject all -- 0.0.0.0/0 0.0.0.0/0Chain dropBcast (2 references)target prot opt source destinationDROP all -- 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type BROADCASTDROP all -- 0.0.0.0/0 224.0.0.0/4Chain dropInvalid (2 references)target prot opt source destinationDROP all -- 0.0.0.0/0 0.0.0.0/0 state INVALIDChain dropNotSyn (2 references)target prot opt source destinationDROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:!0x17/0x02Chain dynamic (2 references)target prot opt source destinationChain eth0_fwd (1 references)target prot opt source destinationdynamic all -- 0.0.0.0/0 0.0.0.0/0 state INVALID,NEWChain eth0_in (1 references)target prot opt source destinationdynamic all -- 0.0.0.0/0 0.0.0.0/0 state INVALID,NEWnet2fw all -- 0.0.0.0/0 0.0.0.0/0Chain eth0_out (1 references)target prot opt source destinationfw2net all -- 0.0.0.0/0 0.0.0.0/0Chain fw2all (0 references)target prot opt source destinationACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHEDReject all -- 0.0.0.0/0 0.0.0.0/0LOG all -- 0.0.0.0/0 0.0.0.0/0 LOG flags 0 level 6 prefix `Shorewall:fw2all:REJECT:'reject all -- 0.0.0.0/0 0.0.0.0/0Chain fw2net (1 references)target prot opt source destinationACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHEDACCEPT all -- 0.0.0.0/0 0.0.0.0/0Chain logdrop (0 references)target prot opt source destinationDROP all -- 0.0.0.0/0 0.0.0.0/0Chain logreject (0 references)target prot opt source destinationreject all -- 0.0.0.0/0 0.0.0.0/0Chain net2fw (1 references)target prot opt source destinationACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHEDDrop all -- 0.0.0.0/0 0.0.0.0/0LOG all -- 0.0.0.0/0 0.0.0.0/0 LOG flags 0 level 6 prefix `Shorewall:net2fw:DROP:'DROP all -- 0.0.0.0/0 0.0.0.0/0Chain reject (13 references)target prot opt source destinationDROP all -- 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match src-type BROADCASTDROP all -- 224.0.0.0/4 0.0.0.0/0REJECT tcp -- 0.0.0.0/0 0.0.0.0/0 reject-with tcp-resetREJECT udp -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachableREJECT icmp -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-unreachableREJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibitedChain shorewall (0 references)target prot opt source destinationChain smurfs (0 references)target prot opt source destinationRETURN all -- 0.0.0.0 0.0.0.0/0LOG all -- 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match src-type BROADCAST LOG flags 0 level 6 prefix `Shorewall:smurfs:DROP:'DROP all -- 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match src-type BROADCASTLOG all -- 224.0.0.0/4 0.0.0.0/0 LOG flags 0 level 6 prefix `Shorewall:smurfs:DROP:'DROP all -- 224.0.0.0/4 0.0.0.0/0