All Questions
66
questions with no upvoted or accepted answers
4
votes
0
answers
1k
views
ssh port-forwarding and remote bind failure: ExitOnForwardFailure not working?
I have two FreeBSD 9 hosts and I want to maintain a tunnel to reach firewalled host R from a high port on cloud host C.
ssh -y -i tunnel_id_rsa -o ConnectTimeout=60 -o ServerAliveInterval=20
-o ...
3
votes
0
answers
405
views
Can’t access my Mac’s SSH port outside of my home network. Forwarding rule is set. What might be wrong?
As the title said, I am trying to set my mac as a ssh server. My mac's local IP is 192.168.0.21 and my external IP (router IP) is 98.202.108.***. I went to the sharing and enabled the Remote Login. ...
3
votes
1
answer
1k
views
Port forwarding for ssh on raspberry pi
I need some help troubleshooting my problem. I am trying to ssh into my pi from a non lan pc. I have port forwarded before and did not expect it to be this difficult. Here is what I have done:
1: Set ...
2
votes
0
answers
407
views
Problems in SSH to 2 of my VirtualBox VMs (for mininet setup)
I'm trying to set up a Mininet environment with SDN setup, each under a separate VirtualBox VM(mininet@mininet and media@odl) (using this tutorial- pretty strait forward). First adapter in VMs by ...
2
votes
0
answers
152
views
Network connections immediately closed when connecting to home server from home
My SSH and VNC connections freeze a few seconds after they get established when I connect to my home Linux computers from home using their external IP addresses. Everything works fine when I connect ...
1
vote
0
answers
328
views
Can't access my Node.js server with external IP address
Here are the steps I've gone through to setup my server.
I've bought an Orange Pi 5, installed Debian from their website and started to configure it.
I ordered static IP address and in Firewall/...
1
vote
0
answers
131
views
How to make a device visible to the internet?
[moved here from Network Engineering SE]
I realize this is a simple question that is likely answered on various SE forms but I can't seem to ask it in a way that gives me the information I need, so ...
1
vote
1
answer
1k
views
Cannot access SSH from WAN even though server itself is reachable
I have a server in my local network that I use for work over SSH. I have no issue connecting to it from LAN. The issue comes when I try to connect to it from outside. I've set up Port Forwarding for ...
1
vote
0
answers
636
views
dropbear local port forwarding: "channel 2: open failed: connect failed:"
I've got dropbear v2019.78 running on a custom embedded linux 2.6.28.10, on an ARM9
And, I'm trying to setup local port forwarding from my Ubuntu 16.04 desktop (using telnet just for testing):
ssh -...
1
vote
1
answer
1k
views
OpenWRT port-forwarding doesn't work for me
I'm trying to forward a few ports to a server that I run, mainly port 80, 443, and 22. Right now I'm just trying to get a single port forward working but no dice. The firewall on the server accepts ...
1
vote
0
answers
378
views
Strange slow down of TCP connection on X11 forward
I have a home computer H (Linux), a work computer W (Mac OS X), and a public server S (same Linux as H) with IP 11.22.33.44.
As H and W are all behind NAT, I use autossh to connect them both to S and ...
1
vote
0
answers
461
views
Open port for reverse ssh tunnel
I have opened a reverse SSH tunnel from machine A (Windows) sitting behind a NAT to machine B (Ubuntu) on port 4000. I can access my service running on machine A from machine B at the address ...
1
vote
1
answer
1k
views
SSH into device attached to another router
I saw this questionwhich looks kind of related, but I'm not sure as the answers are too confusing.
Basically, I want to SSH into my Raspberry Pi from my laptop. Eventually I want to have the Pi ...
1
vote
0
answers
291
views
Cannot Forward Port 22 to Local Machine
Cross-Posted from askubuntu on the recommendation of a user there. I am having trouble setting up my server running Ubuntu 16.04. I have installed openssh, set up my router to forward port 22 to the ...
1
vote
0
answers
1k
views
Port forwarding between tp-link and mikrotik to server cant access mikrotik
My customer has this setup
TP-Link TD-8840T (ISP connection) -> RB2011UiAS-2HnD-IN (the main router that divedes all the traffic).
The RB2011 has a ip address 192.168.1.100 (connected to tp-link ...
1
vote
0
answers
592
views
I can connect to my SSH server but cannot browse the internet
I have setup an ssh server on my windows 8.1 system as well as port forwarding on my home router and from inside and outside of the network I can login on my macbook using the command ssh -D 8080 user@...
1
vote
0
answers
701
views
Port forwarding from router to machine in LAN not working
I have a domain, and am attempting to serve my website from a local machine. Port forwarding on my router does not seem to be working. Here is how I have it set up up, and what I've tried to narrow ...
1
vote
1
answer
1k
views
Reverse SSH tunnel - Fails on Certain Ports
I'm trying to forward very specific ports using a reverse SSH tunnel. MachineA is the target machine (the one the command is being run from) and MachineB is the tunnel (the one SSH is connecting to ...
1
vote
1
answer
119
views
DDNS on raspberryPI connected to mac shared internet
Disclaimer - I understand that many of my problems could be solved by hooking up the pi straight to the router, but I've really become interested in solving this problem.
My setup:
DD-wrt cisco ...
1
vote
0
answers
246
views
SSH on Ubuntu with Port forwarding
I am a newbie to networking, so need some help to understand if what I am doing is right:
I have a VM which hosts a Ubuntu guest OS with an internal IP: 192.168.15.6
I have setup an ssh server on ...
0
votes
0
answers
42
views
What should remote IP be in configuring port forwarding
My server is running locally on port 7000. I want to access it remotely using public IP. I want to create a port forwarding what will be the below fields should look like given in the picture.
0
votes
1
answer
32
views
SSH timeout over WAN
I have an openssh server set up on my homelab that I want to be able to connect to remotely. I have forwarded the port and tried to connect to it on LAN using the public ip of my homelab. However I ...
0
votes
0
answers
89
views
SSH Connection timed-out connecting to a VM via port-forwarding on Windows11
I am on an issue since a while, getting urgent, and not super confident in the Windows sphere. I have a desktop at work that functions as my test desktop. To try software, etc, I installed Hyper-V and ...
0
votes
0
answers
45
views
setup up ssh connection with 3 Ubuntu machines to bypass a firewall
I have 3 machines, here are the IP addresses of each of them with their ssh port :
first device IP: 192.168.1.2
second device IP" 192.168.1.3 port 22822
third device IP: 192.168.1.4 port 22
I ...
0
votes
0
answers
73
views
Virtualbox Port-Forwarding Does nothing when SSH connection is attempted
I recently created an Ubuntu 22.04 VM with virtualbox. Its network setup consists of a Host-Only Network & and a NAT. I recently set it up to allow ssh connections on the private network through ...
0
votes
3
answers
194
views
Start port forwarding between two remote machines from a third computer
Suppose I have a computer compute_mine. I have ssh access to two remote computers compute_remote_1 and compute_remote_2. I would like to forward a port from compute_remote_1 to compute_remote_2. ...
0
votes
0
answers
46
views
SSH forwarding not terminating on server upon client hard reboot
I have a server with SSHD to which I connect with remote SSH client using the command (on startup):
while true
do
ssh user@server -N \
-o "ServerAliveInterval=60" \
-o &...
0
votes
0
answers
85
views
ssh from external ip address not working
I am trying to ssh into my wsl from a remote machine.
I have setup the ssh forwarding from Windows to wsl. I can now ssh into my wsl through my internal IP address 192.168.2.101
I have setup the ...
0
votes
0
answers
197
views
OpenSSH client: disable warning when X forwarding fails
For OpenSSH clients, X forwarding may be configured for all connection to any SSH server, as follows, in ~/.ssh/config:
ForwardX11 yes
Some servers are not configured for support of X forwarding, ...
0
votes
1
answer
1k
views
Failed to connect to port when trying to use SSH remote forwarding
I am learning how to do SSH remote forwarding and I am trying to practice that using two virtual machines on my computer. One is runs Kali and hosts an apache web server configured to listen on port ...
0
votes
1
answer
2k
views
Port Forwarding for a local SSH Server (RouterOS)
I have just finished setting up my home SSH server and It's working nicely, all I need to do now is make it publicly available so I can access it when I'm on another network, now sounds simple enough ...
0
votes
0
answers
551
views
Cannot connect to SSH over internet but can through LAN
I am trying to configure a raspberry pi zero w so that my group and I can connect to it remotely. I have done this a few times before, but have recently hit a snag.
I have set up SSH to be listening ...
0
votes
1
answer
173
views
Make my machine open to internet through VPS
So currently what I have as follow:
Private IP
A Windows local machine I have full access for
An Amazon free-tier VPS that I have full access
So as you know the AWS Free Tier has a public IP on it, ...
0
votes
0
answers
93
views
Accessing (SSH and Ping) clients between two routers' networks
I have two TP-Link Archer C1200 routers, both with different network ranges, and one of them is connected to the ISP's internet and the other is connected with the first using dynamic IP. I want to be ...
0
votes
0
answers
103
views
Trying to Port forward ssh and it stoped working today
I am trying to setup a ssh access to pi outside of my router and I bought a real IP from my ISP and it started working yesterday but today morning it suddenly stopped again.
Idk what else to provide ...
0
votes
1
answer
3k
views
SSH 'No route to host'
I've scoured the internet for a solution to my problem but I've so far had no luck. I'm currently trying to set up SSH on a clean Ubuntu 18.04 machine.
Running ssh [email protected] returns
ssh: ...
0
votes
0
answers
246
views
SSH port forwarding breaks the original port?
I have a device configured to use port forwarding via ssh to allow access remotely. This works fine, except that for most of the forwarded ports the host seems to now refuse direct connections with ...
0
votes
0
answers
2k
views
SSH port forwarding a UDP port from Windows
I discovered the possibility of forwarding ports through SSH after I sticked up with port forwarding which didn't work out because my provider has DS Lite.
Using ssh -R 8080:localhost:8080 <...
0
votes
0
answers
196
views
SSH Port Forwarding on a Linksys EA7500 - how would I go about setting it up?
Trying to setup SSH ability to an Ubuntu 19.10 server....
I have an EA7500. I need to know what to put for start/end port and device ip#. Local IP is 192.169.1.142. For context, here's a link to the ...
0
votes
2
answers
1k
views
freenas sshd port forward open failed: administratively prohibited
I have a freenas server with an ssh port open to the internet.
I want to access a server within the network the nas is in, so I used an ssh port forward like this: ssh -N -L 8080:host:80 root@freenas....
0
votes
2
answers
2k
views
Problems connecting to server (ssh, no route to host)
I have a home server that's been working fine for the past few months. For the network configuration, I've assigned it a static IP, and various ports have been forwarded, e.g. 22, 80, 8080, 443, 5904, ...
0
votes
1
answer
755
views
SSH Tunnel from Work local server to Home computer
We have server at the office that I can access it only from the local wifi just by ssh into it: [email protected] . Also if I type 192.168.111.111 in the browser, it will show me the phpmyadmin ...
0
votes
0
answers
2k
views
configure bitvise ssh server for port forwarding (ssh tunnel)
I remember to setup an ssh tunnel, it requires to enable the "GatewayPorts" and "AllowTcpForwarding" of sshd_config file on the linux host where ssh server is installed.
I wonder do I need to do the ...
0
votes
1
answer
1k
views
Transparently bypass proxy to access to certain domains over SSH
I'm working in a setup of a big company that has dozens of firewalls and a big proxy server. From time to time I need to access some services that are in isolated networks and I have access to the ...
0
votes
0
answers
2k
views
Cannot SSH into server within local network using public IP
I have set up port forwarding for my network to be able to ssh into my server from outside the network (let's say external port 10122 maps to internal port 22 for 192.168.1.101).
Let's say my ...
0
votes
0
answers
3k
views
SSH local port forwarding hangs while connecting
I'm trying to establish local port forwarding, but I have come across two difficulties:
When using the ssh -vL 1083:127.0.0.1:22 akveton2@cms904usr -N
command, I get this error:
bind: Cannot ...
0
votes
1
answer
1k
views
SSH Port forwarding with Bash on Windows
I've recently migrated from Mac OSX to Windows 10 and am getting an error when attempting to mirror the ssh local port forwarding setup in my ~/.ssh/config file as follows:
host myhost
HostName ...
0
votes
1
answer
1k
views
How to access my server from an external network?
I have a local network and my router has a dedicated IP, inside my network there are several computers and one of them is my windows server. I want to access my server from outside this network ...
0
votes
1
answer
298
views
ssh port forwarding two routers
[moved from StackExchange, where I posted by mistake]
Not sure how to debug this one...
Router 1 forwards wan xyz to the wan address of Router 2, xyz, which is then forwarded to host 22:
Router1:...
0
votes
1
answer
651
views
Can't SSH to Pi from outside my LAN
I am having trouble establishing an SSH connection to my Raspberry Pi 3 from outside my LAN.
Configuration
I have dynamic DNS setup using No-IP and it works perfectly for my Ubuntu 16.04 server.
...