Complicated routing/SSH-FTP tunneling problem

Lowell Gilbert freebsd-questions-local at
Mon Jun 2 14:00:22 PDT 2003

Daniela <dgw at> writes:

> On Sunday 01 June 2003 23:51, Lowell Gilbert wrote:
> > Daniela <dgw at> writes:
> > > I have the following problem:
> > >
> > > I'm running a FreeBSD SSH server.
> > > Some clients can't connect to it. They are on a local network, connected
> > > to the internet through another server. This second server used to allow
> > > SSH login, and users could then connect to my server from the second
> > > server.
> > >
> > > On the second server, SSH login isn't allowed any more. It won't route
> > > any requests to the outside, except for mail. The FTP port is open,
> > > however. I heard it is possible to create a tunnel over FTP, so the
> > > clients could still get to my server.
> > >
> > > How could we do this (if it is possible)? Are there other ways?
> >
> > You need some kind of cooperation from the other server.
> > It sounds like you're trying to get around security precautions of the
> > other server, but if that's not the case, you ought to work this out
> > with the administrator of the other server.
> This is not possible, the admin won't let them out.
> This is because of high loads on the network. He doesn't care if only a few 
> people connect out.
> > You can't create an IP tunnel over an FTP server; at least, not using
> > any FTP server software I know well...
> The clients run Linux. Isn't it possible to get around this by routing their 
> reqests? They would only need to set the default gateway.

I may be misunderstanding you here, but I think that you're trying to
make an ssh connection into a system that isn't running sshd at all.
That won't work, obviously.  You *can* run sshd on the ftp port if you
want, but you still have to run it.

More information about the freebsd-questions mailing list