TCPGate SOCKS

Posted: February 5, 2013 in TCP Gateway

Introduction

The TCPGate SOCKS (tgSOCKS) is a SOCKS4 and SOCKS5 server, it is built using the core modules of TCPGate.  It supports the following features:

  • SOCKS4, SOCKS4a CONNECT and BIND commands
  • SOCKS5 CONNECT, BIND and UDP ASSOCIATE commands
  • Authentication by SOCKS5 Username/Password
  • Authentication by TCPGate white list and black list filtering

64 bit Windows System 

  • For 64 bit Windows system, please follow the steps below
    •  Download and install the Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package MFC Security Update, http://www.microsoft.com/en-us/download/details.aspx?id=26347
    • Configure ODBC System DSN using
      C:\Windows\SysWOW64\odbcad32.exe
    • Stop the Windows firewall because it enables by default and I don’t have time to figure out what ports are required to open, you need to find it out yourself.

Installation of tgSOCKS 

  • Download the tgSOCKS zip file here.
  • Follow the steps below to install the software.
    • Extract all the files into directory c:\program files\tgSOCKS
    • Open Windows Command Prompt, enter the following commands to register the program as Windows Service
      • cd c:\program files\tgSOCKS
      • tgSOCKS -i
    • Open ODBC Setting, create a System DSN called TGSOCKSCFG for Microsoft Access Driver and point to tgSOCKS.mdb which is located in the directory c:\program files\tgSOCKS
    • TGSOCKSCFG
    • Start the Windows Service tgSOCKS
    • Telnet to localhost and port number 14007, enter username tcpgate and password tcpgate01 to access the program console
    • Enter the following command if you want to enable socks4
      • update parameter ss_v4_enabled true
      • Hint: you may experience a lot of traffic from unauthorized machines if you turn on this feature
    • Enter the following command if you want to enable no authentication in socks 5
      • update parameter ss_v5_no_auth_enabled true
      • Hint: you may experience a lot of traffic from unauthorized machines if you turn on this feature
    • Enter the following command to reload the configuration once you have made the change
      • reload
    • Enter the following command in the program console, you will receive debug information.
      • trace on asc
    • Enter the following command to add user
      • add socksuser 
      • Hint: the program will prompt you username, password and full name of the user.
    • Enter the following command to display user information
      • disp socksuser all
    • Enter the following command in the program console, you will get the help message.
      • help

Uninstallation

  • Stop the Window Service tgSOCKS
  • Open Windows Command Prompt, enter the following commands to uninstall the program from Windows Service
    • cd c:\program files\tgSOCKS
    • tgSOCKS -u

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s