[NCLUG] setup for ssh on two nics

Michael Milligan milli at acmeps.com
Fri Jan 26 00:37:23 MST 2007


Kevin H. Olson wrote:
> Greetings.
> 

[prologue deleted]

>>route -n
> 
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 71.237.54.207   192.168.12.1    255.255.255.255 UGH   0      0        0 eth1
> 192.168.32.0    192.168.10.102  255.255.255.0   UG    0      0        0 eth0
> 192.168.12.0    0.0.0.0         255.255.255.0   U     0      0        0 eth1
> 192.168.10.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
> 169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth1
> 0.0.0.0         192.168.10.1    0.0.0.0         UG    0      0        0 eth0
> 
> The 71.237.54.207 is one machine that is supposed to be able to connect via ssh on 69.15.85.68. 
> 

What does tcpdump show for port 22 traffic on eth1 when you try to ssh in?

There could be any number of problems.  Based on your description of the
setup, you shouldn't have to worry about iptables or forwarding through
the box.  If tcpdump just shows unexpected addresses, then NAT
(somewhere) is your problem.  If nothing (or only one direction) shows
in the tcpdump, then routing (or firewalling via iptables) is your problem.

Regards,
Mike

-- 
Michael Milligan                                   -> milli at acmeps.com
Acme Professional Services LLC                        970-581-9948



More information about the NCLUG mailing list