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

0
votes
1answer
27 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 ...
2
votes
1answer
924 views

redirect web server with no-ip and port forwarding in livebox

I want my Apache web server running on a Livebox (home router appliance running Linux) to be accessible from the Internet (WAN). I installed and configured the application noip2 on my Ubuntu PC. ...
1
vote
1answer
1k views

CentOS with AutoSSH, Port Forwarding Clarification

I'm using autossh and set it up like shown in the following example: http://surniaulula.com/2012/12/10/autossh-startup-script-for-multiple-tunnels/ I found it works really well, but need some ...
2
votes
1answer
3k views

forward packets from one interface to another interface using iptables

I have an embeded system with 2 interfaces e0 and m0, whose ips are 10.0.0.20 and 192.168.0.20, respectively. Incoming packets into e0 have an ip of 10.0.0.10 and should be forwarded to m0 interface ...
0
votes
1answer
391 views

How to access my webserver from the host machine? [duplicate]

My host OS is Gentoo, guest OS - Fedora. I have a web server on Fedora on port 8686 and it works perfectly on guest OS, but I can't access it on my host OS. I tried to use bridged network (then I got ...
-4
votes
2answers
73 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
30 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 ...
-1
votes
0answers
11 views

forward Windows application connection to a unix VPS to bypass port restriction

my campus has blocked all ports except those for webpages 80, 443, but funnily I can access my SSH via putty with port 88888 configured on its sshd. I am wondering if there's a way I can make my ...
3
votes
0answers
427 views

SSH Failing to fork with sshpass

I've a problem with port forwarding command using sshpass. Problem is that it's working on one server and does not work on another. Both are Debian 7 x64 boxes. sshpass -p password ssh -f -D 0.0.0.0:...
-1
votes
0answers
18 views

Assign port to container

On my container with ID 634eb4c5d6ee I have these ports: docker port 634eb4c5d6ee 222/tcp -> 0.0.0.0:222 8080/tcp -> 0.0.0.0:80 8443/tcp -> 0.0.0.0:443 Now I want to change 8080/tcp -> ...
5
votes
3answers
1k views

Port fowarding and load balancer in ubuntu server 12.04

I am looking to create a load balancing server. Essentially here is what I want to do: I have a public IP address, lets say 1.1.1.1 I have a second public IP address, lets say 2.2.2.2. I have a ...
3
votes
1answer
24 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
35 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
1answer
16 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 ...
12
votes
5answers
11k views

Simple way to create a tunnel from one local port to another?

I have a development server, which is only accessible from 127.0.0.1:8000, not 192.168.1.x:8000. As a quick hack, is there a way to set up something to listen on another port (say, 8001) so that from ...
1
vote
0answers
19 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
31 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 ...
2
votes
1answer
751 views

How to forward Remote-Desktop Port across interfaces using ufw?

Machine A has two network interfaces: Network eth0: 10.10.20.0/24 Network wlan0: 192.168.1.145/24 Machine A has 192.168.1.145 as Default Gateway, and also a route to pass 172.16.0.0/16 to 10.10.20....
1
vote
1answer
28 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 ...
13
votes
4answers
21k views

List ports a process PID is listening on (preferably using iproute2 tools)?

I'm looking to list all ports a PID is currently listening on. How would you recommend I get this kind of data about a process?
0
votes
1answer
3k views

Port Forward :80 and :8080 to Two Different Servers

On a CentOS 6 server with an IP address of 172.16.1.10, how can I configure iptables to route traffic destined for 172.16.1.10:80 to 192.168.1.10:80, and traffic destined for 172.16.1.10:8080 to 192....
3
votes
1answer
108 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 ...
1
vote
1answer
39 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 ...
0
votes
0answers
21 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
55 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
127 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
63 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 (...
5
votes
1answer
218 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 ...
3
votes
1answer
105 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
10 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 ...
78
votes
18answers
130k views

SSH tunneling error: “channel 1: open failed: administratively prohibited: open failed”

When I open this ssh tunnel: ssh -nXNT -p 22 localhost -L 0.0.0.0:8984:remote:8983 I get this error when trying to access the HTTP server running on localhost:8984: channel 1: open failed: ...
0
votes
0answers
152 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
40 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
93 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
145 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 &...
2
votes
1answer
42 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 ...
1
vote
0answers
34 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
36 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
63 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 ...
11
votes
3answers
13k views

ssh port forward to access my home machine from anywhere

http://serverfault.com/questions/303937/how-to-make-freebsd-box-accessible-from-internet I want to understand this whole process of port forwarding. I read so many things but failing to understand ...
0
votes
1answer
46 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 ...
2
votes
2answers
286 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 ...
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 ...
5
votes
3answers
14k views

SSH tunnelling with multiple dynamic port forwardings

I am trying to monitor multiple JVMs running on different servers through an ssh tunnel. Thanks to one of the UNIX gurus here, I have managed to get this running for a single server by: Run jstatd ...
-1
votes
4answers
158 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
60 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
344 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 ...
1
vote
1answer
318 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
0answers
179 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 ...
0
votes
1answer
92 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:...