Loading ...
Sorry, an error occurred while loading the content.

[nslu2-linux] SlugOS iptables problem

Expand Messages
  • Duudson
    Hi, I m running SlugOS/BE 4.8 Beta and I m having problems with iptables. This works: iptables -A INPUT -s 10.8.10.0/24 -j DROP this works also: iptables -A
    Message 1 of 1 , Feb 23, 2008
    • 0 Attachment
      Hi,

      I'm running SlugOS/BE 4.8 Beta and I'm having problems with iptables.

      This works:
      iptables -A INPUT -s 10.8.10.0/24 -j DROP

      this works also:
      iptables -A INPUT -s 10.8.11.0/24 -p tcp -j DROP

      but this doesn't work anymore:
      iptables -A INPUT -s 10.8.12.0/24 -p tcp --source-port 500 -j DROP
      iptables: No chain/target/match by that name

      So I can only block ip addresses, not ports. Why is that?

      I have these iptables releated packages installed:
      iptables - 1.3.8-r1
      kernel-module-ip-tables - 2.6.21.7+svnr927-r0
      kernel-module-ipt-masquerade - 2.6.21.7+svnr927-r0
      kernel-module-iptable-filter - 2.6.21.7+svnr927-r0
      kernel-module-iptable-nat - 2.6.21.7+svnr927-r0
      kernel-module-x-tables - 2.6.21.7+svnr927-r0

      I've run depmode -a after kernel module installations.

      The firewall is pretty useless like this, am I missing something here?
      (actually masquerading works so it's not totally useless at the moment.)

      --
      View this message in context: http://www.nabble.com/SlugOS-iptables-problem-tp15661437p15661437.html
      Sent from the Nslu2 - Linux mailing list archive at Nabble.com.
    Your message has been successfully submitted and would be delivered to recipients shortly.