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)

124
votes
1answer
225k 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 ...
8
votes
4answers
2k views

Remote connection to a PC over internet [closed]

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 ...
2
votes
1answer
2k views

Connecting to my own network via external IP

Even though I have seen and read quite a few similar Q's I was still unable to understand what is required for me to be able to do this. I have an internal network. One of the machines is a web ...
23
votes
4answers
22k 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 DD-...
1
vote
6answers
5k views

Port Forwarding not working in DSL Router

I am using BSNL BroadBand connection and a DSL Router is provided that can act as a Default Gateway to many wireless devices. One such device is my server. I have bought a static ip on lease. So that ...
6
votes
5answers
4k 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
4answers
4k 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 ...
2
votes
4answers
5k views

Can't access VMware virtual machine through SSH

I have got a VMware Server 2 on a CentOS 5.6 host. I can access my virtual machines from the host machine, but I can not access it from other machines. I have configured NAT port forwarding. But ...
1
vote
6answers
31k views

Why can't I connect to my VNC server from outside my network?

I have a computer running TightVNC server. It is on my home network. The computer it is installed on has a locally static ip address 192.168.1.100. I am able to connect to this vnc server from my ...
15
votes
1answer
12k 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 ...
7
votes
3answers
11k 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 ...
-1
votes
5answers
5k views

Why do I see router and not my real IIS?

I am trying to access IIS through web but unable to do so. Basically I have a router (which functions as router and modem) that is given by ISP and I have another router connected to the router given ...
4
votes
1answer
9k views

Forward Same Ports to Multiple IPs [closed]

I am trying to forward a series of ports to my computer. I have several computers in my network, and believe my router randomly assigns a port to each computer that connects to it. As I don't have a ...
3
votes
1answer
8k views

How can I get VMWare to use the same IP as the host?

I am running RHEL 6 on my Win-XP using VMware. On VMware it has the local IP. I want it to be same as that of XP. i.e. 123.237.115.199 on both. (This is dynamic IP but I want that the dynamic IP on ...
2
votes
1answer
265 views

Can router connect back to itself over Internet and why?

As it it sates in title. Every router I had couldn't connect back to itself over Internet, for example: I open forward port 22 for ssh on my PC. I try to connect to that ssh with other PC in same ...
1
vote
2answers
645 views

ssh port forwarding from remote location to computers on server's network

I've been hunting all over the inter webs and I cannot find a simple example of the form of port forwarding that I am looking for. Well, the truth is, I may have just simply not understood the jargon ...
0
votes
1answer
444 views

Tunneling traffic when local port is random

I have an application that opens a connection on a random local port to a known port on a remote server which refuses connections from my IP address. Is there any way to use a port-forwarding like ...
0
votes
2answers
551 views

Port forwarding my router

I am trying run a web server on my static IP address but when I open my IP address its opening my DSL router how can I assign that IP to my computer any ideas?
11
votes
2answers
22k 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 ...
4
votes
2answers
9k views

NAT Port Forwarding in VirtualBox

I have enabled two adapters in my VirtualBox (running Ubuntu 12.10 Server Edition), with types as: Host-only and NAT. My main motive is to be able to connect two VMs running on two different hosts (...
4
votes
2answers
5k views

Forwarding Specific Ports through SSH Reverse Tunnels

So unfortunately I live in a place that will not let me have a static IP, so I have been setting up access to my home computer via reverse SSH tunnels that run on an micro amazon ec2 instance. I have ...
4
votes
3answers
4k views

Stable reverse port forwarding in SSH and stale sessions

Using VPS to forward ports behind NAT: for((;;)) { ssh -R 2222:127.0.0.1:22 vi@vi-server.org; sleep 10; } When connection is broken somehow and it is reconnecting. Warning: remote port forwarding ...
23
votes
2answers
10k 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!
9
votes
2answers
41k 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
5answers
6k 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? Here’...
3
votes
1answer
5k views

How to run an Apache Tomcat Webserver on my PC and access it from a real Android Device?

What I have I have a Tomcat 7.0 server running on my Windows 7 PC and I have a dial up internet connection. IP I get on whatismyip is 117.xxx.xxx.xxx. I want to use this machine to test my Android ...
2
votes
2answers
952 views

Iptables port mapping from two PCs to one

We have 3 PCs, two of it are connected to internet (both of it have 2 NIC) PC1: eth0 - 1.0.0.1 (external IP) eth1 - 172.16.0.1 (internal IP) PC2: eth0 - 1.0.0.2 (external IP) eth1 - 172.16.0.2 (...
1
vote
1answer
18k views

Why is my connection refused when port-forwarding?

This question is related to this: Application / Device setup for remote network connections I have a 2wire 3801HGV router and I made some firewall settings to open some ports on one of my connected ...
0
votes
2answers
3k views

Forward Ports on Parallels

I have a dev server on port 8080 on my mac, and I'm trying to access it from a clean installation of Windows 7 in parallels. Ipconfig says my VM's IP address is 10.211.55.3. I can access the mac ...
3
votes
1answer
8k views

Does Wake-on-LAN via WAN needs port forwarding?

If yes, how does it work? The pc still has no ip, so where should I forward the port?
3
votes
2answers
983 views

Port forwarding in D-LINK DIR-524 router

I have Tomcat installed and I want to access it via internet. I can access it locally via localhost:8080/appname, but not from internet via http://externalip:8080/appname. I have configured my D-LINK ...
2
votes
1answer
2k views

How to tunnel a local port onto a remote server

I have a domain that i bought from DynDNS. I pointed the domain at my ip adress so i can run servers. The problem I have is that I don't live near the server computer... Can I use an ssh tunnel? As I ...
1
vote
1answer
3k views

Why can't I access MySQL server with port forward rule in router?

This is my setup (the relevant parts, anyway): I have port forwarding rules in place (in the Linksys) for all the relevant ports and I've restarted that router multiple times, each time hoping that ...
1
vote
1answer
2k views

DD-WRT - Host-based forwarding

I would like to know if I can configure DD-WRT router, that operates as the server's network gateway, so support different forwards based on hostname (other than port 80). I've configured ...
0
votes
1answer
540 views

How do I establish a connection between 2 computers on different subnetworks?

computer A(192.168.1.134) needs to establish a UDP connection to computer C(192.168.0.30). As you can see both are on a different subnetwork. Now I have computer B which has 2 IP addresses, one for ...
10
votes
1answer
42k views

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

I am trying to configure team Foundation Server so that: It is accessible from within my Home Network, and The Web site is accessible via the Internet I have a problem with point 1: When I ...
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 ...
3
votes
2answers
3k views

How to restrict ssh port forwarding, without denying it?

Suppose I have created an account whose login shell is actually a script which does not permit an interactive login, and only allows a very limited, specific set of commands to be remotely executed. ...
2
votes
1answer
52 views

How do I make a virtualised WAN?

I want to create a virtualised WAN. As in, I want to have a couple of VMs (VBox) on one physical host machine, that exist on separate LANs, but that can talk to each other. Do I make the VMs, set them ...
2
votes
1answer
3k views

Forwarding port 80 of Windows 7 to virtual Ubuntu Server

I'm running a virtual instance of Ubuntu Server using VirtualBox in Windows. To access the site hosted in it, I want to forward port 80 to Ubuntu, so that I can simply go to localhost to mess around ...
2
votes
2answers
14k views

Port-forwarding in router ZTE ZXHN F660: hidden settings

In my company, we have a ZTE ZXHN F660 router, and we need to do a port-forwarding to access a DB allocated in one of our machines through public IP. We have login into router admin page (visit ...
2
votes
2answers
7k views

Slave: ssh: connect to host slave port 22: Connection timed out

i have done with single node cluster on two different machine,I have made one as master(192.168.1.1) and other m/c as slave(192.168.1.2), I am successfully able to ping between two machine,I have made ...
2
votes
2answers
2k views

Port Forwarding on Router using same internal port number on different IP addresses

The objective that I'm trying to achieve is to be able to connect to two computers that are behind the router using RDP. My logic is that I should be able to connect to the router externally on 2 ...
2
votes
1answer
254 views

If my DSL modem leaves a port open, how vulnerable is my router?

Port scans of my old Netgear router showed that port 4567 was open. I assumed my router was to blame. Now port scans of my new Linksys router show the same open port, which makes me think my DSL modem ...
2
votes
1answer
4k views

VM on ESXi host - How does one make externally accessible?

I have a home server running ESXi v5.0.0 with a VM guest OS (linux) up and running. I have apache 2.x installed and serving to my machine (i.e I can access the default apache page when going to http:/...
2
votes
0answers
2k views

Why do I see router and not my real IIS? [duplicate]

I am trying to access IIS through web but unable to do so. Basically I have a router (which functions as router and modem) that is given by ISP and I have another router connected to the router given ...
2
votes
1answer
13k views

How can make a web server publicly accessible?

Recently I have installed LAMP server on Ubuntu Server and now my website is accessible from any device that is connected to my DSL modem (router). But I don't know how to make the server accessible ...
2
votes
1answer
3k views

Port Forwarding UDP ports not working

For making a Call Of Duty Server using cod-rcon tool, I have port forwarded the following ports: 28960, 28961, 20500 and 20510 (all ports in UDP). If I use this website to check if the ports are open (...
2
votes
6answers
980 views

Trying to set up at-home server but not able to set up IP forwarding

I'm having a bit of an issue trying to enable IP forwarding for my server. Hardware: Modem: Embarq 660 Series Router: DI-624 D-Link Computer: Vaio Windows Server Software: Apache, MySQL, PHP ISP: ...
1
vote
2answers
1k views

How to port-forward IPv6 in m0n0wall?

How do i port-forward IPv6 packets in m0n0wall? For example i want to forward traffic arriving on port 443 of my router to another IPv6 address: Interface: WAN Protocol: TCP External port range: ...