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
226
votes
1answer
493k 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 ...
11
votes
4answers
7k 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 ...
9
votes
4answers
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 ...
2
votes
2answers
2k 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 ...
3
votes
6answers
10k 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 ...
26
votes
4answers
27k 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-...
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 ...
10
votes
4answers
35k 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, ...
1
vote
2answers
5k 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 ...
7
votes
2answers
62k 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?
5
votes
4answers
5k 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 ...
3
votes
4answers
8k 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 ...
2
votes
6answers
60k 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 ...
0
votes
2answers
2k 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 ...
68
votes
5answers
93k 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?
16
votes
1answer
21k 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
4answers
36k 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 ...
5
votes
2answers
17k 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 ...
2
votes
1answer
8k 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 ...
18
votes
1answer
107k 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 ...
4
votes
3answers
2k 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 ...
3
votes
1answer
479 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 ...
2
votes
6answers
1k 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: ...
0
votes
2answers
11k views

Some confusion about listening and open ports, difference between listening, open and blocked

I have been strugling for some time now to open ports on some Linux machines and I have followed some tutorials, which I tried in 2 different Linux VMs and failed for either, and after some research I ...
-1
votes
5answers
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 ...
5
votes
1answer
25k 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 ...
5
votes
1answer
14k 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 ...
4
votes
1answer
4k views

firewall-cmd - add-forward-port don't work

I have a KVM server (host) with multiple virtual machines (guests). My goal is my host forward port 222 to port 22 of a guest running an ssh service. This works... iptables -I OUTPUT -d 0.0.0.0/0 -...
3
votes
1answer
555 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....
2
votes
2answers
177 views

Could a port-forwarded gaming console put the rest of my network at risk?

I have been unable to play games online with friends due to NAT problems, and a solution that I've found from multiple sources (including the router company) is to try to port-forward the console (...
1
vote
2answers
1k 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 ...
1
vote
1answer
743 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 ...
0
votes
1answer
814 views

Expose a mysql server over an ssh tunnel

I've used remote and local forwarding with succes in the past, but this time I can't get a setup to work. What I'm trying to achieve: Make my sql server publicly reachable so the Google CloudSql can ...
0
votes
2answers
585 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?
44
votes
6answers
128k 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
58
votes
2answers
49k 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!
18
votes
2answers
35k 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 ...
12
votes
6answers
33k 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 ...
37
votes
3answers
69k 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 ...
21
votes
5answers
51k 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 ...
7
votes
3answers
7k 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 ...
46
votes
2answers
17k 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 ...
19
votes
1answer
63k 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 ...
14
votes
3answers
63k 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 ...
5
votes
2answers
6k 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 ...
18
votes
4answers
52k 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 ...
8
votes
1answer
68k 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 ...
5
votes
2answers
7k 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
21k views

OpenVPN server to forward incoming connection to client

Scenario: Server on the internet has OpenVPN server running. Client-1 at home has app running on port 5000 (UDP and TCP), connecting to Server on it's OpenVPN (app binds to 0.0.0.0). Client-2 at work ...
7
votes
5answers
9k 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’...