Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 561  / 3 Years ago, sun, october 17, 2021, 9:50:26

I'm having way too much trouble getting remote tunneling to work. Mainly, just what I need to type into the terminal to get it to work. I understand this is probably a duplicate, but at least that will get me pointed in the right direction.



Here is what I did so far:



1) I went into my Xfinity gateway page and turned on port forwarding.
2) I added both the IPv4 and IPv6 address of my server into the port forwarding setup dialog, along with port 22 for my listening port, whatever that means.
Here is where I am stuck:



What do I write in my terminal to access my server!



Do I write



"ssh username@Router_IP_Address" or "ssh -R (some random thing about port 
22):localhost:(port 22 again for some reason) username@server_ip"


I have been looking for an answer for way too long, and I just need an answer. I have spent 4 years on Ubuntu, and never any problems. This one has been going on for 3 days. Please help me.


More From » networking

 Answers
1

If I'm reading this correctly, you want to connect to your home machine (port-forwarded through your home router) over the internet.



The syntax for this would be (if 123.456.789.00 is your home ip address):



ssh [email protected]


Or if you have a domain name:



ssh [email protected]

[#11253] Monday, October 18, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
mouedi

Total Points: 420
Total Questions: 109
Total Answers: 116

Location: Philippines
Member since Wed, Aug 19, 2020
4 Years ago
;