Port forwarding is a process consisting in the translation of a host:port couple into another host2:port2 couple, both submitted to the same network mask.

learn more… | top users | synonyms

1
vote
0answers
27 views

iptables - Map port on the host to a port in a Docker container

I am running a Docker container inside AWS Elastic Beanstalk, running Amazon's 'Amazon Linux', which I believe is a CentOS derivative. In my development environment, I'd like to enable debugging on ...
1
vote
1answer
39 views

Proftpd doesn't answer to “PASV” command

I've been trying to configure my FTPS server which is behind NAT. so I've opened ports 20, 21 as well as 2120-2180 in my NAT (TCP+UDP) and configured proftpd to use this ports for passive ...
-4
votes
2answers
77 views

How do I remotely connect to my iMac from another server? [closed]

I want to ssh my iMac at home from my MacBook when I'm away, but I can't figure out how to ssh when I'm not on the same local network. I have configured my iMac to accept ssh through the "Remote login"...
4
votes
1answer
35 views

ssh dynamic port forwarding and tcpdump shows cleartext

I'm trying to encrypt my web traffic using SSH dynamic port forwarding in case I happen to be in moot places such as internet cafes, hotels and so on. On my laptop I installed an SSH server and ...
3
votes
1answer
32 views

Raspbian - Apache server not accessable over the internet

First of all: I'm a n00b regarding networks and Linux and stuff :) Here is my problem: I want to use my raspberry pi as a webserver. I installed and configured apache and enabled port forwarding on ...
1
vote
1answer
23 views

Can't get docker to forward ports

I've been following a tutorial to try and learn docker, however, for some reason I can't seem to access any of the ports it's meant to be opening. For some reason it just times out. Where can I look ...
1
vote
1answer
37 views

tcp tunnel inside local network with iptables and bridge involved

I want to configure outside and inside forwarding rules to behave the same way, and simplified problem that i have with 'inside part' is like this: if i have compA - eth0 192.168.0.1 compB - br0 ...
1
vote
0answers
29 views

Firewalld forwarding between zones not working

I have a centos 7 kvm hypervisor running multiple VMs that are configured to use NAT networking. These VMs run their services, of which ssh is the most important for administration purposes. I would ...
0
votes
0answers
58 views

Multiple Tomcat Containers using Docker

I need a machine to run 2 BPM engines for comparisom. I'm running Camunda BPM in port 8080 so I want bonita to answer in port 8081 on the same host. I've installed the appliance with the following ...
1
vote
1answer
31 views

Raspberry Pi port fowarding redirecting to wrong local IP

I'm attempting to host a website from home using a Raspberry Pi with this tutorial. After following all of the instructions and finally testing the result by entering the NoIP address in my browser, I ...
1
vote
1answer
49 views

Setting up port forwarding on router for reverse SSH tunnel

My home PC is behind NAT but my router has static ip address. My work PC uses 3G stick for Internet (So I guess it is like being behind NAT). I would like to create a reverse SSH-tunnel to connect to ...
3
votes
1answer
192 views

What ports need to be open on a firewall to access the internet?

Let's say as the example that I have a firewall that blocks ALL ports from all sources/destinations. What ports would I need to open to be able to successfully run: ping google.com ...and are ...
0
votes
0answers
23 views

Question about SSH tunneling

Consider this scenario. I have network manager on Server (S) and a network machine (N) both in a different network."N" can only be accessed via VPN..... .My laptop (L) is in the same subnetwork of ...
1
vote
1answer
90 views

lxc container <-> external internet, what I missed?

I have Ethernet on my machine (enp0s10) that connected to real network, and I have lxcbr0 Ethernet bridge which gather lxc containers. And I want to make available one of lxc containers. So I wrote: ...
2
votes
1answer
146 views

Redirect secondary network interface traffic along with port forwarding to tun0 (OpenVPN) using iptables

I have a NAS server which I should do port forwarding for it in order to make its services accessible from internet. However my ISP is blocking ports, so I've managed to buy myself a cheap Ubuntu VPS ...
1
vote
2answers
80 views

Trying to run rsync between two remote servers via reverse port forwarding with ssh key

I'm trying to run an rsync between two servers. I'm basing things off of this post: How to rsync files between two remotes? What I find missing is how to facilitate the rsync (via ssh) when a key (...
3
votes
1answer
133 views

Tunneling multiple ports through a single port [duplicate]

I'd like to forward several ports from my local machine to a remote machine through SSH tunneling. However, I want this to happen across a single port. Is there a protocol or tool that can multiplex ...
0
votes
0answers
11 views

Can I use UFW to replace the job of a router to route port connections to my applications?

I was on AT&T and had a router and always had to setup port forwarding for a few applications, like Qbittorrent etc. Not tht im on Time Warner Cable all I have is a modem and a switch and im ...
0
votes
0answers
166 views

Iptables Port Forwarding is not working for Host Only Network. What am I doing wrong?

Host OS Ubuntu with live(public) IP address 1.2.3.4 . And a Ubuntu VM running in Virtual Box with Host Only and NAT network configuration. Configuration of both network cards are according to this ...
0
votes
2answers
45 views

How to find out the service name, that is required for a SRV record?

Im pretty new to Linux so here is my question: Is there any command or any other way (exept googling) to find out the service name that is required for a SRV record (port forwarding? I am using a ...
0
votes
1answer
124 views

Forward ALL incoming HTTP requests to one of two servers based on subdomain?

I have two Debian Jessie servers. One is my home server that I use for personal/hobby stuff, the other is my development server for work. For arguments sake lets say... Personal: 1.1.1.1 ...
1
vote
0answers
160 views

Cannot connect via ssh to server with global IP address

I have the no-ip service running on my raspberry pi, it updates the DNS (no-ip) whenever there is a change to it's IP address. I have enabled port forwarding on my router (Asus rt-n66u) ports 22 &...
1
vote
0answers
43 views

BeEf Famework Kali-2 configuration

I am running Kali-2(rolling 1 latest) in Vmware workstation 12. I have forwarded my ports and am using NAT. The beef framework links only seem to work within the local network. Any specific reason? ...
1
vote
0answers
39 views

How can I temporarily map a remote host and port to a local port?

Say I have a machine A acting as a router with two NICs and the following IP addresses: eth0: 192.168.1.1 (LAN) eth1: 10.0.0.1 (WAN) And I have another machine B on IP address 10.0.0.2 that I want ...
1
vote
2answers
72 views

How do I use a SSH tunnel as a alternative to port forwarding?

I want to use SSH as a alternative to port forwarding to use my RDP server from the outside as my ISP's router does not allow port forwarding. Here's what I have in mind: A - client connecting to the ...
0
votes
1answer
58 views

I'm setting up an IRCd on My VPS. How do I open up the normal IRC ports?

As the title states, I'm trying to get my IRCd running on my VPS. I have everything set up and ready, but I cannot connect. Did a portscan, and the prot isn't open. I have root access. How do I ...
5
votes
2answers
282 views

port forwarding to application in network namespace with vpn

I was able to set up a network namespace, establish a tunnel with openvpn and start an application that uses this tunnel inside the namespace. So far so good, but this application can be accessed via ...
0
votes
0answers
31 views

Connect to a pc which is in external network using ssh [duplicate]

I want to connect a PC which is in an local network with IP 10.1.10.25 while the IP address of router is 68.10.25.24 This PC is far away from me. How can I connect to that PC from my terminal using ...
2
votes
2answers
367 views

Cannot connect to localhost on port 4430

I am running vagrant from a virtual box with CentOS and Nginx installed. I've created a reverse tunnel from the vagrant box to a remote server but when I am trying to connect to my localhost on port ...
-1
votes
4answers
187 views

Ssh into a remote server, but my organization has blocked port 22

I am using Redhat Openshift server to deploy my webapps. To access the contents of my application I have to ssh into their server. Example ssh 56555ff90abcdefbf6e000077@appname.rhcloud.com ...
1
vote
0answers
68 views

How to properly port forwarding between different machines using UFW / iptables and DD-Wrt?

This is my network I want to see my ip_camera (192.168.3.4:80) from outside my house. It is on dd-wrt router (192.168.3.1) without internet. The router 192.168.1.1 has internet. However, i have a ...
1
vote
1answer
490 views

ufw: how to forward single port to another port on different interface

I have two interfaces eth0 (192.168.1.2) and eth1 (192.168.3.2). I receive data from 8080 at eth0. I want to forward it to eth1 port 80. I'm using UFW, because i don't understand iptables and how to ...
2
votes
1answer
636 views

“channel 3: open failed: administratively prohibited: open failed” when creating a VNC session on a SSH tunnel

On creating a VNC connection via tunneled SSH connection, I get an error: channel 3: open failed: administratively prohibited: open failed I have found that this happens only when I'm not logged ...
1
vote
1answer
102 views

SSH local port forwarding

I am experimenting a bit with ssh port forwarding and I stumbled upon a confusing thing. It seems to me that the following commands are doing the same thing: ssh -NfL 192.168.121.215:2222:vm2.local:...
1
vote
0answers
198 views

Why MS Sql port (1433) forwarding does not work over http_connect proxy?

I have a windows machine with putty, which has access to ms sql server on local network. And i have a remote Ubuntu machine on the Internet with sshd on 443 port (required to establish secured ...
1
vote
0answers
190 views

Iptables proxy, redirect all connections from a certain port to the internet?

I have an ubuntu pc and an android phone conneted to my router through a cable and wi-fi respectively. I set the android phone to use a proxy my-wan-ip:5555 and enabled port forwarding on my router on ...
0
votes
1answer
171 views

Use LAN printer over the Internet

I would like to be able to connect my laptop to my network printer while I am not at home, what would be a good way to forward the printer and to configure CUPS on my laptop?
0
votes
1answer
90 views

Port forwarding error

I am trying to use VNC on my KVM guest, following this guide: http://blog.scottlowe.org/2013/08/21/accessing-vnc-consoles-of-kvm-guests-via-ssh/ This is the ssh command I am using from my host: ...
0
votes
1answer
287 views

How to remove port number from url?

My application "XY" running on port 1234 in tomcat server. I'm using HA-Proxy for loadbalancing. So in loadbalancing my front end port is 5678 to access the "XY" application through browser. Right now,...
0
votes
1answer
104 views

Access fron outside browser to shellinabox site

Server : 192.168.40.23 `# vi /etc/sysconfig/shellinaboxd` # TCP port that shellinboxd's webserver listens on PORT=6175 # specify the IP address of a destination SSH server ...
0
votes
0answers
80 views

Cannot telnet to Postgresql Forwarded Port

I'm trying to portforward a PostgreSQL port using my DLINK ADSL Router. I have the following IP addresses. Public Internet IP 197.321.321.32 PostgreSQL 192.123.123.12:5432 (Port To ...
0
votes
1answer
217 views

PostgreSQL Remote Connection debugging

I'm having issues connecting to my PostgreSQL database from an online source. PostgreSQL seems to be setup up fine it is running on it's default port 5432 and the postgresql.conf has the following ...
1
vote
2answers
221 views

How can I reach an open & listening port on Linux?

After forwarding the port I wish to open, I cannot seem to connect or get any data to this port. The PHP CLI software I have written is listening to the port actively on Ubuntu 14.04. Part of the code ...
0
votes
1answer
57 views

iptables selectable tunnel

I have this configuration script: I OPENVPN TUNNELS openvpn --config serverx.ovpn > /dev/null 2>&1 & openvpn --config servery.ovpn > /dev/null 2>&1 & TEST ON MY ...
1
vote
0answers
110 views

Unable to ssh in to machine behind router

I'm trying to ssh into a desktop which is behind a router from a remote location. I've set the router (TP-link AC1750) to forward TCP connections to port 8000 along to port 8000 on my desktop using ...
0
votes
1answer
206 views

UDP Port Fowarding: channel 2: open failed: connect failed: Connection refused

My situation is as follows: I have currently trying to have a program between two Hosts send UDP packets over a SSH Tunnel. There is also a host intermediate between the two hosts. Note Server01 ...
0
votes
1answer
82 views

Is port forwarding always used in proxy server, gateway and tunneling?

It seems to me that proxy server, gateway and tunneling all forward traffic that they receive to the actual destinations. So is port forwarding always used in proxy server, gateway and tunneling, or ...
4
votes
1answer
628 views

What does port forwarding mean in “SSH port forwarding”?

Wikipedia says In computer networking, port forwarding or port mapping is an application of network address translation (NAT) that redirects a communication request from one address and port ...
1
vote
1answer
195 views

Which processes do the ports (as communication connection endpoints) belong to in SSH port forwarding?

(1) For remote forwarding: -R [bind_address:]port:host:hostport Specifies that the given port on the remote (server) host is to be forwarded to the given host and port on the local side. ...
2
votes
1answer
43 views

SHH Tunneling only accepted on some ports

I'm working with Server running Ubuntu Server 14.04. I use Plink to request some reverse tunnels from a remote computer to the server. For some ports that works just fine, but for most ports it seems ...