How to set source address for outgoing SSH?

2004-09-28 Thread Daniela
Hi list!

I have some problems with an outgoing SSH connection to a machine on my LAN.
Connections from the clients to the server work, but not vice versa.
The server has two NICs and the connection should normally go through the 
inside interface, but the connection is initiated with the address of the 
outside interface instead. As a logical consequence, my firewall (which is 
running on the server) drops the response, with my outside address being 
shown in the firewall logs as source for the request, and my inside address 
being shown as destination for the response. The output of sockstat(1) shows 
the inside address being used as expected.
I already examined the routing tables, to no avail. What else should I check?

Regards,
Daniela

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to set source address for outgoing SSH?

2004-09-28 Thread Kevin Stevens


On Tue, 28 Sep 2004, Daniela wrote:

 I have some problems with an outgoing SSH connection to a machine on my
 LAN. Connections from the clients to the server work, but not vice
 versa. The server has two NICs and the connection should normally go
 through the inside interface, but the connection is initiated with the
 address of the outside interface instead. As a logical consequence, my
 firewall (which is running on the server) drops the response, with my
 outside address being shown in the firewall logs as source for the
 request, and my inside address being shown as destination for the
 response. The output of sockstat(1) shows the inside address being used
 as expected.

man ssh, look at the -b (bind) option.

KeS
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to set source address for outgoing SSH?

2004-09-28 Thread Daniela
On Tuesday 28 September 2004 17:42, Kevin Stevens wrote:
 On Tue, 28 Sep 2004, Daniela wrote:
  I have some problems with an outgoing SSH connection to a machine on my
  LAN. Connections from the clients to the server work, but not vice
  versa. The server has two NICs and the connection should normally go
  through the inside interface, but the connection is initiated with the
  address of the outside interface instead. As a logical consequence, my
  firewall (which is running on the server) drops the response, with my
  outside address being shown in the firewall logs as source for the
  request, and my inside address being shown as destination for the
  response. The output of sockstat(1) shows the inside address being used
  as expected.

 man ssh, look at the -b (bind) option.

I already tried this, but it doesn't work. I guess this option is just to 
actually transmit the packages over the respective interface, but not to 
adjust the source address written into the packages.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]