LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 11-14-2005, 07:13 AM   #1
syd2001
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Rep: Reputation: 0
Proxy traffic through firewall


Hi,
I would lyk to get some help with configuring a firewall to forward squid traffic. I'll explain my setup.
I have a firewall with iptables configured for allowing access to specific services /IP in my network. The default policies for most of the chains is DROP. My proxy has a live IP and hence the proxy was directly connected to the internet. Now i need to route my squid traffic through the firewall so that the firewall becomes the single point of access/exit. That's why I have a firewall in place. Proxy has squid configured. Http port configured for squid is 8080. Firewall has iptables configured. Snort is also present. No specfic rules has been configured as far as the proxy traffic is concerned. The internet is yet being accessed on account of the live IP present on the proxy.

Any efforts to route the traffic through the firewall hasn't helped me out.

I know Linux in bits and pieces and have learnt much of it through R&D when I needed to get something done. This proxy rerouting seems to be beyond my reach

Pl. help

Syd
 
Old 11-14-2005, 11:12 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
i think u should give a try to setting the firewall rules using shorewall from shorewall.net which is pretty easy to setup iptables

regards
 
Old 11-17-2005, 10:50 PM   #3
syd2001
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by masand
i think u should give a try to setting the firewall rules using shorewall from shorewall.net which is pretty easy to setup iptables

regards
HI,
Could u just detail the steps u mentioned. I am clueless. Sorry for being too ignorant.
 
Old 11-18-2005, 01:43 AM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
just download shorewall from shorewall.net and then configure shorewall.

you can have a look at the examples given with the configuration files

regards
 
  


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
All internet traffic needs to go through a proxy! yumingtian Linux - Networking 3 08-29-2005 08:36 PM
All local traffic through proxy radekg Linux - Networking 2 03-28-2005 09:31 AM
Proxy IM traffic meektom Linux - Software 0 10-13-2003 12:32 PM
Squid split traffic proxy stonelee Linux - Networking 0 09-08-2003 11:26 AM
firewall and traffic Vladix Linux - Networking 0 07-15-2003 12:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:40 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