Skip to main content

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.

3 votes
3 answers
3k views

How do I use ssh ProxyCommand to connect to remote MySQL server behind bastion host?

Three machines are involved here. Localhost where I do my development. AKA laptop. Bastion host where you must connect first. AKA jump. MySQL server where I want to connect to. AKA DB. My ssh ...
phpguru's user avatar
  • 588
3 votes
2 answers
2k views

Port forwarding to another network adapter

I have two network adapters which are wireless and cable network. I want to use wireless network for Skype, torrent, MSN or something not related with jobs but I want to use cable network for RDP, ...
uzay95's user avatar
  • 249
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
3 votes
2 answers
1k views

bittorrent upload with closed ports

I just downloaded a linux image using bittorrent. Although the port seems to be closed I noticed that my client was also uploading. As far as I know UPNP and NAT-PMP are disabled in my current network....
user avatar
3 votes
3 answers
8k views

WRT54G - how use port forwarding and VNC

Since I have my home network behind a WRT54G, the router has an external "real" IP address, and the PCs behind it have 192.168.xxx.xxx addresses. I would like to be able to control one of them ...
user avatar
3 votes
1 answer
2k views

Proxmox port forwarding to Container behind NAT

We have recently bought a server from the Hetzner server auction and want to migrate our previous root server. Previously we used only windows server, but now we want to set it up a bit more modular ...
Raphael's user avatar
  • 153
3 votes
1 answer
7k views

How to PXE boot over WAN

I currently have a Debian PC and a Raspbian Raspberry Pi on my home network behind my router. The router has a port open for me in which I can ssh into the rPi when I'm away, and then once I'm in the ...
jia103's user avatar
  • 564
3 votes
1 answer
2k views

Obtaining SSL Certificate from Let's Encrypt While ISP Blocks Port 80

Currently I'm running an apache http server listening on port 81 since my ISP blocks port 80. I'd like to obtain a valid ssl certificate and I've been reading this forum here, but I don't entirely ...
Erik's user avatar
  • 141
3 votes
1 answer
2k views

Troubleshooting port forwarding

I'm trying to run a web server from my home network, but I have some difficulty reaching my server from the WAN. If you have an idea where the problem could lie, or need more information, please let ...
David's user avatar
  • 93
3 votes
1 answer
677 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
3k views

Port Forwarding with 2 NICs via Windows 7 firewall

I have a computer with two network cards, each of them connected to a separate network. I would like to forward all requests that arrive via port X from one networks to port Y on a host in the other ...
LeRookie's user avatar
  • 153
3 votes
1 answer
994 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
11k views

How to achieve Port Forwarding on OpenWrt routers?

I am trying to set up a qBittorent Web UI on my home computer that will be available to me everywhere through Dynamic DNS. I have read the relevant posts here but am still hitting a wall. This is my ...
tridon's user avatar
  • 31
3 votes
2 answers
1k views

Port 53281 (and now also 63356) forwarded on Asus router

I have a new Asus RT-AC68U Dual-band Wireless-AC1900 Router. Under the System Log - Port Forwarding page, I see the following: Destination Proto. Port range Redirect to Local port ALL ...
user1032531's user avatar
  • 1,691
3 votes
2 answers
30k 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 ...
Aashu's user avatar
  • 131
3 votes
3 answers
473 views

Windows 2008 server and Redhat with only 1 ip address, can windows route the traffic?

I have a two home server VMs set up. Windows 2008 server on port 80 and Centos/Redhat on port 8080. Both have separate godaddy domain name A name records pointing to them. But I cant point both domain ...
paul cappucci's user avatar
3 votes
1 answer
8k 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 ...
Gaurav Agarwal's user avatar
3 votes
1 answer
4k views

Is it possible to use SSH port forwarding with FTP?

I tried using SSH port forwarding with FTP but it didn't work even though I used FTP connections. It seems that the FTP server gives you another port number to use, so you must be able to connect to ...
Tianyang Li's user avatar
3 votes
3 answers
4k views

Opening ports on a mac-mini, works locally, not on the LAN

I have my mac mini running a nodejs server on port 8000. On the mac, I can hit it at 127.0.0.1:8000/something. I get back a "hello world" type of response. On the same network, from a different ...
JuddGledhill's user avatar
3 votes
1 answer
27k views

Change PPTP control connection's TCP port number

I have some Windows 7 clients that connect via PPTP to a CentOS server, but I would like them to use a port other than 1723 for the control connection as that port is not available. Is there some way ...
caesay's user avatar
  • 416
3 votes
3 answers
15k views

Port Forwarding to put my web server on The Internet

I went to http://canyouseeme.org/ to check to see what my external IP address. Regardless of what port I enter, it tells me that the port is blocked. I have a LinkSys router that basically has the ...
Ivan's user avatar
  • 2,274
3 votes
1 answer
1k views

HTTP over SSH tunnel on Windows

Situation: Local windows machine runs a very simple HTTP web-server listening to 0.0.0.0:8080. Remote windows machine has OpenSSH server running and I have ssh-credentials but that's all I assume. It ...
Joakim Hagen's user avatar
3 votes
2 answers
773 views

Forward VM ports but disable any other network access

I'm trying to run a minecraft server on a VM. I would like my guest ports to allow access from the rest of the local network the host is on (and to my router so I may open the port to the web). But I ...
Vinz243's user avatar
  • 83
3 votes
1 answer
7k views

How to verify rsync daemon on a remote server is accepting connections

I've got an rsync daemon running on an android phone. I just want to netcat the rsync port on the phone (configured on 1873), to verify the daemon is up and listening to the port, but strangely the ...
Maikol's user avatar
  • 163
3 votes
1 answer
1k views

Port forwarded for a remote access to my ftp server but It only works on my phone

I have an ftp server which I wanted to access from outside of my local network. It is located on the IP 192.168.0.23 port 21. I port forwarded port 21 and tried to connect with my phone while I wasn't ...
WholesomeGhost's user avatar
3 votes
1 answer
2k views

Tunnel ports, thru VPS running OpenVPN, into my home network via Tomato Router

Long-story-short, my ISP has me double-NAT'ed = I can't open ANY ports. My router is running Tomato firmware, and I have its OpenVPN client linked to a VPS running OpenVPN. I can divert my home ...
JohnnyB's user avatar
  • 31
3 votes
2 answers
80 views

2 Connected Devices - Port Forwarding Issue

This is a bit confusing for me to explain but I shall try. I have a raspberry pi, with an apache server running - port forwarding working and it runs fine, I can access from my desktop on http://192....
user1472266's user avatar
3 votes
1 answer
3k views

How to redirect all traffic except SSH to one local port with iptables

Host OS: Ubuntu 16.06 LTS I have my server listening on port 1233. I have to redirect my all TCP and UDP traffic to port 1233 except the SSH port. I successfully redirected my all ports to 1233 with ...
furusiyya's user avatar
3 votes
1 answer
13k views

Iptables MASQUERADE only selected ports

I did port forwarding following this tutorial: http://www.debuntu.org/how-to-redirecting-network-traffic-to-a-new-ip-using-iptables/ iptables -t nat -A PREROUTING -p tcp --dport 1111 -j DNAT --to-...
user2528085's user avatar
3 votes
2 answers
3k views

Port forwarding remote traffic through physical router to go through pfsense VM, then to centos VM web server

I hope this makes sense, I'm completely self taught and planning on going for formal instruction. As I understand this is possible, however I haven't been able to find definitive answers to my ...
progposter's user avatar
3 votes
2 answers
2k 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 ...
rocking's user avatar
  • 97
3 votes
1 answer
3k views

Can't access localhost via public IP

I'm having trouble enabling public access to my XAMMP setup. I've been looking at a few threads over at Tom's Hardware forums to resolve this issue but can't figure out were I'm going wrong. Whenever ...
mindfriction's user avatar
3 votes
1 answer
4k views

Properly portforwarding the external IP with iptables

I am trying to forward all the incoming internet/LAN requests on port 80 to my local machine (running Apache), current iptables work (forward incoming internet traffic to my desktop, but if I try to ...
Stef's user avatar
  • 75
3 votes
0 answers
3k views

Using SSH ProxyJump and SSH Agent Forwarding back to back

There is a series of ProxyJumps I have to do, to get to a specific target system T. The last hop to T does NOT support TCP forwarding at all, causing ProxyJump and ProxyCommand to fail, so that's not ...
GxTruth's user avatar
  • 131
3 votes
0 answers
4k views

How do "peer-port" settings work in Transmission (especially for VPN & port-forwarding-enabled false)?

I am wondering how the "peer-port" settings should be configured when Transmission (specifically transmission-daemon) is working together with a VPN service provider, for which I intend to ...
P A N's user avatar
  • 1,487
3 votes
0 answers
206 views

Trying to run a local server with port forwarding behind a carrier grade network from ISP, but getting no connection with localhost

i'm trying to make a half life server by portforwarding trought my router. It didn't work, i checked it out, and my public IP and my WAN IP were different, then i realised that i was in a carrier ...
João Peterson Scheffer's user avatar
3 votes
1 answer
271 views

Does VirtualBox's .ova appliance creator preserve port forwarding?

If I create a virtual machine in VirtualBox, set software on the machine to listen to port 1234, and configure VirtualBox to forward traffic on port 1234 to the guest, and then export it as an ...
Christos Hayward's user avatar
3 votes
0 answers
306 views

IP forwarding not working within virtual environment due to IPTables

Update: I read https://unix.stackexchange.com/questions/126595/iptables-forward-all-traffic-to-interface and it looks like it has something to do with IPTables, duh, after following the accepted ...
Daniel's user avatar
  • 81
3 votes
0 answers
405 views

Can’t access my Mac’s SSH port outside of my home network. Forwarding rule is set. What might be wrong?

As the title said, I am trying to set my mac as a ssh server. My mac's local IP is 192.168.0.21 and my external IP (router IP) is 98.202.108.***. I went to the sharing and enabled the Remote Login. ...
Di Miao's user avatar
  • 131
3 votes
0 answers
7k views

nginx port forwarding / ssh tunneling

I have a computer (let's call it A) on a local network with no static IP address accessible from the outside. (SSH port AAAAA) A has a webserver that I want to be able to access from the outside I ...
lagarkane's user avatar
  • 131
3 votes
1 answer
3k views

How do I forward a local port to a remote port through SSH? [duplicate]

For example, I want to bind localhost:2222 to remote:22 I want to be able to do this: ssh user@localhost -p 2222 and end up on the remote server via SSH Is this something that can be done using ...
et071385's user avatar
3 votes
1 answer
1k views

Port forwarding for ssh on raspberry pi

I need some help troubleshooting my problem. I am trying to ssh into my pi from a non lan pc. I have port forwarded before and did not expect it to be this difficult. Here is what I have done: 1: Set ...
Ramsey Bissex's user avatar
3 votes
0 answers
59 views

One domain, one external IP, two ports, one machine, three servers

I have one raspberry pi, running an Apache2 webserver on port 80, an Ogar (Agario) server running on port 443 and another Ogar server on port 444. The external location that I need to access this ...
Matthew Taylor's user avatar
3 votes
1 answer
5k views

How to send upnp request using curl

I'm trying to find a way to add port forward using UPnP,I did turned on upnp and I can access http://192.168.1.254:52869/gateconnSCPD.xml that mena that upnp service is on, but I can't get miranda to ...
Slobodan Vidovic's user avatar
3 votes
1 answer
2k views

How do I port forward from adapter to localhost, changing ports

I am using an Ubuntu 16 server. I am trying to use iptables to forward a port from a particular network adapter and port to a specific port on lo/127.0.0.1. It seems like the correct tool. By way ...
Joseph Van Riper's user avatar
3 votes
1 answer
3k views

SSH not creating dynamic forwarding, why?

Edit: meanwhile, I filed a bug with openSSH (https://bugzilla.mindrot.org/show_bug.cgi?id=2577). Should there be any outcome, I will post it here, too. New edit: this limitation will be solved in ...
stueja's user avatar
  • 606
3 votes
0 answers
1k views

Is netsh based forwarding to 127.0.0.1 possible at all?

I've been trying to get netsh forward a port on the lan interface to another port on 127.0.0.1 The reason for this is that I need external machines to ssh into my vagrant virtual machine and I don't ...
mahonya's user avatar
  • 131
3 votes
1 answer
3k views

Port forwarding outgoing request with PF

I'm trying to redirect all outgoing traffic from my local machine on port 843, to go to my local service on port 1234. So, when I make a request to e.g. 1.2.3.4:843, I want it to connect to 127.0.0.1:...
Alexander Olsson's user avatar
3 votes
1 answer
808 views

Connect internet camera and bridge/forward IP traffic

I have an Ubuntu (14.04) machine with two Ethernet cards. One Ethernet card (eth0) is connected to the office network. The machine is addressable from the outside Internet. I have a Web camera that ...
ahoffer's user avatar
  • 355
3 votes
1 answer
659 views

How does uTorrent can automatically forward port through Linux Net Filter based firewall?

I have dilemma: How it is possible that uTorrent shows on my internal machine with internal IP, that my connection is OK (green check in the bottom right of its window), while I never forwarded any ...
saelic's user avatar
  • 131

15 30 50 per page
1
3 4
5
6 7
47