Port forwarding is the act of using redirecting one port to another, commonly used to access a computer from behind a firewall with NAT.

learn more… | top users | synonyms (1)

67
votes
1answer
70k views

What is port forwarding and what is it used for?

There are a lot of questions on 'port forwarding' but there doesn't seem to be one that clearly states what it is and what it's used for. So: What is Port Forwarding? What is it used for, and why ...
19
votes
4answers
16k views

DD-WRT: How to allow port forwarding to apply to requests originating from inside the LAN?

With the original firmware of my router I had port forwarding defined from port 80 to the server in the LAN, which I used in conjunction with an external dynamic DNS service. I've now upgraded to ...
12
votes
2answers
2k views

Can I make SSH fail when a port forwarding fails?

If I do a remote port forward, a la -R 3690:localhost:3690 when a binding already exists on the port on the remote host, I get this warning: Warning: remote port forwarding failed for listen port ...
11
votes
2answers
11k views

Howto disable SSH local port forwarding?

I have a server running Ubuntu and the OpenSSH daemon. Let's call it S1. I use this server from client machines (let's call one of them C1) to do an SSH reverse tunnel by using remote port ...
11
votes
5answers
39k views

How to make a port forward in Mac OS X

I'd like to make all incoming connections to port 1000 of my host (IP: 200.234.XXX.XXX) to be forward to the port 80 on host 10.211.55.5 How can I do it on my host? It is running Mac OS X 10.5.8
9
votes
4answers
699 views

Remote connection to a PC over internet

I have a PC running Windows Vista Home Premium with Norton Internet Security 2009. I like to help my father and sister by connecting their PCs over the internet and taking full control. My father has ...
8
votes
2answers
3k views

Differences between ssh -L to -D

I'm trying to understand the differences between ssh -L to -D. Is there anything else except for that -D is SOCKS only? Thanks!
8
votes
5answers
16k views

Get Windows localhost (port 80) to forward to port 8080 for Apache service

Recent Discovery With IIS set back to port 80, when I put in http://localhost/ on the WHS computer, it gives me the "There is a problem with this website's security certificate" warning page. If I ...
7
votes
2answers
22k views

Allowing a friend to connect over the internet to a Minecraft server I've hosted?

I have set up a Minecraft server and have built lots of things, now I want my friend to play on it too. I'm hosting it on my home computer and don't want to have to set up a new server elsewhere so ...
7
votes
2answers
5k views

No idea what is listening on port 80 in OS X

I'm on OSX Mountain Lion 10.8.3, and I've freshly rebooted my Mac. I want to start a service (like Apache on port 80), but there is already something going on with port 80: telnet localhost 80 ...
7
votes
2answers
7k views

Tunneling a TCP/IP Connection through Remote Desktop Connection

There is a remote Windows server on a private network which I can connect to via Remote Desktop Connection. I would like to be able to make TCP/IP connections from my computer to other computers on ...
7
votes
3answers
5k views

Allowing access to localhost outside network

I have a Netbeans project running on localhost with Tomcat and MySQL, all is well. I now want to show my progress to someone in another part of the country. How do I let him access my website ...
7
votes
3answers
8k views

AirPort Extreme and VPN Server

I have an AirPort Extreme (purchased about a month ago, so the latest model) and I have an iMac connected to it running a VPN server; the iMac has a static IP address on the network and is configured ...
6
votes
3answers
659 views

Why do games need port forwarding but not applications like MSN Messenger?

Why is it that when it comes to games the topic of port forwarding often comes up but for applications such as Windows Live Messenger this is not an issue. There are however some games that do not ...
6
votes
2answers
7k views

Are virtual servers and port forwarding the same thing?

Are virtual servers and port forwarding the same thing? I always thought so but my Dlink DIR-655 has both. The only thing I can see with port forwarding is the ability to do ranges whereas virtual ...
6
votes
1answer
3k views

pfctl port forwarding in Mac osx?

-A PREROUTING -s 10.0.10.0/24 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080 -A PREROUTING -s 10.0.10.0/24 -p tcp -m tcp --dport 443 -j REDIRECT --to-ports 8080 -A POSTROUTING -s 10.0.10.0/24 -o ...
6
votes
1answer
5k views

Are there good alternative HTTP ports rather than port 80?

I have been looking for some documentation on alternatives to port forwarding to port 80. I have a dedicated Linux machine on a home router, and apparently utilizing port 80 is not an option. Are ...
6
votes
3answers
3k views

How to record and replay http interactions?

Is there a tool I can use in Windows to record and then programmatically (i.e. under a script or batch file) replay a specific interchange between a browser (either Firefox or IE) and a website? ...
5
votes
5answers
905 views

Want to use apache, ISP blocking port 80

I am attempting to set up a small web server on my home network, but my ISP is blocking incoming port 80 ( and no, i'm not paying $50/month extra for them to unblock it). I am looking for some ways ...
5
votes
4answers
3k views

SSH to computer with shared public IP and no admin rights over the router

I live in a student dorm (off-campus) and all students of the dorm share the same WAN IP (Internet or public IP), which is fortunately static. I am not an admin and have no control over the router ...
5
votes
2answers
8k views

How do I remove an SSH forwarded port

I used ssh -L 10002:192.168.0.30:10002 192.168.1.135 to establish port forwarding but now I need to remove it. How do I do this?
5
votes
5answers
2k views

Unable to outside access service from inside LAN

I have a weird port forwarding problem. I tried to open my port 22 to the outside network. I was able to access it as long as I am not inside the LAN. I can access it from my office for example. But ...
5
votes
3answers
291 views

Why do some remote desktops services not require that you setup port forwarding?

I use a mixture of linux and windows machines at my office. I've got logmein running on my windows machines, and VNC setup on the linux ones. The linux logmein browser plugin works great. However, I'm ...
5
votes
2answers
4k views

Port Redirection on Mac OS X Lion

I have tried to solve this issue using pf but with no luck. Basically, I am trying to redirect incoming port 443 traffic to port 22. I have tried to set up a rule in a file and load it in pf but I get ...
5
votes
1answer
600 views

How to specify what port RDP responds to?

I need to figure out a way to force RDP(Remote Desktop) to respond to a specific port Instead of a RHP(Random High Port). I am not asking how to change what port RDP "Listens" on, but rather the ...
5
votes
1answer
6k views

What is blocking my ports?

How do I find out what is blocking my ports? I am on Windows 7 x64 and trying to run Minecraft on port 25565, which worked yesterday, but not today. I have not installed any new software. I have ...
5
votes
1answer
8k views

SSH dynamic port forwarding, “Connection refused”

I am trying to do dynamic portforwarding using openssh through a remote computer following this command: ssh -D 6789 rohan@<remote_ip> -p <remote_port> This should set up a socks ...
5
votes
3answers
1k views

How can I get my routers to forward ports correctly?

My network currently looks like this (simplified): Note that Router #2 is connected to the LAN interface of Router #1. This should be familiar to anyone who has seen a standard static-IP setup ...
5
votes
5answers
1k views

Port(s) not forwarding?

I have cable internet service through Charter Communications and feed two desktop computers through a Linksys RP614v3 router. One system is my wife's running WinXP Home Edition and the other is mine, ...
5
votes
1answer
11k views

How do I enable UPnP support in Windows 7?

Is there a checklist for enabling UPnP in Windows 7? I am on a home network with Network Discovery enabled in Network and Sharing Center, UPnP is enabled on my router, SSDP Discovery and UPnP Device ...
4
votes
2answers
236 views

How do routers prevent automatic port forwarding from being abused

I have a Verizon FIOS router and when I install most applications that need a port forwarded, magically the entry is automatically set up in the router. I searched on google and found out this is ...
4
votes
2answers
4k views

Port Forwarding to a VMware Workstation Virtual Machine

I am running VMware Workstation 8 (build 471480). I want to setup a small content server, mainly for images and such for my website, on my desktop in a virtual server (just for the heck of it)... I ...
4
votes
1answer
19k views

Windows Firewall: How to allow traffic on a specific port (eg. 8080)?

I am trying to configure team Foundation Server so that 1) it is accessible from within my Home Network 2) and then make the Web site access accessible via the Internet I have a problem with point ...
4
votes
1answer
3k views

how to setup a ssh acount with no terminal but port forwarding?

I am trying to set up a new user account I can give to friends so they can SSH into my forward computer, and only allow forwarding of certain ports. I do not want my friends to have a shell, or be ...
4
votes
1answer
93 views

Port forwarding over the Internet

I have a home server that I want to expose to the Internet. All ISPs in my country provide static IP addresses to registered business only (not to home customers). I'm thinking about renting a VPS ...
4
votes
2answers
1k views

Asus router RT-N56U unnecessarily opens extra ports for a DMZ device

My Asus RT-N56U router (latest firmware 3.0.0.4.374_979) opens port UDP 3659 for a Playstation 3 which is already in DMZ. The DMZ was set up properly with a static IP assigned to the PS3 and the ...
4
votes
2answers
639 views

Ssh port forwarding with Remote Desktop timing out

My work computer, a Windows 7 Enterprise PC called WORKPC, is running Remote Desktop. I have configured Windows Firewall on WORKPC to allow access to the Remote Dekstop service from only two IP ...
4
votes
1answer
4k views

VirtualBox Bridged Network Port Forwarding Issue

I currently have a development environment setup on a Windows 7 PC running Ubuntu 11.04 inside of a VirtualBox on the same box. I am using the "Bridged Network" option within VirtualBox, and inside ...
4
votes
1answer
2k views

Automatically allowing SSH into a Mac behind a UPNP router?

I have a MacBook connecting to the Internet from behind various routers from time to time. All of the routers support UPNP. I need to allow a co-worker to SSH into the machine, without configuring ...
4
votes
1answer
213 views

How to connect (via DD-WRT) to a device known by its MAC address?

This question might seem odd at first, because the answer may look trivial: "Either assign a static IP address to it or just DHCP it." Well... this challenge turns out to be not so simple: The ...
4
votes
1answer
1k views

Configuration for public (external) access to ubuntu guest on ESXI 5

I am setting up a demo system on a leased dedicated server. System consists of : ESXI host with 1 NIC assigned (so 1 Static IP) 64 bit Ubuntu guest as server I installed and configured the system ...
4
votes
2answers
2k views

Port forwarding + shared connection with Ubuntu

Because my wireless router's ethernet ports are defective, I set up a shared wireless connection from my laptop (which has wifi) to my eMac (which does not) via a crossover ethernet cable. The laptop ...
3
votes
5answers
2k views

port forwarding on linux without root or ssh

I was wondering whether it is possible to get port forwarding without being root or ssh. Currently I do ssh -L 20080:othermachine:80 localhost Using ssh can get you certain benefits like creating ...
3
votes
1answer
1k views

SOCKS vs. SSH local port forwarding

What's the difference between using SOCKS (SSH -D) and local port forwarding (SSH -L)
3
votes
5answers
5k views

Port forwarding software (service) for Windows

I have a server service that uses 8182 port. Somebody want to connect to this, but 8182 port is unavailable for him, only 5118 working fine. No problem I thought, I just install port forwarder ...
3
votes
4answers
1k views

How can I use SSH to tunnel to a port that's open on the machine I have access to but not open to the outside world?

I currently use SSH to tunnel my internet connection, using ssh -p <port> -ND <local port> <user>@<ip address>, and this works great. However, I'd like to bind a local port to ...
3
votes
4answers
557 views

Getting a static internal ip address in windows 7

I have obtained a static ip address for my router from my ISP (it is a dsl router provided by my ISP). Many devices are connected to this router in wireless mode. One of them is my Server. The server ...
3
votes
3answers
5k views

uTorrent and PuTTY -> How to turn the connection into an active one?

There is an active, and passive mode when we talk about torrent. Passive, is when you can't connect to the peers actively. Active is when your ports are forwarder, and others can connect to you. ...
3
votes
2answers
716 views

Alternative to Tor Hidden services or port forwarding without public IP [closed]

We're looking for way to access PC/server/IPCam behind our home internet when port forwarding is not available. The reason we needed this is that our telco is rolling out Carrier-grade NAT and slowly ...
3
votes
2answers
1k views

How do I forward a SSH port from any interface to a specific IP?

Here's the scenario: I have a desktop, running Windows 7 Ultimate. This desktop has VMware Workstation on it, and a virtual machine running a custom linux, that has OpenSSH installed and working. ...