nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Squid Proxy Server

This is a discussion on Squid Proxy Server within the Linux software forums, part of the Linux Getting Started category; Hi everyone, I read a lot of posts in here about squid proxy server, and I tried to setup my ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 05-19-2007, 04:31 AM
Member
User
 
Join Date: May 2007
Posts: 56
Rep Power: 2
lacloai is on a distinguished road
Default Squid Proxy Server

Hi everyone,

I read a lot of posts in here about squid proxy server, and I tried to setup my own proxy server. Here is what I got.

O/S: SuSe10. IP 192.168.1.146(static internal IP from my linksys router). This is a Proxy Server with version of 2.XX.... It's running on port 3128, and there is only i NIC.

On my squid.conf, I configure NCSA-style username and password authentication. That means all my client machines with the browsers configured to use my proxy server have to enter username/password before they can go to any web sites.

However, some people(unauthorized user living next to me still access to my linksys router and browse the Internet. What I guess is because their web browsers(I.E, firefox, netscape) are not configured to use my proxy server. That's why they(A/U) can straight go to the Internet without needing to log in.

My question is, how to configure proxy server, maybe firewall, or anything that force all client machines must use my proxy server before connecting to the Internet? By doing this, all unauthorized users can't browse using my network or they have to contact me for username/password. What I guess is to forward port 80 to 3128? If so, how to do that? I am very new to linux. Please walk me through. Thank you very much.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-19-2007, 06:18 AM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 581
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

Hi there,

Login to your linksys router - Block access to everyone except to 192.168.1.146 (Linux/squid IP).

Now user can not browse internet and they will ask you about new proxy
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
  #3 (permalink)  
Old 05-19-2007, 01:49 PM
Member
User
 
Join Date: May 2007
Posts: 56
Rep Power: 2
lacloai is on a distinguished road
Default Please help

Thanks a lot for your reply. However, by blocking everything except 192.168.1.146(proxy server) on my linksys router, that means no machines can browse. Keep in mind that a machine must have an IP address before they can talk on the network. So, I don't think blocking everything except .1.146 works for this case because they can't talk to my proxy server. Does that make sense? I mean a machine must be in the network before it can communicate.

I think the way it should work for my case is configure SuSe10 firewall/iptables so that it can forward port 80(web) and 21(ftp) to port 3128 of proxy server. The thing is how to do that? What I want is unauthorized users will have to configure proxy on the web browser to talk to my proxy server. That will promt them to enter username annd password to access my network. Please help.
Reply With Quote
  #4 (permalink)  
Old 06-02-2007, 11:19 PM
Member
User
 
Join Date: May 2007
Posts: 56
Rep Power: 2
lacloai is on a distinguished road
Default Webcam on Yahoo

I got my squid proxy server up and running on SuSe10 with user authentication. Everything works like a charm. However, when I tried to view webcam on yahoo messenger from my friend, it's saying "sorry, you appear to be behind a firewall and are currently unable to use yahoo webcam..."

I know that yahoo webcam is using TCP port 5100, and I can't figure out how to make it work. Do I have to open port 5100 in proxy server ? If so, how? Please helppppppppppppppp. I will send million of thanks if anyone can help me with.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Squid Proxy server on Linux basha Getting started tutorials 0 03-12-2008 03:16 AM
Restrict number of simultaneous proxy connections in SQUID proxy pkvmreddy Getting started tutorials 1 06-15-2007 04:52 PM
Access yahoo messenger voice and webcam via squid proxy server lacloai Linux software 3 06-05-2007 11:24 AM
Problems With SQUID Proxy rcordeiro Linux software 25 01-04-2007 02:39 PM
Squid Proxy bubloob_13 Linux software 4 12-04-2006 12:26 AM


All times are GMT +5.5. The time now is 09:19 PM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36