/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting!
/* ALSO: Don't quote this header. It makes you look lame :-) */
Mike Robokoff wrote:
> I have setup IP Masquerading on a server I have connected to a DSL
> line. eth0 is connected to the router and I have a second machine
> connected to eth1 through a hub. eth0 has a valid static internet IP
> address and eth1 has a 192.168.1.1 address. The second machine has
> 192.168.1.2 for an IP address and can access the internet just fine.
> My problem is the second machine cannot ssh to the first (masquerading)
> machine. Other machines out on the internet can ssh to the first machine
> just fine. There is something causing problems for these 2 machines and
> I have not been able to put my finger on it.
>
> Does any one have any ideas?
>
> Any help is appreciated.
>
> --Mike
what are the symptoms? what does tcpdump say when you
try it?
is ssh accepting connections on the internal interface?
(it would by default). do you have any firewall rules
that might be stopping it? (you'd see log messages in
/var/log/messages). are you trying to ssh to the external
interface instead of the internal interface? (should work
anyway but using the internal interface might be better).
this sounds like the problem with port forwarding not working
when initiated internally but you're not port forwarding. maybe
michael best's masq-demasq patch might help (but it doesn't
sound like that's necessary).
raf
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ --
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]
PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.