0
votes
0answers
9 views

Port forwarding does not work [migrated]

I am connecting to office network through VPN. I have two servers A and B. I have ssh/tomcat access to A through VPN but not to B. When I ssh into A, from there I can ssh into B. Also, B is running ...
-1
votes
0answers
72 views

No route to host: I can SSH to myself via the IP my router assigns me but not to myself via the IP my ISP assigns me [migrated]

I'm positive this question has been answered somewhere else but I'm not sure what to search for. (I'm trying things like "telnet ubuntu ssh daemon unable to connect".) I can SSH into 10.0.0.9 I can ...
0
votes
1answer
65 views

Can access server using both LAN & WAN IP from LAN, but no access outside of LAN

I have a server running ArchLinux at home called SERVER. Currently, I can gain access to this machine via SSH by issuing ssh user@SERVER from another computer that is connected on the same LAN. It ...
1
vote
3answers
340 views

SSH remote port forwarding failed

Follow-Up: It looks like the rapid series of disconnects coinciding with a few months of running each server is probably coincidental and just served to reveal the actual problem. The reason it ...
0
votes
1answer
65 views

Apache2 reverse proxy connections staying persistent, filling ssh channels

I have a webserver (Amazon Linux EC2 instance running Apache2), let's call it "server A", on which I have set up reverse proxy using: # (All the appropriate modules are loaded higher up in the conf ...
2
votes
1answer
80 views

sshd not responding to port forwarded connection request

I'm setting up port forwarding on a SonicWall NSA 220 router, for port 22. It appears that the router is forwarding TCP packets as it should. However, Wireshark running on the server shows that my ...
0
votes
2answers
81 views

SSH to server port forwarding through router

Hi so we have multiple machines on our network running ssh on port 22, because of this we set up port forwarding in the router as 22->22 for one of the machines and 222->22 on the other machine. The ...
2
votes
0answers
51 views

SSH port forwarding to a host that needs to contact a third named host to access MySQL

We customize and support standard web applications that our customers host on managed servers from different web hosters. Usually, the application consists of a web application in PHP and a database ...
0
votes
2answers
98 views

Stunnel multiple ports through the same Port

I'm looking for some help regarding an stunnel configuration I'm working on. Basically I want to have a DMZ machine accept inbound connections to port 80 and 110, and then forward them through my ...
0
votes
2answers
261 views

How can i forward the http and ssh port to my internal server using iptables

I do not have the router so i make the Linux system into router having centos 6.4 for forwarding the Public network traffic to my local LAN.It has the two NIC card. one for public ip (eth1) and ...
0
votes
1answer
80 views

SSH tunnel chaining

I've found the solution here. http://chrisjordan.ca/post/15052405906/chaining-ssh-tunnels. Why is this answer right? Are the connections between A, B, C, D, E encrypted? From what I understand only ...
-1
votes
1answer
36 views

Converting 'ssh -R' to 'ssh -w'

I use ssh remote port forwarding like this: ssh -R $PUBLIC_IP:80:127.0.0.1:80 The local server on 127.0.0.1:80 sees connections as coming from 127.0.0.1. Is there any way at all, hacky or not, to ...
2
votes
0answers
120 views

Unable to force passphraseless ssh authentication while port forwarding

I'm completely at a loss as to what is preventing my local machine from authenticating the connection that is being forwarded from the remote server. I've read a ton of the posts on here regarding ...
2
votes
2answers
472 views

Unix Shell/SSH config to allow TCP port forwarding without showing a command prompt

I'm running a Debian Linux. I'd like to have a user account that is able to connect via SSH for TCP-forwarding only, without a command prompt. e.g the following would work (from a remote computer): ...
1
vote
4answers
90 views

Vps to laptop ssh tunnel

I have a laptop that I use mostly as a desktop but occasionally it moves networks. I have a vps with a static address and I want to forward ports from the vps to the laptop so that I can get to the ...
2
votes
1answer
371 views

VPC SSH port forward into private subnet

Ok, so I've been racking my brain for DAYS on this dilema. I have a VPC setup with a public subnet, and a private subnet. The NAT is in place of course. I can connect from SSH into a instance in the ...
-1
votes
2answers
419 views

Accessing a host's SSH tunnel from a guest VM in VMWare Fusion [closed]

I have VMWare Fusion running on my OS X host and I have a Windows 8 Pro guest VM running. On my host I have an SSH tunnel open on port 1010. The SSH tunnels works great from OS X Safari once I set the ...
0
votes
1answer
69 views

Forwarding to firewalled web server over reverse SSH

I have a server running NGINX on local port 80 within my corporate NAT. From any remote box, I am able to setup a reverse SSH connection and connect to the firewalled box on port 22. Here's what I've ...
0
votes
4answers
206 views

ssh to local network behind a public IP (TCP forwarding)

I want to connect (using ssh) two remote computers in a local network using a unique public IP X.X.X.X. | HOST_A---------| 172.1.1.2 | _____________ ...
2
votes
1answer
180 views

SSH RemoteForward notify client on failure

I am using SSH to forward a port on a remote machine (Client) to another machine (Server) using (~/.ssh/config) Host Client: Hostname {ip} ... RemoteForward localhost:{port} localhost:{port} ...
1
vote
1answer
156 views

SSH proxy and remote port?

Sample : [[Server]] has two interfaces : iface1 and iface2 ; iface1 only listens SSH iface2 only listens HTTPS (my target) Only [[SSHProxy]] is authorized to connect to [[Server]]:22 diagram : ...
2
votes
1answer
438 views

Removing port forwardings programmatically on a ControlMaster SSH session

Quite a while ago I got an answer telling me how to add a port-forwarding on a running SSH ControlMaster process. To know that helps a lot, but I'm still missing a way to remove such a port forwarding ...
0
votes
1answer
257 views

What's the best way to forward traffic on a specific port to another machine?

The setup I have is this: [client01] <-A-> [server01] <-B-> [server02] client01 can access port 9300 on server01 (connection A). server01 can only access port 9300 on server02 ...
0
votes
1answer
701 views

SSH: Port Forwarding, Firewalls, & Plesk [closed]

I edited my SSH configuration to accept connections on Port 213, as it was one of the few ports that my work firewall allows through. I then restarted sshd and everything was going well. I tested ...
3
votes
1answer
2k views

Use iptables to forward ssh

i found several tutorials on how to do it, but got none of them to work :/ My setup: FIREWALL - reachable from the internet - eth0: xxx.xxx.xxx.xxx (public ip) - eth1: 192.168.1.1 SERVER - ...
-4
votes
2answers
96 views

How to access an IP address as if on a different network using SSH [closed]

In preparation for a lengthy business trip, I set up my router such that I can access my home computer over the internet via port forwarding over SSH. One thing I neglected to do was setup access to ...
0
votes
2answers
514 views

SSH not working through Double NAT

I am trying to setup port forwarding for ssh through 2 NATs The first Router translates my internet IP to my outer network (10.1.7.0). In the outer network there's a second Router that does NAT to my ...
1
vote
1answer
60 views

Using port forwarding to log into remote mysql server

I would like to import a local file into my remote mysql database, which is residing on ec2. How would I accomplish the following: $ ssh -i ~/.ssh/my_key.pem user@ip $ mysql -u root localhost [ ...
3
votes
2answers
592 views

Workarounds for probable TIME_WAIT issue preventing reestablishing broken SSH tunnels?

While not intending to cross-post, after sending this question to the OpenSSH list on SecurityFocus, I noticed that the list is rather low traffic (the previous post was approximately 5 months prior). ...
4
votes
1answer
5k views

SSH Reverse Port Forwarding with PuTTy - how to specify bind address

Using Putty, I have set up a reverse proxy which allows me to connect on port 8080 of the server at server.tld to port 80 of the machine which initiated the SSH connection. The server allows me to ...
1
vote
1answer
243 views

SSH port forwarding, forward port over VPN

The scenario: I have a Linux laptop (linuxlaptop) There's a piece of software that I develop that access a web service https://ws.behind-vpn.com that is behind a Cisco AnyConnect VPN. I cannot ...
2
votes
1answer
147 views

Port forwarding

I have a local machine which has SSH access to Server1. Server1 has access to Server2 with Tomcat running on port 5050. How can I can connect to that Tomcat on port 5050 on my local machine in the ...
1
vote
0answers
1k views

Port Forwarding through VBox NAT for SSHing from Host to VirtualBox Guest Not Working

Despite the tremendous amount of work that VirtualBox has put in to make this process easier, I really just cannot get it working properly. The goal: To be able to run a headless VirtualBox VM, which ...
2
votes
1answer
237 views

SSH Port Forwarding -D not working anymore

I have a virtual server in the US. When I first set it up I was able to use dynamic port forwarding with ssh -D PORTNUMBER serveraddress After that I could set up Firefox to use that as SOCKS5 ...
2
votes
2answers
452 views

IPTables + SSH dynamic port forwarding = BLOCKED

IPTables is running on my web server. I really need SSH dynamic port forwarding, but my IPTables DROP any INPUT/OUPUT connection, only allow some ports. For FORWARD chain, I wrote these rules: Chain ...
0
votes
2answers
284 views

Is there a way to automatically forward ports over SSH upon a user successfully logging in?

I've looked around Google for a solution to this problem and I may be horribly over-complicating it. All I'm looking for is a way to automatically forward certain ports as soon as a user logs in. ...
2
votes
1answer
89 views

Can I change the port for SSH on a hosted server?

I am changing over to a hosted server and I want to use non-standard ports for SSH. Is this possible? Wouldn't I have to have access to the router, in order to forward ports?
4
votes
3answers
1k views

Forward SSH through SSH tunnel

My situation : Me(localhost) -> Server A(ip:100.100.100.100) =>(server B(ip:192.168.25.100),server....) i'm able to SSH into server since it has a true ip if i then want to connect to server b, i ...
4
votes
1answer
2k views

Remote access to internal machine (ssh port-forwarding)

I have a server (serv05) at work with a public ip, hosting two KVM guests - vtest1 & vtest2 - in two different private network - 192.168.122.0 & 192.168.100.0 - respectively, this way: ...
3
votes
3answers
1k views

Problems configuring an SSH tunnel to a Nexentastor appliance for use with headless Crashplan

Problem I am attempting to configure an SSH tunnel to a NexentaStor appliance from either a Windows or Linux computer so that I can connect a Crashplan Desktop GUI to a headless Crashplan server ...
1
vote
3answers
523 views

forward port 3306 from firewalled machine to desktop using SSH?

Here's the network setup: Machine A (my PC) SSH 22 => Machine B (Linode with root access) SSH 21343 => Machine C (MySQL server). I want to forward port 3306 from C through B to A, so I can use SQL ...
0
votes
1answer
238 views

Any free service to redirect a port to some address? [closed]

I have a server where I would need to connect, but I can't do it on the standard method due to the network settings, so I was guessing if it exists some service or daemon that could bind the SSH port ...
0
votes
2answers
612 views

SSH option AllowTcpForwarding is bypassable?

I understand this is used to prevent users from using the server as a proxy. But if the users can use curl/wget, doesn't that mean it's essentially bypassable? The manual page regarding SSH also said ...
0
votes
1answer
151 views

How do I set up port forwarding for ssh traffic?

I have two servers, a web server and an ssh server. Currently I have the web server behind a load balancer, while the ssh server has a subdomain pointed to it. I'd like for it to be possible to ssh ...
2
votes
1answer
227 views

ssh port forwarding is not available (locally) for IP rather localhost only

I have a remote machine at example.com with sshd listening to port 1234 and a web service at port 5678. For some reasons, I want to 'localize' the http requests to that web service. When I execute ...
1
vote
2answers
546 views

Restrict access to specific ports

I launched keep launching EC2 instances and for some reason i keep getting this email and then the server amazon shuts the server down...How do i restrict access to the port in question... here is my ...
3
votes
1answer
283 views

SSH port forwarding with a master channel

I'm trying to set up a reverse port forward over an existing master channel, but it doesn't seem to be working and I'm not sure why. I set up the master channel like so: ssh -MN ...
0
votes
2answers
2k views

How to configure a tun interface on Linux for SSH port forwarding?

I am trying to forward port 139 from a Windows machine to my Ubuntu SSH server on a tun interface with the ip address 10.0.0.1. This is so that I can access the windows shares on the machine on my ...
5
votes
1answer
647 views

Adding port forwardings programmatically on a ControlMaster SSH session

I just found out about the ControlMaster/ControlPath feature of OpenSSH, which allows you to use a single SSH connection to run multiple terminals. As I often use SSH to use port forwarding to get ...
1
vote
3answers
1k views

reverse ssh tunnel from server to laptop

Question I would like to know how to tunnel requests made on a server (debian) to port 80 on my laptop using ssh tunneling. Problem I can open up a tunnel with the following command that does not ...