|
Bugzilla – Full Text Bug Listing |
| Summary: | FW_REDIRECT doesn't work in SuSEfirewall2 | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Médéric Boquien <mboquien> |
| Component: | Security | Assignee: | Security Team bot <security-team> |
| Status: | RESOLVED INVALID | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | SuSE Linux 10.0 | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Médéric Boquien
2005-11-20 22:46:42 UTC
loopback is treated in a special way by the kernel. Try connecting from another machine and it will work. Unfortunetaly connecting from another computer is not an option as i do that to access a machine which is behind firewall through a tunnel ssh and it is my only computer. Is there another way to do port redirecting on localhost in SuSE or do i have to use another firewall? I used to do this manipulation with shorewall and it worked without any problem. Thanks, Médéric "another firewall" also just uses iptables. If you find out which kind of magic rule is necessary o make it work I might be able to add that to SuSEfirweall2. You can see the commands SuSEfirewall2 uses by running "SuSEfirewall2 debug". Hi Ludwig, I think i've found what is needed to make SuSEfirewall2 work as expected. The problem is similar to the one described here: http://www.caucho.com/support/resin-interest/0509/0008.html . An OUTPUT rule similar to the PREROUTING one is needed. I wrote a such line in the console and all of a sudden everything worked as i wanted. Thank you very much for adding this to SuSEfirewall2. Regards, Médéric that works indeed, thanks for the hint. However, after thinking more about it I am not going to add it. I think it will cause breakage if you use e.g. squid as transparent proxy. In that case you would redirect port 80 to local 3128. In contrast to ssh squid does also create outgoing connection to port 80 so it would also match this redirect rule and redirect to itself in a loop. |