Pierwszy post więc na początku witam ;]
I równie prosta sprawa
Firewall nie wpuszcza ;] (takich usług jak ssh , www ) - działa z wewnątrz sieci a z neta już nie ;]
iptables -L
> iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
DROP tcp -- anywhere anywhere multiport dports 135,445
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 tcp -- anywhere anywhere tcp dpt:www
ACCEPT icmp -- anywhere anywhere icmp echo-request limit: avg 1/sec burst 5
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
Chain FORWARD (policy DROP)
target prot opt source destination
liczenie all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
DROP tcp -- anywhere anywhere multiport dports 135,445
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain liczenie (1 references)
target prot opt source destination
>
WWW wiadomo na 80 a SSH na 5021 ;]
Nieznam się kompletnie na iptables , jak widać próbowałem IPTABLES -I -p tcp --dport 5021 -j ACCEPT - ale ssh i tak nie wpuszcza
Pozdro
w rc.conf - www i ssh na 1