Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
SUSE 10.2 Firewall - Forward all requests to port 8080?
Hello,
I'm a Linux newbie crossing over from the Windows world. I just set up a server with SUSE Linux 10.2, SQUID 2.6? (the newest), and DansGuardian for filtering. I'm trying to setup a second NIC for use with the DHCP Server which I've installed under YaST. The second NIC connects to a wireless AP which will assign IPs to various laptops which must be filtered. The laptops are getting an IP address, and can browse the web if I turn on 'masquerading' at the SUSE firewall. However, they are not filtered. I would like all web requests to forward to port 8080 of Dansguardian, but don't know how. I figured it should be in the 'masquerading' section of the SUSE firewall, but I can't get it to work. If I put in 10.0.0.150 - port 8080 under the proxy settings on the client, then browsing is filtered. So, everything is in place, but I don't want to enter the proxy settings and still have it filtered. In other words, all requests should forward to 8080.
Thanks for any help....
2 Answers
- Anonymous1 decade agoFavorite Answer
Masquerading changes the internal ip requests from one network to another ip for routing on that other network. Typically this is used to allow internal ip's such as on a 10. net to access the internet as the external internet ip address.
Assuming that what you have is masq on the external nic which has an internet ip and is directly connected to the internet, and that the internal net including the server, AP, and laptops is all on the same subnet (not masq'ing the ap connections of 10. to say 192.168. net on the linux box and also masq'ing out to the internet), I would think you're interested in setting up transparent proxying so all internal pc's automatically get proxied without having to configure them independently, which also allows the possibility of someone just taking out the proxy settings and having unfiltered and/or uncached access.
In this case, what you want to do is set a firewall rule on the nic that is attached to the AP which does a port redirect of all external http requests (port 80) to the proxy port (8080 or 3128)
Hopefully the kernel is already compiled with the proper settings and you don't have to recompile the kernel. But recompiling isn't that bad. I usually recompile the default kernel on machines just to optimize it for the specific hardware it's running on even if everything needed is already compiled in.
See the following for details: