Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Security and Privacy
FedoraForum Search

Forgot Password? Join Us!

Security and Privacy Sadly, malware, spyware, hackers and privacy threats abound in today's world. Let's be paranoid and secure our penguins, and slam the doors on privacy exploits.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 21st October 2004, 01:08 PM
james.farrow Offline
Registered User
 
Join Date: Jun 2004
Age: 44
Posts: 12
Squid and iptables

I have a squid proxy server 192.168.1.1, internet is on eth0 and eth1 is local LAN, and several other boxes getting their IP's via DHCP, all fine no problem. Squid uses port 3128 and I had to point all the browsers of the other boxes to this port using the rules added to my firewall:-

iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 \

-j REDIRECT --to-ports 3128

iptables -A OUTPUT -j ACCEPT -m state --state NEW -o eth0 \

-p tcp --dport 80

Is it possible to configure the iptables rules so that all the browsers point to the standard port 80 and it gets redirected to 3128. I have httpd running, but only for the LAN, I do not require it to be accessible from 'outside'.

Thanx in advance.

My knowledge of iptbales is limited to say the least....
Reply With Quote
Reply

Tags
iptables, squid

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables and SQUID macfusbluer Servers & Networking 2 26th October 2008 06:55 AM
iptables or squid mndar Using Fedora 6 17th October 2005 12:50 PM
Squid + iptables = secure? Barus Servers & Networking 2 6th July 2005 06:01 PM
transparent squid/iptables question davidmaxwaterma Servers & Networking 0 9th October 2004 10:49 AM


Current GMT-time: 08:31 (Friday, 24-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Monguno - Tajpur Instagram Photos - Chum Phae