Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

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 ...
John W's user avatar
  • 1
0 votes
2 answers
398 views

How to forward a port through 2 clients via SSH? [duplicate]

I am trying to access a remote VNC server (say server) via SSH. I am able to do it through one client (say client1): Client 1 (works fine): ssh -L 5901:localhost:5900 server` and then `vncviewer ...
Zhang's user avatar
  • 1
0 votes
3 answers
6k views

How does the SSH client bind to an external IP when it's doing SSH port forwarding

From my basic understanding of SSH port forwarding, the SSH client software opens a listening socket on an IP:PORT, say 185.68.93.141:80. So if I go to my web browser and access somewebsite.com that ...
freejuices's user avatar
2 votes
1 answer
1k views

Can't port forward Ports 443 and 80 on second router /w own static public IP

I am a novice when it comes to networking, I have been banging my head on my desk trying to configure out this network. My theory was to have a block of public IPs to statically assign to individual ...
roid's user avatar
  • 21
0 votes
1 answer
1k views

Multiple NIC routing across different subnets

I have a home network with the standard 192.168.0.xxx available from my DHCP server in my router. I have a system "X", which has a dual NIC: eno1 is tied to the 192 subnet eno2 is statically defined ...
IDLacrosseplayer's user avatar
0 votes
1 answer
452 views

Public IP works but with DynDNS I get an ERR_CONNECTION_REFUSED

Recently I ran into a strange problem... I'm using a Raspberry with Raspbian as a public server behind a private router. I wanted to renew the expiring sslforfree.com certificate manually via HTTP. ...
Severin Bauer's user avatar
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 ...
zaozaoer's user avatar
  • 121
2 votes
1 answer
5k views

How can I block all ports except 22,80,443 to all incoming traffic except localhost?

I want this behaviour: All outside computers can only bind to my server's ports 22(ssh), 80(http) and 443(https). However all localhost apps can bind to any port they want. I have search and this ...
PedroD's user avatar
  • 302
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 ...
Uko's user avatar
  • 101
4 votes
1 answer
8k views

Include remote forwarding in SSH ProxyCommand

So I have 3 servers: server_a: my target server server_b: a jump server server_c: another server Neither server_a or server_b normally have access to server_c at all. However I can use the magic of ...
pca2's user avatar
  • 43
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 ...
rpeck3's user avatar
  • 11
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 ...
Ramsey Bissex's user avatar
1 vote
1 answer
5k views

What's the difference between these two forms of SSH tunnel commands?

I've been using ssh -L in the following format for a long time to connect a locally running web frontend to a remote RPC or HTTP service. ssh -L <local port>:localhost:<remote port> <...
an1lam's user avatar
  • 113
7 votes
4 answers
603 views

problems setting up remote ssh

I've got an ubuntu desktop at home and a mac laptop. I'm trying to set this up so that I can ssh into my ubuntu machine from outside my local network. Here is what I have done so far: (1) I've ...
Pascal's user avatar
  • 121
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 ...
PGT's user avatar
  • 163
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 ...
user129186's user avatar
  • 1,581
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 ...
Manachi's user avatar
  • 185
1 vote
1 answer
5k views

ISP using CGN.. How to port forward ipv6

I finally came to a conclusion that my ISP is using carrier grade NAT. I recently was able to encapsulate my IPv4 to IPv6 using tunnel broker. It was working very fine without any issue. However I ...
shravan sharma's user avatar
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 ...
Said  Saifi's user avatar
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 ...
user avatar
1 vote
2 answers
125 views

On which server should I execute the ssh port forwarding command?

I have a MacbookA, a public serverB(public IP: 1.2.3.4, internal IP: 10.0.0.2), an internal serverC(internal IP: 10.0.0.3) A can connect to B by B's public IP and B can connect to C by C's private IP,...
Sato's user avatar
  • 395
1 vote
2 answers
260 views

Modem is Not Seeing Router -- Breaks port forward

I have a baffling issue. I have a remote client site using Spectrum Business as their ISP, with a static WAN IP. Currently using some Ubee modem, don't know the model. The Ubee modem is in bridge mode ...
nathank1989's user avatar
35 votes
2 answers
147k views

SSH: Troubleshooting "Remote port forwarding failed for listen port" errors

Question: Why does ssh -N -R 2222:localhost:22 <bluehost_user>@<bluehost_ip> result in a "Remote port forwarding failed for listen port" error? The objective is to establish a ...
ngm_code's user avatar
  • 459
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:...
2e0byo's user avatar
  • 1
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 ...
Frank Breitling's user avatar
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. ...
Mithrandir1210's user avatar
0 votes
2 answers
2k views

Can not connect to SSH server on linux

I am running xubuntu 16.04. I am trying to connect to my machine through SSH, from the www. I have tested ssh successfully through lan, so I know the ssh server is running correctly. I then went ...
Scorb's user avatar
  • 636
0 votes
1 answer
49 views

Why would one shot port forwarding fail, but two step port forwarding succeed?

I have a situation where I am trying to reach beta:3000, which can only be accessed through server alpha. If I do the following from my local computer: ssh -fNL 3000:beta:3000 alpha I get "...
Nick's user avatar
  • 577
0 votes
1 answer
145 views

Access ssh of multiple Linux systems(not single)

I have multiple raspberry pi setup up at various places. I want to gain ssh access to them from anywhere through internet. One of the main solution I saw over internet was to use ssh forwarding. I ...
muchumanoj's user avatar
0 votes
2 answers
2k views

Can't connect to Raspberry Pi with external IP in local Network

I set up a port forwarding for my Raspberry Pi to be able to connect from the internet via ssh. When I try connecting to my Pi via internet of my mobile phone it works perfectly. As soon as I try ...
user6825883's user avatar

15 30 50 per page