LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-10-2005, 11:00 AM   #1
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
some squid directions


Well I'm playing around a bit with squid but I'm getting kind of lost with all the different names.

I want to setup a proxy so someone can login to 1 (and only that) particular site with my IP address. My setup is like this:

internet (with specific person) - wireless router - computer connected wirelessly

So which tutorials do I have to look into now? The ones for transparent proxying or so? I need to set it up so that the other IP adress can't be seen so only mine.

I tried webmin stuff but if you don't know what to do in there it's kind of pointless too.

Thanks for any pointers that make this a bit clearer
 
Old 07-10-2005, 12:47 PM   #2
qs_tahmeed
Member
 
Registered: Nov 2003
Location: Bangladesh
Posts: 101

Rep: Reputation: 15
would you PLS provide some more info about how you wishes to
set up your LAN.

PLS try reading the configuration file throughly - its properly documented. also try to find out the
docs provided with the squid in /usr/share/doc/squid- or where the docs might have installed.
you will find a minimal conf changes that is needed to run squid initially.

and for transparent proxies you just run the squid in the WAN interface of the server and redirect
all trafic from your LAN interface (server's) to 3128 port of that WAN interface. you have to use
iptables/ipchains for that..

for allowing/blocking use squid's ACL.

bye.....
 
Old 07-10-2005, 12:51 PM   #3
qs_tahmeed
Member
 
Registered: Nov 2003
Location: Bangladesh
Posts: 101

Rep: Reputation: 15
forgot to tell you try having a look at the following site

www.siliconvalleyccie.com

you will find it there.
 
Old 07-10-2005, 04:01 PM   #4
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Original Poster
Rep: Reputation: 45
Well the problem is I don't know what tutorial I search or what it's called. I tried reading through the conf file and edited stuff but as I'm not knowing if I do the right things or how to set some things things go wrong.

I figured out all the things you mentioned before but I don't think it's what I'm looking for. The access control sounds good and I'm going to use that.

Like I said I want one person to be able to use my IP address to login for one site and I want it via squid

Cause that's the only way I can think of that doesn't allow the person access to my PC itself so he's just passing through. That's all. Nothing special for the local network as I'm perfectly fine with my internet now. I don't need no caching stuff, as far as I know I don't need to connect to other proxy servers. I thought this was just called getting a proxy up but there seem to be a few more names like transparent proxy.

The problem is that I can't find a proper howto that doesn't try to set all things like caching and other stuff. I simply want everything turned off, except http access to that single site. If I do a search on proxy squid it always directs me to tutorials for a local network but I don't think that's what I'm looking for. Cause I want someone from outside my network to use my IP address. In my network I'll just go directly to the internet.
 
Old 07-10-2005, 04:04 PM   #5
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Original Poster
Rep: Reputation: 45
Well I read through that site too and it's simply not what I want. It's all about the home networking stuff. And another question it's possible with those acls to only allow access to one site right?
 
Old 07-12-2005, 04:51 AM   #6
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Original Poster
Rep: Reputation: 45
Bump didn't found any new stuff out. Can anyone help me a bit?
 
Old 07-12-2005, 09:57 AM   #7
qs_tahmeed
Member
 
Registered: Nov 2003
Location: Bangladesh
Posts: 101

Rep: Reputation: 15
hello!

neither did i find any helpful docs in the net.

i worked studying the conf file and the doc that is installed with the packge.

some things - in the docs section you will find a minimal changes that are needed to start Squid.

though one wont need the "cache peer" section to be configured. as its for
maintaining heirarchical structure of proxies. link:

proxy ------> proxy -------> proxy
| | |
| | |
client client client

so you i think obviously dont need it.

as far as i have interpreted your requiement you may still do it with
iptables. if that specific ip is static you can select it and then decide
whether to bolck it or pass it through.

bye......
 
Old 07-12-2005, 01:57 PM   #8
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Original Poster
Rep: Reputation: 45
Well I'll play a bit further with squid as someone else said I could use squid for it too. He didn't know how to do it either. Problem is that the person doesn't have static IP. I think I saw a thread on here that had some other options in it that I might want to try.

http://www.linuxquestions.org/questi...hreadid=341783

Anyway I'm now just going to start at the beginning just getting it up and recognized and play further.

Would with iptables just mean forwarding from one port to the http port? And without the real IP being send?
 
Old 07-14-2005, 02:10 PM   #9
qs_tahmeed
Member
 
Registered: Nov 2003
Location: Bangladesh
Posts: 101

Rep: Reputation: 15
no - ofcourse not - you can specify Source IP and Destination IP with Iptables.

any way - sorry for not continuing - as i am busy with my solaris. its giving me
pain.

sorry again. and you can do the same with Squid.
 
  


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
Directions.. Directions.. rizhun Linux - Certification 4 07-28-2005 04:55 PM
Partition directions Underworld Linux - Software 7 04-06-2004 09:35 PM
upgrade directions for kernel Rezin Linux - Laptop and Netbook 1 03-26-2004 10:54 AM
Seeking directions jk2silly Linux - Newbie 3 10-20-2003 10:05 AM
Need Directions on how to do this type of Printer install tenraek Linux - Hardware 1 06-08-2003 05:02 PM

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

All times are GMT -5. The time now is 09:13 PM.

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