LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-07-2007, 05:45 PM   #1
shifflav
LQ Newbie
 
Registered: Mar 2007
Location: Ohio
Distribution: SUSE 10
Posts: 6

Rep: Reputation: 0
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.

Here is my current setup:

NIC #1 (eth0)(external zone on Firewall):
IP: 10.0.0.150
Gateway - 10.0.0.1 (my router)

NIC #2 (eth1)(internal zone on Firewall):
IP: 10.10.0.1
Gateway: 10.0.0.1

Thanks for any help....

Last edited by shifflav; 03-08-2007 at 05:34 PM.
 
Old 03-09-2007, 08:52 PM   #2
shifflav
LQ Newbie
 
Registered: Mar 2007
Location: Ohio
Distribution: SUSE 10
Posts: 6

Original Poster
Rep: Reputation: 0
Forget it...go to Yahoo Answers instead...

Guess the Linux Gurus are all over at Yahoo Answers...

Answer:
1. Edit the configuration file for SUSE Firewall at: /etc/sysconfig/SuSEfirewall2

2. Around Section 15, here's what I entered:

FW_REDIRECT_TCP="10.10.0.0/24,0/0,80,8080"

This allows any client making a port 80 request in the 10.10.0.x range to be automatically forwarded to port 8080 and be filtered.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcp with two NIC cards powah Linux - Networking 7 02-23-2006 02:28 PM
2 DHCP IPs, one NIC? lil_drummaboy Linux - Networking 1 10-24-2005 03:36 PM
dhcp with multiple nic hariiyer Linux - Networking 4 08-26-2005 03:48 AM
Nic in promisc gets Ip from dhcp juanb Linux - Security 3 09-06-2004 10:44 AM
nic/dhcp configuration humvee Linux - Newbie 4 10-07-2003 02:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration