as Redimondo said, your pc behind the NAT must be the active part, means it must tell you, somehow, how it can be connected.
Then there're sevaral ways to do it.
But does your comapny policy allow this?
Main Topics
Browse All TopicsIs there a way to setup a ssh connection to the pc located behind the NAT that I am not allowed to change the parameters of?
[ Outside -> Nat -> Linux:22 ]
I know it is possible to achieve through the port forwarding feature on NAT server, but I have no access to the NAT server.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
if you want ssh, then you must have your home computer accesable from the internet, and turned on.
then in your computer in your school, issue:
ssh -fNR 2200:ip.on.your.school:22 yourusername@yourhomeipadd
you must have some name to know your computer in your school other than localhost. if you do not have one, edit /etc/hosts and add:
127.0.0.1 localhost yourschoollocalpc
and left it there.
then, from your Linux at home, issue:
ssh -p 2200 yourusername@yourschoolloc
and you will have a shell.
this is just an example. just check the help in ssh.
if the ssh connection goes down, then you must start it again. for that, you can setup a cronjob to check if it is still up, and if not, relaunch it again.
good luck. just don't do any illegal thing with this knowlege.
The command
"ssh -fNR 2200:ip.on.your.school:22 yourusername@yourhomeipadd
did not work.
If I enter it the way Redimido proposed to it gives me a syntax error. I modified it a little bit and I got "ssh -R port1:my.school.ip:22 -N user@ip" but it does not reply for ssh request from outside of a network.
P.S. There is a mandrake 7.2 (I think) installed in school and 9.0 at home. As for the version of ssh I havent had a chance to check that yet. I will try to upgrade it but it could be difficult to do that since it is an old version of linux installed there.
> the linux box behind the NAT must be the active part
Yes. I agree. What I am trying to figure out is how to achieve that.
sinexec:
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Split between Redimido & ahoffmann.
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
troopern
EE Cleanup Volunteer
Business Accounts
Answer for Membership
by: RedimidoPosted on 2002-11-30 at 21:39:52ID: 7516151
only in a reverse way.
like VNC. you put your server sending requests to your external ip, and then in the external ip you launch the client, and they connect.
check this: www.tightvnc.org
vnc works that mode.