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

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 ...
2
votes
2answers
120 views

Redirect requests to my external IP/port to an internal IP/port?

I have a dedicated server running KVM virtualization with n public IP addresses dedicated to n-1 web-facing virtual machines. Now I'd like to set up some web-facing VM's that don't have a dedicated ...
2
votes
1answer
278 views

iptables port forwarding

I have a CentOS server with Java/J2EE(Tomcat) installed on TCP port 8080. I have two interfaces, eth0 and lo. I need to forward all incoming connection on TCP port 80 to 8080. I tried doing the ...
2
votes
1answer
25 views

How to check if port forwarding is enabled?

I have just set up a DNS server for my own network, and many guides online suggest to make sure that port forwarding on port 53 is not enabled. The thing that is not clear to me is this: should I ...
3
votes
2answers
858 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 ...
0
votes
2answers
27 views

Route add gw: how to

I'm in a network with IP 10.0.1.X (pc A). There's another sub-network: 10.0.3.0 I can ping pc B connected to this network: ping 10.0.3.X ---> OK Now, B is connected also in wifi to a network ...
1
vote
1answer
294 views

OpenVPN port forwarding without router forwarding?

I would like to setup an OpenVPN server with port forwarding on my VPS, because I can not forward ports in my home router. The general question is, if it is even possible to bypass router port ...
2
votes
1answer
419 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. ...
0
votes
0answers
24 views

Possibility to use app in LAN and via Internet

I use web based (https encapsulated) app in my home network and via Internet. The app has dedicated Linux desktop client (I use Mageia ver4 Linux for laptop). Of course server address I have connected ...
3
votes
1answer
174 views

IPFW Port Forwarding

This is my situation: I want to connect to an OpenVPN server from my office (we're using a proxy, only ports 80 and 443 are allowed). Server IP address is: 176.31.250.232:843 My static IP address ...
34
votes
12answers
44k 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: ...
2
votes
2answers
122 views

SSH access from inside and outside a LAN using the same terminal command

I have a Raspberry Pi (RPi) and I am making remote connections to it using ssh. I have managed to set up ssh correctly such that I can access the RPi both from a local area network and from the ...
-1
votes
1answer
64 views

Double port forwarding - SSH

NOTE: I'm not explaining why I want to do this. But here is the requirement. There are 4 hosts. Host A, Host B, Host C, Host D Host A is running some application which can be accessed at port 8001 ...
1
vote
2answers
248 views

iptables redirect outside requests to 127.0.0.1

I have a service running on 127.0.0.1 with port 2222. I need to forward all requests to 192.168.2.2:2222 (outside IP) only from subnet 192.168.1.0/24 to 127.0.0.1:2222. I'm trying to use this, but ...
1
vote
1answer
52 views

How can I interact with my home router via a device on the local network using ssh? [duplicate]

I have a raspberry pi plugged into my router at home, running raspbian. Before I left for work I: Configured the router to forward ports 80 and 22 to the pi Configured dyndns This all works, and I ...
0
votes
1answer
95 views

iptables Port Forwarding — no service with the port

I have setup a network as in the image below: Firewall (FW) running CentOS 6 has two physical interfaces with subinterfaces: eth0:2 — 10.100.1.78/25 eth0:3 — 10.100.1.79/25 eth3 — 192.168.0.21/24 ...
1
vote
1answer
25 views

Redirection to services in NAT or Bridged Network only with one subdomain

I have one subdomain (dyndns). xyz.dyndns.com (f.e.) Here my question begins: I have a server for virtualisation. On the server I have multiple VMs where different web-services are available ...
3
votes
1answer
66 views

sshfs LocalForward without config file

I'm trying to add portforwarding to my sshfs-mount-scripts: sshfs tim@devserver1:/ /home/tim/mnt/devserver1/ -o SSHOPT=LocalForward 127.0.0.5:3306 127.0.0.1:3306 So far I've failed using the ...
1
vote
0answers
64 views

Portforwarding: router nat vs iptables [closed]

I would like to host some services on my pc and make them available from internet. (I'm aware of the security implications, it's more like a test for now). I don't have experience with iptables but I ...
1
vote
1answer
292 views

How to forward port by (sub)domain name?

I have this setup: a (Host) FreeBSD 9.2 host server running VirtualBox with another (Guest) FreeBSD guest server. I have set up port forwarding on the Host to the Guest like this: VBoxManage ...
1
vote
0answers
40 views

setting up a local VoIP to use as a Wifi Headset

I had this idea of using Wi-fi in a vehicle to connect my cell to the car call handler.Just as it works with bluetooth nowadays. Just to demonstrate that such a thing is possible , i had three Linux ...
3
votes
1answer
129 views

listen to a conversation using port forwarding

I have been able to make a phone calls using the SIP client Pjsua from one Linux computer to another one. In case you have not heard of this user agent, explaining it's functionality is quite easy. It ...
1
vote
1answer
49 views

How to forward one port to another (on the same machine)?

A machine (M) is behind a NAT. Port X is forwarded through, and available to the internet. My application wants to connect to port Y. How to I configure M to forward incoming data on port X to port ...
1
vote
2answers
242 views

SSH connection refused from inside my LAN

I'm on Fedora 19 and I have a problem with ssh. Ssh is up and running and I can connect when I enter my lan ip. But when I try my server name (blahblah.no-ip.org) I get a connection refused. No-ip is ...
0
votes
0answers
83 views

irc connection timeout problem

I am using tcpredir to connect to freenode server via port 6665 for some firewall difficulties: server:~# redir --lport=6665 --cport=6665 --caddr=irc.freenode.net and recently i faced a problem, i ...
3
votes
2answers
157 views

SSH through router to internal file server

This is a real beginner question, I know. But I really don't seem to be able to wrap my head around the terminology to get what I want working. And since I want to do this on a router that 40-50 ...
1
vote
2answers
454 views

I am trying to open port 19132 on my Ubuntu server, but not working

I am trying to set up a server for my son to play Pocketmine. This is a PHP server and it is running on port 19132. I have opened this port on my router and if I run another server, like a Rails ...
3
votes
3answers
1k 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 ...
2
votes
1answer
142 views

WHOIS over SSH via specific port

Is it possible to issue WHOIS requests via my local machine over a port other than 43 to a remote box to execute? Ideally, I'm using Jsch and I'd like to be able to round-robin these requests. I've ...
1
vote
1answer
121 views

Tunnel HTTP traffic using another machine via SSH

I have this situation: server 1: public ip x.x.x.x private ip 192.168.0.1 server 2: private ip 192.168.0.10 The server 1 can reach the internet with both interfaces: ping -i x.x.x.x ...
2
votes
1answer
139 views

SSH Connection into LAN without port forwarding?

I'm living inside a study union for the next few month. the organisation has its own network and gateways where the students are connected to the internet. problem: I don't have access to the routers ...
-1
votes
1answer
124 views

how to transfer port in virtual box

I am running a Debian guest VM on Oracle VirtualBox on my Windows machine. I have a DNS server (bind) on the guest that I'd like to see externally from outside the guest OS. How do I give this access ...
2
votes
1answer
90 views

Redirecting an active port

Environment: Web server that requests pages on a specific port from an application server. Problem: If a page request comes into the application server during the restart of a certain web application ...
2
votes
1answer
224 views

Port Forwarding using iptables on Open-Mesh

A quick overview for those who are unfamiliar with Open-Mesh: The system uses small wireless access points that automagically build their own mesh network. As long as one of the access points is ...
3
votes
1answer
3k views

How can I redirect outbound traffic to port 80 using iptables locally?

I'm trying to locally redirect ports on my Ubuntu machine using iptables. Similar to transparent proxying. I want to catch anything trying to leave my system on port 80 and redirect it to a remote ...
0
votes
2answers
121 views

Mirror localhost:3280/some/long/url to localhost:3000

I have a webservice running on localhost 3280 that exposes Elasticsearch server under /some/long/url. I would like to access Elasticsearch from localhost's port 3000. Can I do this with ...
1
vote
2answers
106 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 ...
3
votes
1answer
589 views

How to parameterize the LocalForward option in ssh_config?

I'm starting with this fully working ssh command: $ ssh -fNL 3306:localhost:3306 coolio@database.example.com This config gets me part of the simplification I am after: Host tunnel HostName ...
1
vote
1answer
80 views

Accessing Apache server over the Internet [duplicate]

I'm trying to access my Apache server over the Internet. When I use my external IP to connect from a different system, my router's welcome page is displayed. How can I access the server?
0
votes
1answer
71 views

Is there any tools which can be used to make ports available from any firewall network?

I have been testing my application which has TCP/UDP ports for peer to peer with the help of server signalling commands for making communication, that works when I have Public IP or Lan IP and not ...
7
votes
1answer
963 views

Forward all ports SSH

I have a question about SSH/Port forwarding. I haven't found the solution anywhere and don't know if there is any. I have a server behind my NAT box at home. I have port forwarding from my NAT box to ...
2
votes
1answer
739 views

Local port forwarding automatically configured on boot?

I have software which needs to run as a non-root user, but needs to listen on port 80 and 443. With iptables, this isn't all that difficult: sudo iptables -t nat -A PREROUTING -i eth0 -p tcp ...
2
votes
0answers
196 views

Port Forwarding Between 2 Internet Machines

Here's my scenario: Setup There are 3 machines: A: on the internet : has ip (a.a.a.a), has port pa open B: my server / gateway : has ip (b.b.b.b), has port pb open C: on the internet : has ip ...
3
votes
1answer
267 views

Tunnel AFP over SSH over Internet

I can't seem to figure out how to connect to AFP over SSH. Here is my setup: [Raspberry Pi] <---> [router] <---> (Internet) <---> [Client] I'd like to be able to connect to my ...
2
votes
2answers
272 views

Port forwarding and masquerading

What is the relationship between port-forwarding and masquerading? If server A is configured to masquerade its clients, and client B accesses the Internet through server A, then since client B is ...
3
votes
0answers
883 views

The right way for dynamic ssh port-forwarding

Want my Firefox could use localhost:9099 proxy forwarded from vps server, why it doesn't it work this way? I always get bind: Address already in use $ ssh -vfND 127.0.0.2:9099 vpn OpenSSH_5.9p1, ...
1
vote
2answers
541 views

NFS Mounting over WAN which ports

I have a NAS box setup at a different location than our company. The idea was to use it as offsite backup. When the NAS box was on our LAN we had no issues mounting the NFS shares. Once we moved it ...
7
votes
1answer
327 views

How can I limit ssh *remote* port forwarding?

I need to limit which ports can be remotely 'ssh -R' forwarded by an user. I know about permitopen option on authorized_keys, but as it says on man page it only limits local 'ssh -L' port forwarding ...
0
votes
1answer
132 views

relaying ports to remote pc via vpn

I've got a situation where a remote pcs is vpn'ed to my Ubuntu box, and I'm wondering how I set the Ubuntu box up to redirect calls to specific ports over to the PC. Any Ideas?
3
votes
1answer
531 views

tc class rate 50Kbps != 50K/s in wget?

Got the following test rule setup: tc qdisc add dev wlan0 root handle 1: htb tc class add dev wlan0 parent 1: classid 1:1 htb rate 1000Mbps tc class add dev wlan0 parent 1:1 classid 1:5 htb rate ...