Questions tagged [portforwarding]

Port forwarding or port mapping is a name given to the combined technique of translating the address and/or port number of a packet to a new destination, possibly accepting such packet(s) in a packet filter (firewall), or forwarding the packet according to the routing table.

If you have a local such as or you may need port forwarding settings on your network equipments such as router to make your server accessible from the Internet by knowing your network external IP or using any dynamic dns services such as dyndns.org. The following website, is regarded as an ultimate resource showing you how to apply port forwarding settings on your router. It is classified database for most routers available world wide:

http://portforward.com/english/routers/port_forwarding/routerindex.htm

1280 questions
8
votes
2 answers

Boot2Docker - Access webserver as localhost

Created a apache webserver as Docker container but want to access it on windows os browser as localhost. I can access the webserver with boot2docker private ip address which is 192.168.59.103 but would like to access the webserver as localhost i.e…
user1581721
  • 177
  • 3
  • 10
8
votes
1 answer

Cloning and forwarding packets to multiple IP addresses

I'm trying to forward all incoming TCP packets to multiple IP addresses. Setup: A - 10.10.10.10 B - 10.10.10.11 C - 10.10.10.12 D - 10.10.10.13 I want B, C and D to receive (on port 8000) all incoming packets on port 12345 of A. Ideally I wanted A…
rcadima
  • 81
  • 1
  • 3
7
votes
1 answer

Port Forwarding (NAT UPNP) ERROR

Im trying to set port forwarding using c#, but I keep getting this error in visual studio. Interop type 'NATUPNPLib.UPnPNATClass' cannot be embedded. Use the applicable interface instead. this is the code: NATUPNPLib.UPnPNATClass upnpnat = new…
Igor
  • 1,414
  • 4
  • 21
  • 43
7
votes
2 answers

Enable keepalives in Plink

We are using Plink for a tunnel to a MySQL. We are using it in this format: plink.exe -L [Port of our client]:[my-sql server host name]:3306 [bridge server ssh username]@[bridge server IP] -i [private key] We cannot find an option to prevent the…
Matioski
  • 97
  • 1
  • 8
7
votes
4 answers

Fast implementation of a port forward in Java

I have build a simple application that opens a ServerSocket, and on connection, it connects itself to another server socket on a remote machine. To implement port forwarding, I use two threads, one that reads from the local inputstream and streams…
Daniel
  • 25,883
  • 17
  • 87
  • 130
7
votes
5 answers

Trouble with Vagrant - "404 - Not Found"

I am attempting to make a LAMP box using Vagrant. I have been told that it is quite simple to use. I am completely new to networks and virtual machines and have very little experience with Linux/Ubuntu. I have currently tried following the tutorial…
Dimi
  • 177
  • 2
  • 7
7
votes
4 answers

need to use git behind firewall: trying ssh tunneling

I am trying to use ssh port forwarding to defeat corporate firewall: ssh git@GIT_SERVER -L9418:GIT_SERVER:9418 and in another terminal I run git clone git://localhost:repositories/project.git But I get the following error: Initialized empty Git…
Jacko
  • 11,326
  • 15
  • 66
  • 112
7
votes
2 answers

Allow Public IP to connect via WebSockets

I tried to creating a chat with nodejs ws (einaros),this is my code: Server: var WebSocketServer = require('ws').Server; var wss = new WebSocketServer({ port: 80 }); wss.on('connection', function(ws) { console.log('connecting count:' +…
Nagi
  • 71
  • 1
  • 4
7
votes
2 answers

How to forward one local port to another?

I have a HTTP proxy server running on port 127.0.0.1:8888. I need to redirect a HTTP client binding to 127.0.0.1:8080 to be forwarded to 127.0.0.1:8888. I tried using netsh.exe utility in Windows. I have DHCP client service running in my windows…
justcoding121
  • 1,916
  • 1
  • 26
  • 31
7
votes
3 answers

How to bring wamp server online?

I have already tried port forwarding through router and also disabled my firewall. I also edited httpd.conf. There I changed Listen 80 to Listen 8080 I also changed ServerName from localhost:80 to :80 i.e 192.168.1.2:80. Finally I…
Mithilesh
  • 188
  • 1
  • 6
  • 17
7
votes
2 answers

What are the best options for NAT port forwarding?

I'd like to make it easy for users to forward a port on their NAT to their local machine for my C++ app. I'd like to make this work on OSX & Windows. Linux would be a great bonus, but Linux users are probably more comfortable forwarding ports…
twk
  • 15,310
  • 21
  • 68
  • 95
7
votes
2 answers

Nginx hide forwarded port number

I'm trying to set up a simple static website, and I have an issue with nginx that's complicated by a number of things, most notably the fact that my ISP blocks all inbound port 80 traffic. First, I got a web forward set up so that www.mysite.com…
bjacobel
  • 395
  • 7
  • 11
6
votes
1 answer

ssh port forwarding (tunneling) in linux

I have a specific scenario that I want to solve. I currently connect to a host via port forwarding: laptop -> gateway -> remote_server_1 and another host: laptop -> remote_server_2 with passwordless login working on both. Neither of the remote…
tdc
  • 7,149
  • 11
  • 38
  • 61
6
votes
3 answers

Access a localhost running in Windows from inside WSL2?

I am running a local AEM server in my Windows machine. The server is running on localhost:4502. I am using Ubuntu distro running in WSL2 for my development. I want to access the localhost:4502 running in the Windows machine in my WSL2 Ubuntu. Is…
6
votes
1 answer

JSch multiple tunnels/jumphosts

I'm not sure if this is caused by using a private key instead of password for the port forwarding but here's what I'm trying to do I need to forward local port 3308 all the way to the my SQL DB at 3306. I can run things like this all together in…
Fangming
  • 20,957
  • 4
  • 91
  • 84