I've been playing around with socks 4.2b for a couple days under
Linux, but I'm not having any results. I'm hoping maybe you can point
me in the right direction.
I have two networks, 192.168.11.0 and 198.99.176.0. The linux
box with the sockd can talk to both networks fine.
My problems come up with I try to connect using WS_FTP and/or
Netscape on a Windows PC on the 192.168.11.0 network.
Linux Box
------------------------------------
| |
198.99.176.0 -> |198.99.176.250 192.168.11.250| <- 192.168.11.0
| eth0 tr0 |
------------------------------------
Here's what my configuration files look like:
Script started on Sat Mar 15 18:48:18 1980
[root] test:/usr/local/etc > cat sockd.conf
permit 192.168.11.0 255.255.255.0
permit 198.99.176.0 255.255.255.0
deny 0.0.0.0 0.0.0.0
[root] test:/usr/local/etc > cat socks.conf
deny 0.0.0.0 0.0.0.0 : echo "SOCKS: reject from %S from %u to %z" >> /usr/adm/messages
[root] test:/usr/local/etc > cat sockd.route
192.168.11.250 198.99.176.0 255.255.255.0
Here's a test I used on the linux box. 192.168.11.251 is the Windows
PC...
[root] test:/usr/local/etc > test_sockd_conf root 192.168.11.251 198.99.176.1 te lnet
USER:root, SRC:192.168.11.251, DST:198.99.176.1, PORT:23
Line 1: permit 192.168.11.0 255.255.255.0
==== Checking routing file (/usr/local/etc/sockd.route)...
Line 1: 192.168.11.250 198.99.176.0 255.255.255.0
[root] test:/usr/local/etc > ^D exit
... According to this, it should work....
But, on the linux box, I never get a sockd connection. When I tried
to set nescape to use Socks (192.168.11.250:1080), nothing would happen on
the linux box (according to the logging I'm doing).
HELP!
Thanks,
Dan
---------------------------------------------------------------------------
Chesterfield MO 63005 | ^-- mail me here 1st
---------------------------------------------------------------------------