SSH port forwarding and Webmin
Eric Toll
etoll at vipstructures.com
Mon Jul 12 09:36:28 PDT 2004
> -----Original Message-----
> From: owner-freebsd-newbies at freebsd.org
> [mailto:owner-freebsd-newbies at freebsd.org] On Behalf Of Eddie
> Sent: Monday, July 12, 2004 11:23 AM
> To: freebsd-newbies at freebsd.org
> Subject: SSH port forwarding and Webmin
>
> I have webmin installed on a brand new installation of
> FreeBSD 5.2.1. I tunnel port 10000 to my localhost and
> connect to wemin like this:
>
> http://127.0.0.1:10000
>
> I always connect to webmin this way, with all *nix machines I admin.
> This does not seem to work with FreeBSD 5.2.1. It does work
> out of the box for other versions (4.7 and 4.8 at least) of
> FreeBSD though. Is there some rule somewhere preventing port
> forwarding in 5.2? Here's my netstat output:
>
> bsd3c# netstat -nat
> Active Internet connections (including servers)
> Proto Recv-Q Send-Q Local Address Foreign Address
> (state)
> tcp4 0 0 192.168.1.19.22 69.91.145.220.46031
> ESTABLISHED
> tcp4 0 0 127.0.0.1.25 *.*
> LISTEN
> tcp4 0 0 *.22 *.*
> LISTEN
> tcp6 0 0 *.22 *.*
> LISTEN
> tcp4 0 0 *.10000 *.*
> LISTEN
> udp4 0 0 *.10000 *.*
> udp4 0 0 *.514 *.*
> udp6 0 0 *.514 *.*
>
> webmin is running and listening on port 10000 as it's
> supposed to, and I can connect to webmin on the localhost
> with links. The sshd config file gives no indication that
> tunneling is disabled, and it has not been modified in any way.
>
> I would be glad to hear what anyone's thoughts are on this.
>
> Eddie
>
Perhaps the router/NAT device will allow you to forward 10000 to 22, and leave the FreeBSD default.
More of a workaround than a solution. Only thought I had.
(can someone help me with my question?)
Eric
More information about the freebsd-newbies
mailing list