Bug 1477897 - Support port redirects for localhost
Support port redirects for localhost
Status: NEW
Product: Fedora
Classification: Fedora
Component: firewalld (Show other bugs)
Unspecified Unspecified
unspecified Severity medium
: ---
: ---
Assigned To: Eric Garver
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2017-08-03 03:33 EDT by Marius Andreiana
Modified: 2017-08-17 15:55 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Marius Andreiana 2017-08-03 03:33:24 EDT
Port redirects on remote servers work fine:

but localhost requires an additional command:

iptables -t nat -I OUTPUT --source --destination -p tcp --dport 80 -j REDIRECT --to-ports 5000

which only works with iptables

Please have an equivalent
firewall-cmd ... --permanent

command for that too.

Note You need to log in before you can comment on or make changes to this bug.