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
2answers
147 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
168 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
1k 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
113 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
82 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 ...
2
votes
1answer
979 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 ...
7
votes
1answer
1k 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
0answers
238 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
199 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 ...
3
votes
1answer
321 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
451 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 ...
2
votes
1answer
167 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 ...
3
votes
0answers
1k 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
761 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 ...
0
votes
1answer
137 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?
7
votes
1answer
426 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 ...
3
votes
1answer
610 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 ...
4
votes
2answers
4k views

How to forward a port from one machine to another?

Consider the following situation: At my home, I have a router (which is connected to internet), server (S) and my main machine (M). S is reachable from the internet (it has static IP), and it is up ...
4
votes
2answers
972 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 ...
2
votes
1answer
512 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. ...
3
votes
2answers
8k views

Port forward to VPN Client?

I've run into a bit of a puzzle and haven't had much luck finding a solution. Right now I am (sadly) connected to the net via Verizon 3G. They filter all incoming traffic so it is impossible for me to ...
1
vote
1answer
902 views

How do I SSH into my Samba file server?

So I made a dedicated Samba file server on my Debian(3.2) machine. I have had great success accessing it from both Windows and Unix. I can SSH into it on the local network. When I try to SSH into it ...
1
vote
2answers
806 views

SSH into Ubuntu VM remotely

I don't have much Linux or networking experience, but I'm trying to SSH into an Ubuntu virtual machine from outside of my home network. The Ubuntu virtual machine (running inside VirtualBox) is ...
2
votes
1answer
2k views

Port Mirroring using iptables - copy all traffic among nginx on :80 and apache on :8080

I have nginx running on port 80 and apache running on port 8080 I want to transfer all the traffic to both nginx and apache asynchronously i.e the performance of one server wont be dependent on the ...
2
votes
1answer
435 views

How to setup port redirection after a ssh connection has been opened?

I'm using openssh on both client and server. I know I can run ssh -L or ssh -R to setup some port redirections over ssh. However, since they are command-line parameters, such redirections must be ...
2
votes
3answers
452 views

Servers running from chrooted Ubuntu on HP TouchPad? [closed]

The problem: servers appear to be broken inside my Ubuntu chroot. No matter what kind of server I try to run, they all seem unresponsive (VLC server won't respond to client, mkRemote doesn't move the ...
2
votes
1answer
2k views

Testing if a port was forwarded correctly in Ubuntu

I have a Ubuntu box connected to a wifi router. This wifi router is connected to a d-link adsl modem/router. I am preparing this Ubuntu box to run a server that will use some special ports in UDP and ...
3
votes
1answer
1k views

Can sshd restrict client tunnel endpoints to localhost?

Normally an ssh client can request TCP forwarding using the -L command line option. The server can disable this completely using AllowTcpForwarding no. If enabled, the client can request to connect ...
6
votes
4answers
2k views

How to debug SSH port forwarding

This is an extension to ssh port forward to access my home machine from anywhere I tried things mentioned there but I am not able to ssh to my machine. Netgear router settings for port forwarding: ...
0
votes
1answer
613 views

setting up an IRC server on freebsd

ssh port forward to access my home machine from anywhere In continuation to what I've been trying to do, I want to setup an IRC chat server on my freebsd box at home so friends can join that server ...
7
votes
2answers
4k 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 ...
1
vote
2answers
7k 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 ...
4
votes
1answer
1k views

ssh tunneling a local display to another server

I have a GUI test stand simulation connected to some hardware that is under test. The test stand is a Sun Sparc Ultra 2 SunOs 5.7. The simulation software checks to see if your running your display on ...
3
votes
1answer
289 views

Setting up the firewall for amule on OpenBSD 4.7 gateway

I'm trying to properly setup the firewall on my gateway (OpenBSD 4.7) using pf to allow amule (on 10.0.0.104) to operate properly as discussed here: Now I know pf has changed a bit from OpenBSD 4.7 ...
4
votes
1answer
873 views

SSH Port Forward a local IRC server to my remote server

So, I have this slight dilemma: I am not allowed to host an IRC server on my VPS, but I am allowed to use tunneling of some sort to let users connect to an IRC server I have set up locally on my Mac ...
39
votes
13answers
56k 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: ...
3
votes
1answer
841 views

Set up password-less SSH tunneling from home computer behind NAT to inside computer behind gateway

My home computer is behind an ISP-level NAT (and firewall). The target computer is work computer behind gateway. You have to log to gateway computer first via SSH (as it is the only one visible and ...
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 ...
5
votes
2answers
731 views

How can I forward traffic from my publicly available server to a computer that is not publicly available?

My home computer is behind an ISP-level NAT which does not allow me to host game servers as a result. I have a VPS which I use as a web server. I want to host a game server of Minecraft, but the VPS ...
-1
votes
1answer
1k views

How can I open port 21 on a Linux VM?

I need to open port 21 on a Linux (CentOS 5) virtual machine I have. I have tried several Google solutions, but none are working. I was wondering if someone could tell me how to do this. Below is ...
1
vote
1answer
161 views

vnc over ssh port assignment

At the office I have on the servers a vnc server running. In Windows I use putty to connect to the server, I log in and then use realvnc to see the desktop. But I cannot get this to work on Linux. I ...