LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-05-2005, 03:01 AM   #1
Dedah
LQ Newbie
 
Registered: Feb 2005
Posts: 11

Rep: Reputation: 0
ADSL Router Connection to Linux Proxy


I have an ADSL modem/router/firewall (FBR-1407a) LevelOne which is connected to the internet. I have a Linux box (Redhat 8.0) which i want to use as a proxy (squid). I also need to share this connection to other clients on my LAN

Anybody out there with an idea of how i can go about it.
 
Old 09-06-2005, 08:47 PM   #2
zamri
Member
 
Registered: May 2004
Location: Malaysia
Distribution: Mandrake,Slackware,RedHat
Posts: 157

Rep: Reputation: 30
setup squid on redhat box. the redhat box should have 2 NICs. One to connect to modem and one to the switch which is connected to ur LAN. then set iptables like this:

Code:
iptables -t nat -A PREROUTING -s 192.168.0.0/24 -p tcp --dport 80 -j REDIRECT --to-port 3128
that is if ur LAN is 192.168.0.x. U should also read the transparent-proxy mini HOWTO at TLDP.
 
Old 09-07-2005, 09:22 AM   #3
Dedah
LQ Newbie
 
Registered: Feb 2005
Posts: 11

Original Poster
Rep: Reputation: 0
ADSL Router

Thank u 4 ur help
 
  


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
distributing cable connection through adsl router fred22 Linux - Networking 10 08-15-2007 04:28 PM
slack 10 linux proxy and ADSL router hubabuba Linux - Networking 1 12-10-2004 04:19 PM
adsl router connection setup shabene Linux - Networking 9 05-26-2004 05:03 PM
ADSL Routers Setup- Microsom Deskporte router 100 and Planet ADSL modem router mabonline Linux - Hardware 1 02-27-2004 05:36 PM
ADSL Router + Linux Router + LAN = HELP!!! linuxlois Linux - General 2 09-16-2003 08:24 AM

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

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