firewall and iscsi

Discussion in 'Installation/Configuration' started by mccharlet, Mar 24, 2008.

  1. mccharlet

    mccharlet HowtoForge Supporter


    I have a server with iscsi disk (no internal disk)

    When i start the firewall, the server is down (no acces disk)

    I have open the port 3260 (udp and tcp), but i have the same problem.

    How to configure Bastille for the first action is open the iscsi port.

    If i execute this scripts, it's OK (ony accès with ssh por the test)

    iptables -A INPUT -i eth0 -s -p tcp --dport 3260 -j ACCEPT
    iptables -A INPUT -i eth0 -s -p udp --dport 3260 -j ACCEPT
    iptables -A INPUT -i eth0 -p tcp --dport 22 -j ACCEPT
    iptables -P INPUT DROP
  2. mccharlet

    mccharlet HowtoForge Supporter

    I must add this rule before the drop

    iptables -A OUTPUT -p tcp --dport 3260 -m state --state NEW -j ACCEPT

Share This Page