Listing 1: A simple socks5.conf
# 1. Server authentication -- if using more complex features of
# Socks5, i.e. kerberos support
# allow any type of authentication
auth - - -
# 2. Route specifiers for the firewall. "Make sure that inside ports
# goes through inside interface (200.1.2.2)"
#route dest-addr dest-port interface
route 200.1.1. - 200.1.2.2
route 200.1.2. - 200.1.2.2
# everybody else needs to go through:
route - - 200.1.3.2
# 3. Access control. Who's allowed to use the firewall, and for
# what? We'll allow everybody from the inside to do anything they
# want, but you could be as specific as you wanted.
# action auth command src-addr dest-addr src-port dst-port userlist
permit - - 200.1.1. - - - -
permit - - 200.1.2. - - - -
# explicitly deny everybody else
deny - - - - - - -
# End of File
|