<- JonDo: Commandline Table of Content JonDoConsole for Window, MacOS ->

JonDoDaemon für Debian, Ubuntu und Linux Mint

For all of you who do not like those fancy GUIs we have a console client. JonDoConsole may be operated by command line interface or remotly by telnet interface. Like JonDo it acts as a proxy and will forward the traffic of your internet applications to the mix cascades and hides your IP address.

Installation

You may install the Debian package jondodaemon_all.deb from our software repostitory or you may download it from the download page and install it by hand. The package contains 3 wrapper scripts and the Java application JonDoConsole.jar:

Software requirements:

For installation by hand you have to install the required packages with the package manager of your distribution first. Afterwards you may download the jondodaemon package and signature, verify the signature and install the package: > sudo aptitude install default-jre-headless java-wrappers rlwrap
...
> wget https://anonymous-proxy-servers.net/downloads/jondodaemon_all.deb
> wget https://anonymous-proxy-servers.net/downloads/jondodaemon_all.deb.asc
> gpg --verify jondodaemon_all.deb.asc
   gpg: Signature made ...... using DSA key ID 2B3CAA3E
   gpg: Good signature from "JonDos GmbH"
...
> sudo dpkg -i jondodaemon_all.deb

A: Run JonDoConsole

If you did not need a daemon but only a GUI-less console client, you may run "jondoconsole":

JonDoConsole Screenshot

Short explanation of some commands:

You may use JonDonym for free, but free mix cascades are restricted in some cases. Full speed and anonymisation features you will get only with a premium account. You may buy a coupon code at the webshop der JonDos GmbH and use the command coupon to create a premium account: JonDoConsole> coupon
Please enter a coupon code or type to skip.
JonDoConsole:code> C72FA880A38E992A

Alternatively you can import premium accounts from your JonDo (GUI) configuration or from a backup file. Use the command import: JonDoConsole> import
A JAP/JonDo configuration file was found at the path '/home/xxxx/.jap.conf'.
Would you like to import from this config file (c) or do you want to
manually (m) specify another path for importing your accounts? Type <ENTER> to skip.
JonDoConsole:choose (c) or (m)> m
JonDoConsole:file> /home/xxx/account.acc

If a premium account is available, JonDoConsole uses only premium cascades by default. Free services are not used for "switch" and not listed by "choose". You can modify the list of cascades used by JonDoConsole editing the blacklist with the command "blacklist".

B: Run JonDoDaemon in background

You can run JonDoConsole as daemon in background by using the wrapper script jondodaemon. You can start and stop the daemon and check the status (running or not running). > jondodaemon start | stop | status

It is possible to control the running daemon in background by using the remote controler interface. The remote control interface is a simple Telnet interface. To enable the remote control interface 3 steps are required:

  1. First set the password for remote control. Use a password with at least 10 characters (upper and lower case) and numbers. Only strong passwords will be accepted. Stop jondodaemon first, if it was running! > jondodaemon passwd
    JonDoConsole#password> ************
    Please type your daemon password a second time.
    JonDoConsole#password> ************
    Exiting...

  2. Afterwards edit the configuration file "/etc/jondo/jondodaemon.conf" or "$HOME/.jondoconsole/jondodaemon.conf" (overrules the global configuration) and enable the remote control port: NABLE_CONTROL_PORT="yes"
    CONTROL_LISTEN_ADDRESS=localhost
    CONTROL_LISTEN_PORT=4004

  3. Now you can start the daemon again. You may run remote controler application to connect to the running daemon (see below). > jondodaemon start

C: Run JonDoDaemon as system service

You may run JonDoDaemon as a system service by using the Sys-V-Init script: > sudo service jondodaemon start | stop | status

Hint: In this case only the configuration files in "/etc/jondo" are used. All settings and premium accounts you were using by running "jondoconsole" or "jondodaemon" doesn't appear here. You have to connect with a remote controler application (see below) to the running daemon and import the premium accounts again or copy the configuration file "$HOME/.jondoconsole/jondoconsole.conf" to "/etc/jondo".

You may start the jondodaemon at boot time as a system service. Insert the Sys-V-init script into boot sequence by: > sudo insserv jondodaemon

You can remove the start of JonDoDaemon from boot sequence by: > sudo insserv -r jondodaemon

For laptops and netbooks it is not a good solution to start the daemon at boot time. Time by time you may be not connected to network. JonDoDaemon tries and tries and tries... to connect to the mix cascades and will reduce your battery operation time. You can start JonDoDaemon if a network connection was established by the following shell script "jondodaemon" in "/etc/network/if-up.d": #!/bin/sh
set -e
[ "$IFACE" != "lo" ] || exit 0
/etc/init.d/jondodaemon start

Stop the Daemon with by the following shell script "jondodaemon" in "/etc/network/if-down.d" if the network connection was closed: #!/bin/sh
set -e
/etc/init.d/jondodaemon stop

Make both scripts executable: > sudo chmod +x /etc/network/if-up.d/jondodaemon
> sudo chmod +x /etc/network/if-down.d/jondodaemon

It is possible to control a running JonDoDaemon system service by using the remote controler interface. You have to set a password for remote control and enable the remote control port in the configuration file "/etc/jondo/jondodaemon.conf".

  1. First set the password please. Use a password with at least 10 characters (upper and lower case) and numbers. Only strong passwords will be accepted. Stop jondodaemon first, if it was running! > sudo service jondodaemon stop (only if JonDoDaemon was running)
    > sudo service jondodaemon passwd
    JonDoConsole#password>
    Please type your daemon password a second time.
    JonDoConsole#password
    ...

  2. Afterwards edit the global configuration file "/etc/jondo/jondodaemon.conf" and enable the remote control port: ENABLE_CONTROL_PORT="yes"
    CONTROL_LISTEN_ADDRESS=localhost
    CONTROL_LISTEN_PORT=4004

  3. Now you can start the daemon again. > sudo service jondodaemon start

Remote control of a running daemon

If the daemon is running with remote control enabled, you can connect it via telnet to log in with your password and you can interact like JonDoConsole. A suitable telnet client is part of JonDoConsole. You can start it simple with: > jondodaemon control
Please enter the daemon password or type 'break' to cancel.
JonDoConsole#password> *******
You are logged in...
JonDoConsole>

Because the remote control interface is a simple telnet interface, you may connect with other telnet clients too.

Enable proxy usage for outgoing traffic

If it is necessary for you to use a proxy for outgoing traffic, you can enable it in "/etc/jondo/jondodaemon.conf" or "$HOME/.jondoconsole/jondodaemon.conf". For usage of HTTP proxies you have to set: USE_PROXY="yes"
PROXY_HOST=server.tld
PROXY_PORT=8080

Authentication for proxies is supported. You can enable it and config the username and password: USE_PROXY_AUTH="yes"
PROXY_USER="username"
PROXY_PASS="password"

For usage of SOCKS5 proxies you have to add a "s" after the proxy port: USE_PROXY="yes"
PROXY_HOST=server.tld
PROXY_PORT=1080s

Change listener interface

By default JonDoDaemon will listen on localhost port 4001. To change the listener interface you can set the following variables in "/etc/jondo/jondodaemon.conf" or "$HOME/.jondoconsole/jondodaemon.conf": LISTENER_ADDR=11.22.33.44
LISTENER_PORT=4004

If you were using JonDoDaemon on a router to serve more than one user, please keep in mind: it is not designed for this purpose. JonDoDaemon can serve only 3-4 user at the same time.

 

<- JonDo: Commandline Table of Content JonDoConsole for Window, MacOS ->