Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-31-2005, 04:05 PM   #1
Bill Fox
LQ Newbie
Registered: Dec 2004
Location: Edmonton, Alberta Canada
Distribution: Fedora Core
Posts: 17

Rep: Reputation: 0
Setting up a Linix Server as a proxy server

I have a Linux Server setup with two NIC cards eth0 is connected to ADSL via DHCP, eth0 is using a fixed IP - I will have three or four other computers hooked into this network connecting to the Server. I want to be able to connect to the internet via the Linux Server from any of the connected clients. I have searched and found a product called Squid that looks like it might do that job.
I'm using Fedora Core 3 is this the best product to do this or are there other better solutions?
Old 01-31-2005, 09:47 PM   #2
Senior Member
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,487

Rep: Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627
iptables is your friend.

Browse for documentation on

Use one of the example scripts. You want to do masquerading.

If you'd be using Debian, you could have installed ipmasq. This is a fully automatic (yet customizable) installation of iptables and masquerading. Not sure it exists in Fedora as well.

Old 01-31-2005, 10:38 PM   #3
Senior Member
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115
You can do it with iptables, but you can also use squid, which is a caching proxy server that isn't difficult to set up.

You can set up a masquerading firewall using this script, which can also be configured to handle your internet connection sharing:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 12:25 PM
Does anyone have a guide for setting up SSH.Proxy server? martinj Linux - Networking 2 06-18-2005 03:39 AM
setting up proxy server utsav_verma Linux - Newbie 1 04-10-2004 12:30 AM
problems setting up apache and vsftp server behind a router that serves as a server xone Linux - Security 1 04-08-2004 11:46 AM
Problem setting up web proxy server MadCactus Linux - Networking 2 11-21-2003 07:46 AM

All times are GMT -5. The time now is 07:31 PM.

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