Howto configure openSuSE firewall to route local traffic to local ports
- by Eduard Wirch
I have openSUSE 11.3 installed. I'm using the openSUSE firewall configuration mechanism (/etc/sysconfig/SuSEfirewall2). I have a http server application running on port 8080. I want the http service to be accessible using port 80. I created a redirect rule usign:
FW_REDIRECT="0/0,0/0,tcp,80,8080"
This works fine for every request coming from external. But it doesn't for local requests. (example: wget http://myserver/)
Is there a way how I can tell the firewall to redirect local requests addressed for 80 to port 8080? (using the SUSE firewall configuration file)