473,545 Members | 2,012 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SSH over internet (WAN)

bilibytes
128 New Member
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 3924
DonRayner
489 Recognized Expert Contributor
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,563 Recognized Expert Moderator MVP
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
36996
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 not working from the Internet. To access it from the Internet I have modify the line $cfg = 'http://www.myserver.com/php/phpmyadmin';
3
1774
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 (web server behind one router and database behind another). Any ideas on where to look for this? Thanks
2
7851
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 webserver with perl. then i have an 'inside' application that will connect to the same db with a vb program across the lan, this part is no problem vpn...
10
2119
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 meantime, I am wondering who might be able to host a server on the Internet that meets such requirements. If anybody has had any experience with this,...
56
5911
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 to a 2nd office 15 minutes down the road. Only one office will be open at a time, so theoretically it'd be possible to copy the back-end manually...
11
3301
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 have works after telling my router to forward all communications from Port 5000 to a local IP address that contains the "Socket Server" program. ...
8
5969
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 - let me back up here - is there some other, better way to monitor internet connection stability using .Net? Bob
11
4118
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 remote users, accessing via vpn. I could use terminal services for this but am thinking that an alternate technology like remoting or web servies could...
1
2058
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 shared internet into WAN port of my router eth0 (172.28.201.3) connects to a LAN port of my router computers on my router are 172.28.201.xxx my...
0
7475
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7409
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7664
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7436
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5341
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3463
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1897
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1022
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
715
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.