Posts by Sash

    Hallo Georg,

    ich bin nach Deiner Anleitung vorgegangen. Jedoch siehen bei mir die Firewall-Regeln nach einem Neustart anders aus.

    Code
    pi@raspbmc:~$ sudo iptables -L
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
    ACCEPT     all  --  192.168.132.0/24     anywhere
    DROP       all  --  anywhere             anywhere

    Hast Du eine Idee an was es liegen kann?

    So sieht meine Konfiguration aus:

    Code
    pi@raspbmc:~$ ls -l /etc/network/iptables
    -rw-r--r-- 1 root root 422 May 11 13:30 /etc/network/iptables
    Code
    pi@raspbmc:~$ ls -l /etc/network/if-pre-up.d/iptables
    -rwxr-xr-x 1 root root 57 May 11 13:33 /etc/network/if-pre-up.d/iptables


    Wenn ich die Firewall-Regel wieder lade:

    Code
    pi@raspbmc:~$ sudo iptables-restore /etc/network/iptables


    Sieht es "richtig" aus:

    Code
    pi@raspbmc:~$ sudo iptables -L
    Chain INPUT (policy DROP)
    target     prot opt source               destination
    ACCEPT     all  --  anywhere             anywhere
    ACCEPT     icmp --  anywhere             anywhere
    ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
    ACCEPT     tcp  --  192.168.132.0/24     anywhere             state NEW tcp dpt:ssh
    ACCEPT     tcp  --  192.168.132.0/24     anywhere             state NEW tcp dpt:8001
    REJECT     all  --  anywhere             anywhere             reject-with icmp-host-prohibited


    Gruß, Alex