Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am currently running 64-bit Windows 7 from my home laptop and I would like to establish an SSH reverse tunnel to my laptop from my work Ubuntu 64-bit machine. I have been reading many "tutorials" that have led me nowhere and I feel as though I'm chasing my tail now. I have done the following on my Ubuntu machine:
ssh -R 19999:localhost:22 laptop_ip
and on my Windows machine, using putty, did the following:
I am able to access my Ubuntu machine when on my work network but there I have been unsuccessful when it comes to trying to remotely access it. I have tried everything that I can think of (though I am a novice). If there is any help/suggestions/ideas that could help, please let me know and don't hesitate to ask for more info! Thank you in advance!
p.s. I would also like to enable x-forwarding, but for now I would like to have remote access to the Ubuntu machine.
it sounds like you want to connect to a workstation at your office from your house.
It also appears that you have been able to connect to your own sshd from localhost (your workstation).
You may want to look at local filtering rules in iptables. Also, if your behind a router at your office there is a good chance that port 22 is filtered / blocked.
YOu will need to speak with admin for your office network to see if thats the issue. the same thing goes for your home connection, check your router/modem to see if it is blocking traffic to port 22.
there is a good chance that port 22 is filtered / blocked.
Thank you! It turned out that my firewall on my windows machine was blocking the port 22. I fixed it by:
Control Panel > System and Security > Windows Firewall > Advanced Settings > Inbound Rules (top left of window, found in left column) > New rule (Top right of window, in left column) > port > Specify Port (in my case, port 22) > Allow Connection > name (whatever you feel like) and it worked!
Unfortunately I haven't been able to get the reverse tunnel to work, but this is one problem down!
# So, this assumes that your connection will originate from a client on the laptop behind the home router.
# This DOES not allow for connections from WORKSTATION to LAPTOP
I guess I should have specified in my original post, I would like to establish a reverse tunnel to get around the firewall that my work pc is behind (which doesn't allow incoming connections). In that case, wouldn't the work computer have to establish the connection to the laptop?
While I am sure others here will be able to give you solution, I am un able too. I dont know how to have sshd ( workstation ) initiate a connection to a client ( laptop ). You might try googling for it. However, if the individual in charge of the network does not wish to have this traffic and you find a hack/workaround and get caught....bad juju.
Distribution: Debian PPC/i386/AMD64 6/7, Vista, XP , WIN7, Server 03/08
Well I do not condone getting around installed safeguards on your company network, from a theory standpoint I would say that your options would be to run the SSHD daemon on a port that is allowed through the firewall or run an SSH server on your home machine, I believe that the reason it is not working is because you do not have an SSH server running one the computer you are connecting to.
With all of that said why don't you ask your IT guy about VPN access, or ask your boss about it. If everything is on the up and up then this shouldn't be an issue to ask about it.