Keresés

Hirdetés

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

  • Intruder2k5

    MODERÁTOR

    válasz vargalex #5879 üzenetére

    Manuális Forward előtt, és után. :)
    Mondjuk minden policy ACCEPT... Pfff...

    root@DD-WRT:~# iptables -L
    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    ACCEPT 0 -- anywhere anywhere state RELATED,ESTABLISHED
    DROP udp -- anywhere anywhere udp dpt:route
    DROP udp -- anywhere anywhere udp dpt:route
    ACCEPT udp -- anywhere anywhere udp dpt:route
    logaccept tcp -- anywhere DD-WRT tcp dpt:www
    logaccept tcp -- anywhere DD-WRT tcp dpt:ssh
    DROP icmp -- anywhere anywhere
    DROP igmp -- anywhere anywhere
    ACCEPT udp -- anywhere anywhere udp dpt:5060
    ACCEPT 0 -- anywhere anywhere state NEW
    logaccept 0 -- anywhere anywhere state NEW
    DROP 0 -- anywhere anywhere

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination
    ACCEPT gre -- 192.168.1.0/24 anywhere
    ACCEPT tcp -- 192.168.1.0/24 anywhere tcp dpt:1723
    ACCEPT 0 -- anywhere anywhere
    TCPMSS tcp -- anywhere anywhere tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU
    lan2wan 0 -- anywhere anywhere
    ACCEPT 0 -- anywhere anywhere state RELATED,ESTABLISHED
    TRIGGER 0 -- anywhere anywhere TRIGGER type:in match:0 relate:0
    trigger_out 0 -- anywhere anywhere
    ACCEPT 0 -- anywhere anywhere state NEW
    DROP 0 -- anywhere anywhere

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    *********************************************************************************************************

    root@DD-WRT:~# iptables -L
    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    ACCEPT 0 -- anywhere anywhere state RELATED,ESTABLISHED
    DROP udp -- anywhere anywhere udp dpt:route
    DROP udp -- anywhere anywhere udp dpt:route
    ACCEPT udp -- anywhere anywhere udp dpt:route
    logaccept tcp -- anywhere DD-WRT tcp dpt:www
    logaccept tcp -- anywhere DD-WRT tcp dpt:ssh
    DROP icmp -- anywhere anywhere
    DROP igmp -- anywhere anywhere
    ACCEPT udp -- anywhere anywhere udp dpt:5060
    ACCEPT 0 -- anywhere anywhere state NEW
    logaccept 0 -- anywhere anywhere state NEW
    DROP 0 -- anywhere anywhere

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination
    ACCEPT gre -- 192.168.1.0/24 anywhere
    ACCEPT tcp -- 192.168.1.0/24 anywhere tcp dpt:1723
    ACCEPT 0 -- anywhere anywhere
    TCPMSS tcp -- anywhere anywhere tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU
    lan2wan 0 -- anywhere anywhere
    ACCEPT 0 -- anywhere anywhere state RELATED,ESTABLISHED
    ACCEPT tcp -- anywhere DD-WRT tcp dpt:ftp
    TRIGGER 0 -- anywhere anywhere TRIGGER type:in match:0 relate:0
    trigger_out 0 -- anywhere anywhere
    ACCEPT 0 -- anywhere anywhere state NEW
    DROP 0 -- anywhere anywhere

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination
    root@DD-WRT:~#

    [ Szerkesztve ]

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