return to first page linux journal archive
keywordscontents

Listing 2. Socks5 Server Config File, /etc/socks5.conf

# A Socks5 Config file for a dual homed server
# other examples at 
# http://www.socks.nec.com/v5examples.html
# The internal network is the 192.168.50 Class C
# network
# The 111.222.333.1 should be a valid IP address
# on the Internet
# Route lines are of the form:
# route hostmask portmask interface
auth - - -
route 192.168.50. - 111.222.333.1<\n>	
route - - 111.222.333.1
permit - - 192.168.50. - - -