Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Port redirects with the firewall off in RHEL 7?

    Posted on

    I am looking in to upgrading from RHEL 6 to RHEL 7. In RHEL 6 I can redirect port 80 to 8080 using iptables (with the firewall down) using the following command:
    iptables -t nat -A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080

    Is this possible in RHEL 7? I have scoured the internet and so far have not been able to find an answer.

    I need to be able to redirect ports with no firewall as several of our customers have secure networks and will not be using the firewall that comes with RHEL.

    Thanks!

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat