Menu

Netlib Proxy

Tobias Boese

Netlib Proxy

Abstract: This page describes the Netlib Proxy command line tool that can be used to connect any kind of application to a Netlib NetLayer implementation.

Introduction

  • it is very easy to use [Netlib] to create different kind of communication server, e.g. a Socks proxy server
  • a generic proxy server class org.silvertunnel.netlib.tool.NetlibProxy is available which can connect every [NetLayer implementation] to a listening server socket

    • to run it as Socks4/5 proxy server on port 1080 to access the Tor network we can use the predefined NetLayer with ID "socks_over_tor_over_tls_over_tcpip" and execute

      java org.silvertunnel.netlib.tool.NetlibProxy 127.0.0.1:1080 socks_over_tor_over_tls_over_tcpip

    • or use the start_NetlibProxy.sh script, which also includes setting of the correct CLASSPATH

Example: Connect Mozilla Firefox Browser to the Tor Anonymity Network using Netlib

  • start proxy server on Windows on command line:

    cd netlib
    start_NetlibProxy.bat

  • start proxy server on UNIX/Linux/MAC OS X on command line:

    cd netlib/
    ./start_NetlibProxy.sh

  • many log messages will be written to the console - you can ignore them all

  • configure your Mozilla Firefox Browser to route all network traffic via a Socks5 proy server on localhost (127.0.0.1) port 1080:
    • menu edit/preferences
      • advanced/Network/(Connection) Settings...
        • enable: Manual proxy configuration
        • SOCKS Host: localhost Port: 1080
        • enable SOCKS v5
        • OK
  • if you browse now all network requests are routed through the Tor anonymity network

Top: [Netlib], Up: [Netlib Tools], Next: [Netlib Best Practices]


Related

Wiki: Netlib Best Practices
Wiki: Netlib Check Network Connectivity
Wiki: Netlib Command Line Tools
Wiki: Netlib Howto Start
Wiki: Netlib NetLayer
Wiki: Netlib Tools
Wiki: Netlib

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.