Description
SOCKS is a proxy server that allows TCP based application data to relay across the firewall, even if
the firewall would block the packets. The SOCKS protocol is independent from application
protocols, so it can be used for many services, e.g, WWW, FTP, TELNET, and others.
At first, an application client connects to the SOCKS proxy server, then the proxy server looks in its
access list to see whether the client is permited to access the remote application server or not, if it is
permitted, the proxy server relies the packet to the application server and creates a connection
between the application server and client.
Notes
Remember to configure your application client to use SOCKS version 4.
You should secure the SOCKS proxy using its access list and/or firewall to disallow access from
outisde. Failing to secure the proxy server may introduce security issues to your network, and may
provide a way for spammers to send junk mail through the router.
Additional Documents
• Information about SOCKS
SOCKS Configuration
Description
In this section you will learn how to enable the SOCKS proxy server and do its configuration.
Property Description
connection-idle-timeout ( time ; default: 2m ) - time after which idle connections are terminated
enabled ( yes | no ; default: no ) - whether to enable or no the SOCKS proxy
max-connections ( integer : 1 ..500 ; default: 200 ) - maxumum number of simultaneous
connections
port ( integer : 1 ..65535 ; default: 1080 ) - TCP port on which the SOCKS server listens for
connections
Example
To enable SOCKS:
[admin@MikroTik] ip socks> set enabled=yes
[admin@MikroTik] ip socks> print
enabled: yes
port: 1080
connection-idle-timeout: 2m
max-connections: 200
[admin@MikroTik] ip socks>
Page 544 of 695
Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.
Other trademarks and registred trademarks mentioned herein are properties of their respective owners.