FedoraForum.org - Fedora Support Forums and Community
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question iptables "already installed"

    I don't know much about iptables, but I'm trying to reroute port 80 to 8080. If, as root, I type:
    iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080

    Fedora complains:
    bash: iptables: command not found...
    Install package 'iptables' to provide command 'iptables'? [N/y]
    * Running.. The transaction failed: all-packages-already-installed, The packages are already all installed

    Huh?

    Also, how do I store the changes permanently, assuming I can get it to work in the first place?

  2. #2
    leigh123linux Guest

    Re: iptables "already installed"

    Try

    Code:
    su -
    /sbin/iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080
    service iptables save


Similar Threads

  1. both rame "i386" and "x86_64" rpm installed
    By yves_69 in forum Using Fedora
    Replies: 5
    Last Post: 15th December 2008, 04:32 PM
  2. Replies: 3
    Last Post: 23rd August 2008, 06:06 AM
  3. Replies: 0
    Last Post: 19th June 2008, 04:49 PM
  4. Replies: 9
    Last Post: 16th March 2006, 09:28 AM
  5. Replies: 0
    Last Post: 23rd May 2005, 04:59 AM

Tags for this Thread

Posting Permissions

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