Keresés

Új hozzászólás Aktív témák

  • soldi3r

    veterán

    válasz soldi3r #5632 üzenetére

    Megmondom oszinten vagy 3x vegig kellett neznem a videot, mire megertettem mi mire valo. Vegul ezt potyogtem be. Jo lesz igy? Ha restart utan is ugyanezt latom akkor vegeztem?

    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    ACCEPT all -- anywhere anywhere
    REJECT all -- anywhere loopback/8 reject-with icmp-port-unreachable
    ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
    ACCEPT tcp -- anywhere anywhere tcp dpt:http
    ACCEPT tcp -- anywhere anywhere tcp dpt:https
    ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:30000
    ACCEPT icmp -- anywhere anywhere icmp echo-request
    LOG all -- anywhere anywhere limit: avg 5/min burst 5 LOG level debug prefix "iptables denied: "
    REJECT all -- anywhere anywhere reject-with icmp-port-unreachable

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination
    REJECT all -- anywhere anywhere reject-with icmp-port-unreachable

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination
    ACCEPT all -- anywhere anywhere

Új hozzászólás Aktív témák