http://tasior.iglu.cz/nnd/rc.zewip
witam wszystkich,
mam następujący problem, razem z hx'em (darkiem wszechmogącym

) konfigurowalismy moje nnd, niceshaper, imp_p2p, etc... wszystko zapier... jak należy,
mam problem z dwiema kwestiami, pierwsżą jest thttpd, i co ważniejsza druga to forward.
po kolei:
dzerżawie internet od gościa drogą radiową, 1MB,
(internet) ---wlan ---- (ap:10.0.0.129)---- kabel (router NND : 10.0.0.229 | 192.168.0.1 ) , ----- lan .....
i teraz tak, dostalem zewnetrzny ip 83.18.xx.xx poprzez ten skrypt
http://tasior.iglu.cz/nnd/rc.zewip
... pierwszą ważną kwestią jest to że nie dziala forward portów, pogrzebalem troche i oto fakty
stawiam serwer www, na porcie 80 na (192.168.0.1 [czyli u niego 10.0.0.129 ] .. na zewnątrz widać mnie jako 83.18.xx.xx , po przeskanowaniu tego ip z zewnątrz i sprawdzeniu czy dziala, wszystko jest wporządku, czyli
_____
nmap 83.18.xx.xx
80 www open ..
end.
_____
strona uruchamia się
nmap 192.168.0.1
80 www open ..
end.
_____
strona uruchamia się
namp 10.0.0.129
80 www open ..
end.
_____
strona uruchamia się
czyli wszystko jest ok ...
teraz robię tak... zmieniam port thhtpd na np. 81 .. uruchamiam ./thhtpd restart ... [wykonane]
skanuje siec
_____
namp 10.0.0.129
81 www open ..
end.
_____
strona uruchamia się
namp 192.168.0.1
81 www open ..
end.
_____
strona uruchamia się
i z zewnątrz
nmap 83.18.xx.xx
PORT STATE SERVICE
81/tcp filtered hosts2-ns
________
strona nie uruchamia się

, oto moje iptables :
[root@RCNdeamon rc.d]# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
DROP tcp -- anywhere anywhere multiport dports 135,445
ACCEPT tcp -- anywhere anywhere tcp dpt:www
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp-data
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
REJECT tcp -- anywhere anywhere tcp dpt:auth reject-with icmp-port-unreachable
REJECT tcp -- anywhere anywhere tcp dpt:1080 reject-with icmp-port-unreachable
ACCEPT icmp -- anywhere anywhere icmp echo-request limit: avg 1/sec burst 5
ACCEPT all -- Komp_2 anywhere
ACCEPT all -- Komp_4 anywhere
ACCEPT all -- Komp_5 anywhere
ACCEPT all -- Komp_6 anywhere
ACCEPT all -- Komp_7 anywhere
ACCEPT all -- Komp_8 anywhere
ACCEPT all -- Komp_9 anywhere
ACCEPT all -- Komp_10 anywhere
ACCEPT all -- Komp_11 anywhere
ACCEPT all -- Komp_12 anywhere
ACCEPT all -- Komp_13 anywhere
ACCEPT all -- Komp_20 anywhere
ACCEPT all -- 192.168.0.29 anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
DROP tcp -- anywhere anywhere multiport dports 135,445
DROP tcp -- Komp_2 anywhere tcp flags:SYN,RST,ACK/SYN #conn/32 > 50
DROP tcp -- Komp_4 anywhere tcp flags:SYN,RST,ACK/SYN #conn/32 > 50
DROP tcp -- Komp_5 anywhere tcp flags:SYN,RST,ACK/SYN #conn/32 > 50
DROP tcp -- Komp_6 anywhere tcp flags:SYN,RST,ACK/SYN #conn/32 > 50
DROP tcp -- Komp_9 anywhere tcp flags:SYN,RST,ACK/SYN #conn/32 > 50
DROP tcp -- Komp_10 anywhere tcp flags:SYN,RST,ACK/SYN #conn/32 > 50
DROP tcp -- Komp_11 anywhere tcp flags:SYN,RST,ACK/SYN #conn/32 > 50
DROP tcp -- Komp_13 anywhere tcp flags:SYN,RST,ACK/SYN #conn/32 > 50
ACCEPT all -- Komp_2 anywhere
ACCEPT all -- Komp_4 anywhere
ACCEPT all -- Komp_5 anywhere
ACCEPT all -- Komp_6 anywhere
ACCEPT all -- Komp_7 anywhere
ACCEPT all -- Komp_8 anywhere
ACCEPT all -- Komp_9 anywhere
ACCEPT all -- Komp_10 anywhere
ACCEPT all -- Komp_11 anywhere
ACCEPT all -- Komp_12 anywhere
ACCEPT all -- Komp_13 anywhere
ACCEPT all -- Komp_20 anywhere
ACCEPT all -- 192.168.0.29 anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root@RCNdeamon rc.d]#
... wydaje mi się że tutaj również jest problem z forward...
używam firewall czerwo.. tam jest śliczny skrypt konfigurujący dla debili

, i nie dziala
próbowałem wszystkiego... np. w sieci lan jest ap o adresie 192.168.0.4 i otwartym portem 80 , do administracji przez www
doszedlem do wniosku że jeżeli chodzi port 80 na routerze, i nie jest fitrowany (?!?) to bede mógł zrobić przekierowanie do maszyny 192.160.0.4 ..teeeeeeeeeeeeeeeeeeeee .. lipa
po zrobieniu forwardm na wszystkie możliwe sposoby czyli :
#Reguly przekierowywania, użyj skryptu aby modyfikować
0/0 both 0/0:80 192.168.0.4:80
10.0.0.229 both 0/0:80 192.168.0.4:80
83.18.76.107 both 0/0:80 192.168.0.4:80
192.168.0.1 both 0/0:80 192.168.0.4:80
, razem i odzielnie .... niestety nie dziala
iptables wygląda teraz tak :
[root@RCNdeamon rc.d]# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
DROP tcp -- anywhere anywhere multiport dports 135,445
ACCEPT all -- Komp_7 anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:www
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp-data
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
REJECT tcp -- anywhere anywhere tcp dpt:auth reject-with icmp-port-unreachable
REJECT tcp -- anywhere anywhere tcp dpt:1080 reject-with icmp-port-unreachable
ACCEPT icmp -- anywhere anywhere icmp echo-request limit: avg 1/sec burst 5
ACCEPT all -- Komp_2 anywhere
ACCEPT all -- Komp_4 anywhere
ACCEPT all -- Komp_5 anywhere
ACCEPT all -- Komp_6 anywhere
ACCEPT all -- Komp_7 anywhere
ACCEPT all -- Komp_8 anywhere
ACCEPT all -- Komp_9 anywhere
ACCEPT all -- Komp_10 anywhere
ACCEPT all -- Komp_11 anywhere
ACCEPT all -- Komp_12 anywhere
ACCEPT all -- Komp_13 anywhere
ACCEPT all -- Komp_20 anywhere
ACCEPT all -- 192.168.0.29 anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
DROP tcp -- anywhere anywhere multiport dports 135,445
DROP tcp -- Komp_2 anywhere tcp flags:SYN,RST,ACK/SYN #conn/32 > 50
DROP tcp -- Komp_4 anywhere tcp flags:SYN,RST,ACK/SYN #conn/32 > 50
DROP tcp -- Komp_5 anywhere tcp flags:SYN,RST,ACK/SYN #conn/32 > 50
DROP tcp -- Komp_6 anywhere tcp flags:SYN,RST,ACK/SYN #conn/32 > 50
DROP tcp -- Komp_9 anywhere tcp flags:SYN,RST,ACK/SYN #conn/32 > 50
DROP tcp -- Komp_10 anywhere tcp flags:SYN,RST,ACK/SYN #conn/32 > 50
DROP tcp -- Komp_11 anywhere tcp flags:SYN,RST,ACK/SYN #conn/32 > 50
DROP tcp -- Komp_13 anywhere tcp flags:SYN,RST,ACK/SYN #conn/32 > 50
ACCEPT tcp -- anywhere Komp_3 tcp dpt:www
ACCEPT tcp -- Komp_3 anywhere tcp spt:www
ACCEPT udp -- anywhere Komp_3 udp dpt:www
ACCEPT udp -- Komp_3 anywhere udp spt:www
ACCEPT tcp -- anywhere Komp_3 tcp dpt:www
ACCEPT tcp -- Komp_3 anywhere tcp spt:www
ACCEPT udp -- anywhere Komp_3 udp dpt:www
ACCEPT udp -- Komp_3 anywhere udp spt:www
ACCEPT tcp -- anywhere Komp_3 tcp dpt:www
ACCEPT tcp -- Komp_3 anywhere tcp spt:www
ACCEPT udp -- anywhere Komp_3 udp dpt:www
ACCEPT udp -- Komp_3 anywhere udp spt:www
ACCEPT tcp -- anywhere Komp_3 tcp dpt:www
ACCEPT tcp -- Komp_3 anywhere tcp spt:www
ACCEPT udp -- anywhere Komp_3 udp dpt:www
ACCEPT udp -- Komp_3 anywhere udp spt:www
ACCEPT all -- Komp_2 anywhere
ACCEPT all -- Komp_4 anywhere
ACCEPT all -- Komp_5 anywhere
ACCEPT all -- Komp_6 anywhere
ACCEPT all -- Komp_7 anywhere
ACCEPT all -- Komp_8 anywhere
ACCEPT all -- Komp_9 anywhere
ACCEPT all -- Komp_10 anywhere
ACCEPT all -- Komp_11 anywhere
ACCEPT all -- Komp_12 anywhere
ACCEPT all -- Komp_13 anywhere
ACCEPT all -- Komp_20 anywhere
ACCEPT all -- 192.168.0.29 anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root@RCNdeamon rc.d]#
...
czy ktoś pomoże mi rozwązać tą łamigłówkę ?!?!?!?!?!?, naprawdę nie mam do tego zdrowia :/
moj gg to 3625368
pzdr i pomocy