473,396 Members | 2,002 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

SSH over internet (WAN)

bilibytes
128 100+
Hi there,

I was wondering if there is a way to connect to a machine through the internet knowing the WAN IP and the LAN IP.

I would like to know if a command like:

Expand|Select|Wrap|Line Numbers
  1. ssh username@WAN-IP:LAN-IP
exists.

How would you perform that.

I was googleing around and it looks like it is not possible. I found people saying that if you had the WAN IP you had to have the remote local-network redirect all requests to a single machine.

Maybe concatenating the wan and the lan would allow the router to forward the request.

If you have any suggestions please let me know

Thank you,

Regards


Bilibytes
Apr 2 '09 #1
2 3919
DonRayner
489 Expert 256MB
If you are connecting across a true WAN that means that the two machines are already on the same network. You should be able to connect from one to another just using the machines IP address.

If you are trying to connect from outside the network then the Router that you are connecting to will have to redirect your connection request to the internal IP of the machine you are attempting to connect to. Without this "Port Forwarding" setup you will not be able to see any of the internal ip address.
Apr 3 '09 #2
NeoPa
32,556 Expert Mod 16PB
What's the status of the remote machine Bili?

If it's behind a firewall (that's blocking the traffic) then there is no way, regardless of how you tell it to connect.
Apr 13 '09 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Stefan Mueller | last post by:
I've just installed phpMyAdmin. If I have the line $cfg = 'http://localhost/php/phpmyadmin'; in my config.inc.php I can login to phpMyAdmin without any problems from my local machine. But it's...
3
by: le_mo_mo | last post by:
I was wondering if any body has used Internet as a WAN (Wide Area Network) to provide database access. I know about web services but I like to experiment with using Internet as a extended network...
2
by: bbxrider | last post by:
is there no other way to use access(.mdb) across the internet?? (than vpn or worse yet terminal services) i'm trying to write to a mdb on my organization win2k server from my webhost redhat...
10
by: Daven Thrice | last post by:
I have a database that needs to be replicated over the Internet. I was hoping it would be a simple task, but apparently it is not. I've started browsing the msdn article on the topic. In the...
56
by: Raphi | last post by:
Hi, I've been using an Access application I wrote for an office with the front-end stored on all computers and the back-end on one of them serving as an Access file server. Now we're moving...
11
by: scorpion53061 | last post by:
I have been asked to come up with a way to make a instant message program that will allow our outside customers by clicking on a name in a drop down menu can IM who they want. THe application I...
8
by: Bob | last post by:
I'd be pinging for 24 hours at 3 second intervals. Are there any IP addresses out there that exist just for pinging, if not, would it be considered rude to pick a major site such a google? Or -...
11
by: kiln | last post by:
I am starting a project that may be suitable for vb.net, using windows forms. I want a rich client, thus win forms vs web forms. Most users will access the app data over a LAN, but some will be...
1
by: starmonche | last post by:
Hey guys this is a Linux networking question and I've not had any luck with getting it solved yet. ra0 (192.168.1.90) connects to roommate's wireless router for internet eth1 (192.168.8.1) feeds...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.