Results 1 to 2 of 2

Thread: Problems with iptables in ubuntu 12.04 LTS Server

  1. #1
    Join Date
    Nov 2013
    Beans
    1

    Problems with iptables in ubuntu 12.04 LTS Server

    I have to add the following line to iptables.

    Code:
    iptables -A jk2_ddos -m u32 ! --u32 "0x1c=0xffffffff" -j ACCEPT
    I get this error message:

    iptables v1.4.12: u32: option "--u32" cannot be inverted.

    How can I fix this. I'am a total noob, please help.

    Thanks,
    Oliver

  2. #2
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Problems with iptables in ubuntu 12.04 LTS Server

    What exactly are you trying to do? Perhaps there's a simpler way to write this rule.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •