Questions tagged [port-forwarding]

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

Filter by
Sorted by
Tagged with
239 votes
1 answer
508k 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 ...
12 votes
4 answers
9k views

Unable to access outside 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 ...
erotsppa's user avatar
  • 383
9 votes
4 answers
3k 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 ...
Mehper C. Palavuzlar's user avatar
25 votes
5 answers
87k views

Set up a web server behind a Carrier Grade NAT

I was trying to set up a small home server. I use dynamic IP adress. My router's wan adress is like this 100.70.81.xxx and my public ip is 81.213.177.xx I made port forwarding in my router. www, ...
user avatar
3 votes
6 answers
12k 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 ...
Ashwin's user avatar
  • 365
3 votes
2 answers
4k views

SSH disable port forward remotely instead of killing process on the server

I am making an automatic remote SSH port forward request from my device every few minutes: ssh -y -f -N -R port:localhost:22 user@server \ -o ExitOnForwardFailure=yes -o ServerAliveInterval=60 \ -o ...
Jacek's user avatar
  • 91
26 votes
4 answers
30k 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-...
UrEl's user avatar
  • 841
2 votes
1 answer
3k 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 ...
epeleg's user avatar
  • 569
7 votes
2 answers
7k views

Cannot access LAN with WAN address from within my LAN [duplicate]

Ok my title is a little bit convoluted. Allow me to explain. I have a server in my LAN that listens for HTTP connections at let's say 192.168.1.10:1234. I can access this address from my other ...
nikferrari's user avatar
24 votes
4 answers
73k 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 ...
ShadowZzz's user avatar
  • 375
10 votes
1 answer
90k 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?
mordack550's user avatar
0 votes
1 answer
1k views

Port forwarding not working on router using NAT?

I have a Dlink router which uses NAT and I tried several ports but every time I try to connect my server(Raspberry Pi) it says connection refused. I can’t connect to the server on the RPi itself.
MIDAS's user avatar
  • 11
9 votes
2 answers
25k views

Access external IP from inside the network?

I have setup a subdomain sub.example.com in the DNS-records of my domainname-provider that I linked to my external IP. I then forwarded port 80 in the router (Sitecom Broadband Router 54G) to the IP ...
Dylan's user avatar
  • 343
5 votes
4 answers
7k 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 ...
Aamir's user avatar
  • 295
3 votes
4 answers
12k 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 ...
bilal's user avatar
  • 31
2 votes
6 answers
68k 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 ...
CT.'s user avatar
  • 2,799
1 vote
1 answer
1k views

SSH port forwarding remote to local in nested server for postgres database in one line

I have 2 servers as [email protected] and [email protected], I want to connect to [email protected] but I cannot connect to it directly due to restrictions, I have to first connect to ubuntu@...
user1735921's user avatar
1 vote
2 answers
16k views

How to open port via SSH tunnel?

There is a system B with the following open servers: I have a web server listening on port 80 and a ssh server listening on 22. However, only port 22 is publicly available. Now, I would like to create ...
IceFire's user avatar
  • 137
0 votes
2 answers
3k views

Open SSH port a bad idea on a Raspberry Pi?

I have a Raspberry Pi at home that I have connected to my home network. I use it to run a VPN server, SSH tunnel, and occasionally I SSH into it to perform maintenance on it. Is it a bad idea to have ...
brad barnes's user avatar
0 votes
1 answer
1k views

Can not access server using Port forwarding

I am trying to access the server from the public ip. for that I have enabled port forwarding on the tp-link router for port 8069. My pubic is is 123.201.xx.xx When I try to access my public address ...
Atul's user avatar
  • 156
0 votes
2 answers
885 views

WAMP port forwarding on Windows 7

I have a problem with port forwarding. I run on Windows 7. I have installed WAMP on my PC and I want to put it online. I disabled my firewall, apply port forwarding on my router (in my case: 8343 to ...
Eliel Haouzi's user avatar
92 votes
6 answers
149k 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?
user16654's user avatar
  • 1,173
52 votes
7 answers
176k 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
Daniel Cukier's user avatar
22 votes
5 answers
71k 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 ...
SCO's user avatar
  • 223
20 votes
1 answer
121k 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 access ...
Ivan's user avatar
  • 2,214
16 votes
1 answer
23k 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 ...
cripto's user avatar
  • 395
12 votes
1 answer
103k views

Port is open, but can't access it via external IP address

I have RavenDB running on localhost:8080. I would like to make it externally accessible, just as a test (ignore security concerns for now). To do so, I configured my router to forward external port ...
DumpsterDoofus's user avatar
9 votes
0 answers
8k views

Why is there no UDP port forwarding in SSH?

I know SSH can forward TCP ports, not UDP. I'm not seeking help to circumvent this restriction (this subject is covered here). I'd like to know what is the reason SSH never got UDP forwarding ability....
Kamil Maciorowski's user avatar
8 votes
4 answers
45k 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 ...
Meke's user avatar
  • 183
7 votes
3 answers
4k views

Iptables forwarding port/s to a external IP transparently (remote end should see the actual source IP)

The question is simple but I think the answer might not be as I went through countless related topics with no concrete reply. I wish to forward a port 1234 from x.x.x.x to y.y.y.y (both on internet ...
Sam's user avatar
  • 71
5 votes
2 answers
9k 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. ...
Kaz's user avatar
  • 2,691
5 votes
1 answer
16k 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 ...
icu222much's user avatar
5 votes
1 answer
33k 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 ...
Chankey Pathak's user avatar
3 votes
1 answer
964 views

Server only reachable over VPN

I have an Apache server running on a Raspberry P and it works just fine in the local network. And after forwarding port 80 and trying to connect using the public IP, Chrome says ERR_CONNECTION_REFUSED....
mischnic's user avatar
3 votes
1 answer
10k views

Forwarding ports after carrier grade NAT?

I cant forward ports anymore to my Xbox cause turns out my ISP recently refreshed IPs and all their IPs are public now and they say you can only forward ports if I request a static IP for a large ...
jeffmangum's user avatar
3 votes
1 answer
657 views

Establishing an SSH connection between machines behind firewalls

I have two machines, A and C, each of which is behind a firewall so they can’t accept incoming SSH requests on port 22. I have a third machine, B, outside both firewalls and I wanted to SSH from A to ...
pythonic metaphor's user avatar
3 votes
1 answer
11k views

How to port forward on Genexis Platinum 4410?

I have checked portforward.com but it does not have anything regarding this router. I have searched the router console, but could not find anything other than inbound firewall rules(is that the same ...
Ashish Deep Singh Bhatial's user avatar
2 votes
1 answer
2k views

VNC with hops multiple machine

I want to acces a remote machine that in inside another machine. I can ssh to it but can't see any in VNC viewer. That's the configuration. external_ip port 3999 to internal_ip192 port 3999 ...
XcoreX1's user avatar
  • 21
1 vote
2 answers
2k 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 ...
scicalculator's user avatar
1 vote
2 answers
740 views

Why does the original site work, but port forwarding to the same site fails?

Ultimately I'd like to port forward an HTTP connection. Troubleshooting the command in the linked question, I tried this: ssh -L localhost:8888:www.google.com:80 -N localhost If I now go to ...
Leo's user avatar
  • 575
0 votes
2 answers
594 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?
livetolearn's user avatar
0 votes
2 answers
4k views

Incoming port blocking by ISP

First post here. I've recently moved into an area where there's only one ISP. I had a file server running on my Windows based machine (FileRun) which was working seamlessly. I had configured a port ...
Faraz Azhar's user avatar
-1 votes
5 answers
7k 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 ...
Tim Tom's user avatar
  • 121
80 votes
2 answers
91k 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!
user avatar
56 votes
2 answers
22k 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 ...
Matt Joiner's user avatar
  • 1,074
40 votes
3 answers
85k 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 ...
geoff's user avatar
  • 513
26 votes
2 answers
54k views

Chrome ssh tunnel forwarding

I am first logging into an ssh server. Then I am trying to use Chrome for ssh tunnel forwarding. Is there a gui way of doing this? I can do this in Firefox's gui in like 10 seconds so I would think ...
cokedude's user avatar
  • 439
25 votes
1 answer
85k views

NAT vs. port forwarding [duplicate]

Possible Duplicate: What is port forwarding and what is it used for? What is the difference between NAT and port forwarding? Are they two different names for the same thing? What would be a short ...
Bunkai.Satori's user avatar
19 votes
8 answers
51k views

ssh through a router without port forwarding

I have a linux server, and I want to put it in a home network behind a router. I need to ssh to this server sometime from outside, but I don't want to set up port forwarding because I don't have ...
Jiechao Li's user avatar
18 votes
2 answers
65k views

Windows 10 - NAT - Port forwarding & IP masquerade

I'm looking for a way to get iptables functionality in windows 10. I enabled IP routing and I need to forward tcp data to another host (port 8080) and then forward his response while masquerading IP. ...
Orestis P.'s user avatar