Re: Zebedee and two differend tunnels.

Tom Sneddon <zebedee-list-4XgCj7/[email protected]> Tue, 13 Dec 2011 23:21:26 -0500
Newsgroups gmane.comp.security.zebedee.general
Message-ID <[email protected]>
Josef,

I too am using a different Zebedee process for each server that I tunnel 
to and it works fine.  I've included server and client configuration 
examples below.  These are derived from a working tunnel.  Maybe you 
will find a clue to your problem by looking at a working example.

Please report back to the mail list what eventually solves the issue.

Thanks,
    Tom Sneddon


Here's an example server:
-------------------------
verbosity 2          # Slightly more than basic messages.
detached true        # Detach from the command line console.
server true          # Yes, it's a server!
serverport xxxxx     # Listen on this port.  Need hole in firewall.
ipmode both          # Operate in mixed TCP/UDP mode
compression zlib:9   # Allow maximum zlib compression
keylength 256        # Allow keys up to 256 bits
keylifetime 36000    # Shared keys last 10 hours
maxbufsize 2048      # Default is 8192.  16384 dorks up zebedee.
keygenlevel 2        # Generate maximum strength private keys
checksumlevel 3      # Allow maximum strength checksums
minchecksumlevel 0   # Allow no checksums if client requests
# This file should be readable by the user running Zebedee
# but no-one else.
include '/path/to/private.key'
checkidfile '/path/to/clients.id'
# Do not specify any redirects to allow all ports to be redirected.
# we'll only tunnel these specific ports
redirect 22           # SSH
# We'll only tunnel these specific ports
target xxx.xxx.xxx.xxx:22/tcp    # SSH
# The following line ensures that the default target host
# is the local machine. The last named host becomes the
# default so leaving this here ensures that "localhost" is,
# the default unless overridden on the command line.
target localhost

Here's an example client:
-------------------------
detached false       # Detach from the command line console
server false         # No, I'm a client.
ipmode both          # Operate in mixed TCP/UDP mode
multiuse true        # Allow multiple connections
listenip 127.x.x.x   # Only allow connections from this machine
serverhost server.my.domain  # Where is the server listening?
                              # Needs DNS. Inside/outside.
serverport xxxxx             # Port that zebedee talks on.
tunnel yyyyy:xxx.xxx.xxx.xxx:22  # SSH
compression zlib:9           # Allow maximum zlib compression
keylength 256                # Allow keys up to 256 bits
keylifetime 36000            # Shared keys last 10 hours
maxbufsize 2048              # Default is 8192.  16384 dorks up zebedee.
include '/path/to/private.key'   # The client's private key
checkidfile '/path/to/server.id' # To validate the identity
                                  # of the server
keygenlevel 2        # Generate maximum strength private keys
checksumlevel 3      # Allow maximum strength checksums
minchecksumlevel 0   # Allow no checksums if client requests


On 12/06/2011 05:37 AM, Josef Karliak wrote:
> Hi there,
> I'm tunneling telnet thru zebedee tunnel, I need now another tunelling
> for MSSQL (that uses udp) and target is different too. I made some
> configs (port, target, ...) changes into a different config files
> (client and server of course), in init startup scipts changed names of
> config and "/var/lock/subsys/zebedee2". But : when I start second
> tunnel, first telnet tunnel is down, both port of the "serverport" are
> avaible, so sockets of zebedees are open.
> So where I made a mistake ?
> Thanks and best regards
> J.K.
>
>
>
> ------------------------------------------------------------------------------
> Cloud Services Checklist: Pricing and Packaging Optimization
> This white paper is intended to serve as a reference, checklist and point of
> discussion for anyone considering optimizing the pricing and packaging model
> of a cloud services business. Read Now!
> http://www.accelacomm.com/jaw/sfnl/114/51491232/
>
>
>
> _______________________________________________
> Zebedee-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/zebedee-talk

------------------------------------------------------------------------------
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits? 
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/