I want to connect computer1 and compute2 through SSH
connection model looks like below
Code: Select all
computer 2 -> (LAN 192.168.1.1 ) router 2 (WAN 192.168.0.2)-> (LAN 192.168.0.1) router 1 -> Internet
(192.168.1.100) |
computer 1
(198.168.0.100)
to be able to freely jump between them.
Here are 2 screens, two units to, two routers, two mouses and two keyboards, we have kind of LAN party around, and we (me and all other eventual LAN party members) enjoy it so far.
on both machines
Code: Select all
$ sudo service ssh status
[sudo] password for mq:
[ ok ] sshd is running.
being on computer2,
I can connect with IP address to router1 and router2,
i can ping computer1 but by ssh i get timed out
Code: Select all
ssh user@address
ssh: connect to host address port 22: Connection timed out
i cannot ping router2, i cannot connect to router2 (yes: WAN address),
i cannot ssh user_comp2@comp2_addr
Firewall has to be strong here!
Is there any trick with Forwarding i should know about?
How can i check on MX, if I allow ssh traffic on computer 1/2 beside 'sudo service ssh status'?
Thanks
(ps : is it safe that i put here all those data?)