Results 1 to 3 of 3

Thread: "Unexpected Syntax Error" With iptables Command

  1. #1
    Join Date
    Mar 2008
    Beans
    26
    Distro
    Ubuntu 9.10 Karmic Koala

    Question "Unexpected Syntax Error" With iptables Command

    First off, I'm admittedly no the most savvy person with the terminal, but I'm learning.

    I'm trying to open up the ports on my Ubuntu machine so that I can get Azureus working optimally (as per this tutorial) but when I enter in the line:

    Code:
    iptables -I INPUT -p tcp --dport <52535> -j ACCEPT
    I get the error: "syntax error near unexpected token '52535'" (52535 being the port I've opened on my router for Azureus).

    Any help with why I'm getting this error message or with this process would be greatly appreciated. Thanks in advance.

  2. #2
    Join Date
    Oct 2006
    Beans
    155

    Re: "Unexpected Syntax Error" With iptables Command

    iptables is good but if you are new to it i suggest going with the gui.

    sudo apt-get install guarddog or firestarter

    Both do use iptables.

  3. #3
    Join Date
    Mar 2008
    Beans
    26
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: "Unexpected Syntax Error" With iptables Command

    ah ok, thanks. i'll give one of those a shot.

    i'm still curious, though, about what that error is all about?

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
  •