Sign In
New User? Register
linux_chandigarh · Linux_Chandigarh_Chapter
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
You can set the sort order of messages? Just click on the link in the date column. Your preferences will be remembered, so you don't have to do it again when you return.

Messages

  Messages Help
Advanced
[Help Reqd] Proxy Server   Message List  
Reply | Forward Message #357 of 927 |
Re: [linux_chandigarh] [Help Reqd] Proxy Server

Dear

1. First of all your Internet proving server
"192.168.0.1" should be configured as router.

2. You have to decleare gateway 192.168.0.1 in your
machine, which you have done.

After that you should be able to telnet, traceroute,
ssh remote host on the internet from your linux
machine. traceroute is interesting.

As I told you, you will not be able to ping from the
client machine below your linux machines to other side
of the network segment, since you are on "unconnected
ip network" of IP numbers. 192.168... are non
routable. If you still want to ping, you have to
define routes "to and from" other segments, since the
linux kernel do not create routing map for unconnected
ip numbers.

So the ping is not test of your setup, only try
traceroute, and nslookup from the client on network
192.168.10.xxx


your rest of the setup seems ok.

amit
9876229933

--- vipin singla <look_vip@...> wrote:

> Hello Everyone!
>
> I am facing the problem in configuring proxy server
> from a few day in RHEL 4. I don't know wat m i
> missing. Here i am telling you the details of my
> situation.
>
> I hav two ethernet cards in my PC which is to be
> configured as proxy server.
>
> Our main server IP is 192.168.0.1 from where the
> internet connection is coming to my PC.
>
> Now on my linux PC which i want to configure as
> Proxy i am alloted one ip address i.e. 192.168.0.36.
>
> My configurations are :
>
> eth0
> IP : 192.168.0.36 (IP Address
> alloted to me)
> netmask : 255.255.255.0
> gateway : 192.168.0.1 (IP address of
> the main server from where internet
> connection is coming to me)
>
> eth1
> IP : 192.168.10.1 (New Series i
> want to start)
> netmask : 255.255.255.0
> gateway : 192.168.0.36 (IP address of
> eth0)
>
> i hav edited the /etc/squid/squid.conf file making
> following entries.
>
> visible_hostname vipin
> http_port 3128
> acl group src 192.168.10.1-192.168.10.254 (at the
> last of all acl's)
> http_access allow group
>
> Now to the client PC i hav given the IP address
> 192.168.10.2
>
> Client PC is pinging to 192.168.10.1 and
> 192.168.0.36
> but not to 192.168.0.1 and is not able to open any
> site except the one hosted by me on 192.168.10.1.
>
> I have disabled the firewall.
>
> Now i don't know wat m i missing. Any suggestion???
> Plz help me.
>
> Thanks
>
> Vipin Kumar Singla
> PH. 09888273320
>
> UIET
> Panjab University, Chandigarh
>
>
>
>
> ---------------------------------
> Yahoo! DSL Something to write home about. Just
> $16.99/mo. or less


Send instant messages to your online friends http://in.messenger.yahoo.com



Wed Jan 4, 2006 5:23 am

amittal123
Offline Offline
Send Email Send Email

Forward
Message #357 of 927 |
Expand Messages Author Sort by Date

Hello Everyone! I am facing the problem in configuring proxy server from a few day in RHEL 4. I don't know wat m i missing. Here i am telling you the details...
vipin singla
look_vip
Offline Send Email
Jan 3, 2006
12:24 pm

Seems your server side settings are OK. Make sure you restarted squid daemon after any configuration changes. Have you provided the appropriate values in the...
Singh, Navdeep
ns_asr
Offline Send Email
Jan 4, 2006
4:00 am

Well Navdeep Thanx a lot for replying. I hav restarted squid. even i hav rebooted my Linux machine and squid is on startup services also. it starts...
vipin singla
look_vip
Offline Send Email
Jan 4, 2006
8:28 am

Dear 1. First of all your Internet proving server "192.168.0.1" should be configured as router. 2. You have to decleare gateway 192.168.0.1 in your machine,...
Amit Mittal
amittal123
Offline Send Email
Jan 4, 2006
5:23 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help