Port forwarding to listen on designated interface
From: Josh Cole (joshua.cole.au_at_gmail.com)
Date: 04/29/05
- Previous message: Darren Tucker: "Re: Limit commands"
- Next in thread: Darren Tucker: "Re: Port forwarding to listen on designated interface"
- Reply: Darren Tucker: "Re: Port forwarding to listen on designated interface"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 29 Apr 2005 10:22:44 +1000 To: secureshell@securityfocus.com
Hi list.
I'm using the -L option to set up an ssh tunnel to a remote host.
I would like to be able to specify the local network device that ssh
listens on. With the -g option, ssh will listen on the designated
port on *all* local interfaces. Without the -g option, ssh will
listen only on the loopback device. I would like to be able to get it
to listen on a device that I nominate (e.g. a dummy network device, or
a second loopback device).
I know I can achive what I want by using the -g option and using
ipchains to filter out connections on the devices that I don't want to
listen on, but I was hoping there was a neater way.
Thanks in advance,
Josh
- Previous message: Darren Tucker: "Re: Limit commands"
- Next in thread: Darren Tucker: "Re: Port forwarding to listen on designated interface"
- Reply: Darren Tucker: "Re: Port forwarding to listen on designated interface"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|