> socks server allows users on the protected network trancparent access to
> servers on the Internet
provided the user runs a socks-ified client .An idial host for a firewall
ia a dual-homed host with one connec
tion to Internet and other to you local network .You need two interfaces eg
dual-up connection to network and nic to you local net
1)again you need two NIC installed (
2)go to ftp.redhat.com and download package socks5-server*
3) rpm -i socks5-server
4) if you install redhat 5.1 you have apache web server installed , to
check it ( ps ax | grep httpd )
5) edit file /etc/httpd/conf/httpd.conf ( take comment out in this
line #ProxyRequests On) and
restart apache /etc/rc.d.init.d/httpd stop /etc/rc.init.d/httpd
start
6) then you go to cd /usr/src/linux and type make menuconfig
take out option forwarding under network configuration in kernel (you
don't need this for security reason)
and recompile kernel
7) go to your second computer and configure netscape or microsof explorer
to use proxy server
eg IP 192.168.1.2 and port 80 for http ( netscape has biult in client
library)
8) you also can use some rule to put in file /etc/socks.conf which allows
you to keep control over incoming
and outgoing pacets (read documentation on it)
Socks approach to bild firewall has some advantage and disadvantage over
masquerading
I am acctiauly using debian distribution . at this time we have package
socks4 .
procude to install the same
if you going to install apache web server from sourse file it is
nessasaryly to compile apache to support
socks put this in your Configuration file EXTRA_LIBS =-L/usr/libs
-lsocks