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 ...
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?
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!
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 ...
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
39
votes
4answers
54k 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 ...
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 ...
31
votes
3answers
26k views

How does port-forwarding help in torrents?

I use Transmission to download files but it says that a certain port is required to be opened. However, while this port is closed I noticed that I can still download files with no problem. But when I ...
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-...
24
votes
3answers
94k 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 ...
22
votes
3answers
39k views

I keep on getting a error when I connect to a ssh tunnel on putty

I'm using the current version of putty 0.66 and I keep on getting this error Disconnected: Server protocol violation: unexpected SSH2_MSG_UNIMPLEMENTED packet when I try to connect to a ssh ...
22
votes
4answers
87k views

Possible to “ping” url:port? (OS X-GeekTool)

I'm trying to use GeekTool (Mac pref pane... basically just embeds output of a shell command/script on the desktop... http://lifehacker.com/#!244026/geek-to-live--monitor-your-mac-and-more-with-...
21
votes
5answers
50k 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 ...
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 ...
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 ...
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 ...
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 ...
17
votes
1answer
8k views

SOCKS vs. SSH local port forwarding

What's the difference between using SOCKS (SSH -D) and local port forwarding (SSH -L)
17
votes
1answer
19k views

Is there a script to add port forwarding rule in home router?

TL;DR: I am looking for a script or a cron job, which will periodically run on a linux host (fedora on raspberry pi) which will check if a port forwarding rule still exists in the router and add it if ...
16
votes
2answers
68k views

SSH: Troubleshooting “Remote port forwarding failed for listen port” errors

Question: Why does ssh -N -R 2222:localhost:22 <bluehost_user>@<bluehost_ip> result in a "Remote port forwarding failed for listen port" error? The objective is to establish a ...
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 ...
15
votes
2answers
45k 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. ...
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 ...
14
votes
2answers
40k 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 ...
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 ...
12
votes
3answers
14k views

SSH port forwarding without session

I am trying to forward my port 8085 which is a live camera stream port for a mini http server, to a remote server. My command which I am using is as so: ssh -R $rport:dc-bb7925e7:$camport -p 25 ...
12
votes
3answers
113k views

How safe is port forwarding in general? [closed]

Say I have a few ports open for gaming. My questions are Can I be hacked if the attacker knows my specific external IP? Can hacker access my router and setting by getting through these ports? If so, ...
12
votes
2answers
3k views

OS X: From ipfw to pfctl - Forward port 80 and 443

I found a way to forward ports 80 and 443 to other arbitrary ports (3000 and 3001 in my case) using ipfw. But ipfw is deprecated and replaced by pfctl. Here are my ipfw declarations: sudo ipfw flush ...
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 ...
11
votes
2answers
14k views

VirtualBox command-line - setting up port forwarding

I know how to configure NAT-based port forwarding using the VirtualBox graphical interface (as in the example below). How can I do the same via the command line?
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, ...
10
votes
1answer
20k views

Windows Subsystem for Linux & SSH Port Forwarding

Is it possible to use SSH port forwarding in Windows Subsystem for Linux? If I download the native OpenSSH package, I can forward ports: > ssh -L 5432:localhost:5432 me@host Welcome to Ubuntu 16....
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 ...
9
votes
2answers
17k views

UPnP port mapping client for Linux

Is there any client that can request mapping and unmapping ports via UPnP port mapping behind a NAT gateway? I had problem with PortMap. I want this mostly for testing purposes.
9
votes
1answer
54k views

How safe is it to open ports on your router? [closed]

I want to open some ports on my family's network, for game servers and other protocols like HTTP and FTP. My dad, however, thinks this is unsafe (for him). Is it easy for a hacker to get in to our ...
9
votes
2answers
5k views

MOSH into bastion server, SSH into internal hosts

I have ssh configured to automatically forward through the bastion host: Host bastion_host HostName bastion.example.com Host internal_host ProxyCommand ssh -q bastion_host nc -q0 ...
9
votes
1answer
1k views

Commandline configuring portforwarding service with whitespace

We have a ZyXEL VMG8324-B10A router at home. I am able to log in via ssh and use the command portforward --help, which results in the following output: Usage: portforward config <ServiceName> --...
9
votes
5answers
41k 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 "...
8
votes
5answers
14k 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 is working fine. No problem I thought, I just install port forwarder ...
8
votes
5answers
10k views

How to ssh into home LAN behind ISP NAT (no public IP address)?

My property management company provides free internet access. All the apartments in many buildings are behind some common NAT, so none of us have our own public IP addresses. Thus, services like ...
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 ...
8
votes
1answer
14k 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 ...
7
votes
1answer
3k views

How to choose open port number?

I installed easyPHP and opened a port on my firewall so that other people can access to my webserver. The default port is 8888. But I am wondering how do you choose a port number? Is it really ...
7
votes
4answers
20k views

Configure Tor as a listening proxy server that I can connect to remotely?

I currently have the Vidalia bundle installed on my Windows Server 2008 R2 machine. Is there a way that I can connect to the Tor network through this computer from other computers on the LAN or from ...
7
votes
3answers
4k 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 ...
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 ...
7
votes
5answers
33k views

Port forwarding in a network with 2 routers

I am starting a minecraft server for me and some friends. Everything works as far as I can join and play in it when I use my internal ip (192.168.1.126), but I need to forward port 25565 so my friends ...
7
votes
2answers
28k views

How to Forward Port 22 to allow SSHing from outside LAN [duplicate]

Possible Duplicate: What is port forwarding and what is it used for? I want to be able to SSH my computer from anywhere. I heard I have to forward port 22. I honestly have no idea what that means ...
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 ...
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?

1
2 3 4 5
41