Re: Alternatives for port forwarding



On 05 Feb 2008 23:02:17 -0600 Todd H. <comphelp@xxxxxxxxx> wrote:

| I think yer onto something at the end. This doesn't sound like a job
| for SSH.
|
| Can you define your connection needs in terms of a user's identity?
| Are you familiar with VPN capabilities? I suspect that an
| appopriately selected VPN solution would be a much better fit for your
| goals than anything based on SSH.

Each user would be in a group. A group would have one or more users.
The distinction of users is so that each can have their own password
and identity for access control and logging. Everyone within a group
can make connections to each other.

I'm not familiar with how (well) SSH handles VPNs. From the docs I see
it is creating a tunnel device. But that would imply managing routing
and such with it. Maybe this is the way to go as it would open up many
things like users having full network capability amongst themselves.
Casual attempts to use this feature via -w have resulted in nothing
happening. I don't see any tunnels or messages about having any or it
not being allowed or failing. Beyond that I am entirely unfamiliar with
it. But even if it worked in clients, it still seems I'd somehow have
to get the tunnel data stream into my program rather than creating a
real tunnel interface on the server end. I did once envision making a
network where 100's of VPN tunnels would converge on a process on one
machine. But security was the big issue and I did not pursue it. I
want to avoid having to making my own security code of ssh can do this.

Right now, ssh can effectively forward stdin/stdout to a program on the
remote end, or it can forward ports to connections made to the remote
end, or tunnel a "tun" interface to one on the other end. What would be
more useful would be a feature to allow the forwarded ports and tunnels
to be passed in to the program started on the remote end. That way the
"tun" interface is created on the client end, but all the packets going
to and from it are handled by the process started on the server end, or
over a connection to a process within that server (but that central
daemon would need a way to authenticate the user by identity to know
which IP address (range) is allowed).

--
|---------------------------------------/----------------------------------|
| Phil Howard KA9WGN (ka9wgn.ham.org) / Do not send to the address below |
| first name lower case at ipal.net / spamtrap-2008-02-05-2331@xxxxxxxx |
|------------------------------------/-------------------------------------|
.



Relevant Pages

  • Re: What is The SSH?
    ... Building and Using SSH Tunnels ... What is an SSH tunnel? ... how to use it to make a connection to a server. ... You will need a working SSH client and server installation to build and test ...
    (microsoft.public.windows.server.networking)
  • Re: IPSec VPN into XP Pro
    ... This page has more information concerning the XP VPN... ... As far as SSH is concerned, I just think its a whole lot easier for home users like myself to setup ... a few consumer grade routers and the problems encountered getting a PPTP tunnel through them... ... > tunnel and set up secure redirections via command line. ...
    (microsoft.public.windowsxp.work_remotely)
  • SSH TCP forwarding: works with v1, not with v2 ssh
    ... that they're setting up the tunnels with no problem, ... I can get to the work ssh daemon: ... debug1: Connections to remote port 65002 forwarded to local address palimpsest:22 ... something answers (if I get "connection refused" there's no listener); ...
    (FreeBSD-Security)
  • Re: SSH TCP forwarding: works with v1, not with v2 ssh
    ... >that they're setting up the tunnels with no problem, ... >I can get to the work ssh daemon: ... > debug1: Entering interactive session. ... > Connection closed by foreign host. ...
    (FreeBSD-Security)
  • Re: sftp over two connections
    ... from there I log onto LIN and I can work on the console. ... > X tunneling works as well, and I tunnel additional ports to control ... > connection be tunneled through SSH so that I could mount LIN's ...
    (comp.security.ssh)