[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Proxy Server Problems



Hello again,
    I have a problem. I have two networks 192.168.1.0 and 192.168.2.0,
they have a router joining them. What I want  to do is put a proxy
server on one network (192.168.1.0) and have machines on both networks
have access to the Internet.
    Can anyone tell me which proxy server to use. I've tried using SOCKS
and it lets the machines on the 192.168.1.0 network communicate with the
internet, but machines on the other network do not get out. I get
messages like:

Sep 30 14:09:26 debian sockd[5075]: Error in socks_GetDst: No such file
or directory; from host 192.168.2.2
Sep 30 14:10:07 debian sockd[5076]: connected -- Connect from
SSL(unknown)@192.168.2.2 to debian.bermudez (1080)
Sep 30 14:10:07 debian sockd[5077]: error -- wrong version (0x47) from
host debian.bermudez.
Sep 30 14:10:07 debian sockd[5076]: terminated -- Connect from
SSL(unknown)@192.168.2.2 to debian.bermudez (1080).
Sep 30 14:10:07 debian sockd[5076]: 414 bytes from 192.168.2.2, 0 bytes
from debian.bermudez

However I can ping and telnet from network to the other. The 192.168.1.0
network can get mail and all other net services I need but nada from the
192.168.2.0 network.

Socks route file - router are at x.x.x.13
# routes for sockd
#
# IP of interface destination netmask for destination
# eg: 10.0.0.254 10.0.0.28 255.255.255.255

#new lines
192.168.1.1  192.168.2.13     255.255.255.255
192.168.1.13  192.168.2.13     255.255.255.0

#original line added first
192.168.1.1  0.0.0.0  0.0.0.0

Socks conf file
# Replace 'my.domain' below with your own domain name before using.
# Make sure you retain the leading period.

#deny ALL  0.0.0.0  .my.domain  0.0.0.0

#permit my.domain  0.0.0.0 ALL  0.0.0.0
permit  ?=n 192.168.0.0  255.255.0.0  ALL 0.0.0.0

Thanks all
Bill

ps I think that route file looks fishy



Reply to: