LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 01-31-2005, 03: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 192.168.2.200 - 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, 08:47 PM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

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

Browse for documentation on www.netfilter.org

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.

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

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

http://www.faqs.org/docs/securing/chap28sec227.html

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

http://freshmeat.net/projects/endoshield/
 
  


Reply


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 11:25 AM
Does anyone have a guide for setting up SSH.Proxy server? martinj Linux - Networking 2 06-18-2005 02:39 AM
setting up proxy server utsav_verma Linux - Newbie 1 04-09-2004 11:30 PM
problems setting up apache and vsftp server behind a router that serves as a server xone Linux - Security 1 04-08-2004 10:46 AM
Problem setting up web proxy server MadCactus Linux - Networking 2 11-21-2003 06:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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