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.

914 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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 ...
7
votes
0answers
4k 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....
5
votes
0answers
3k views

How do I remote SSH into an IPv6 address behind a router firewall?

I have this fancy new ubuntu server I just built assembled, and I'm trying to set up ssh from anywhere so I can keep it headless. I've been able to set it up locally, and as long as I'm on the ...
5
votes
2answers
4k views

Port forwarding + shared connection with Ubuntu

Because my wireless router's ethernet ports are defective, I set up a shared wireless connection from my laptop (which has wifi) to my eMac (which does not) via a crossover ethernet cable. The laptop ...
5
votes
4answers
11k views

Android PortForwarding

Is there a way to do WiFi tethering on my Android and do port forwarding for my PC from the Android. What I mean is: Internet --> Android Android has the port forwarding to PC (XAMPP) PC running ...
5
votes
1answer
15k views

How do I enable UPnP support in Windows 7?

Is there a checklist for enabling UPnP in Windows 7? I am on a home network with Network Discovery enabled in Network and Sharing Center, UPnP is enabled on my router, SSDP Discovery and UPnP Device ...
4
votes
0answers
28k views

What ports do I have to open for SMB sharing?

So I have a relatively simple Setup for a 5-people Company I am currently working on. This Setup includes: 1 Server 1 Router 3+ "Clients" I want to open a Windows Network share on the Server, to be ...
4
votes
0answers
755 views

ssh port-forwarding and remote bind failure: ExitOnForwardFailure not working?

I have two FreeBSD 9 hosts and I want to maintain a tunnel to reach firewalled host R from a high port on cloud host C. ssh -y -i tunnel_id_rsa -o ConnectTimeout=60 -o ServerAliveInterval=20 -o ...
4
votes
0answers
967 views

VirtualBox Port Forward not working when Guest IP *IS* specified (while doc says opposite)

Trying to port forward from host (Mac OS X) 127.0.0.1:8282 -> guest (CentOS)'s 10.10.10.10:8080. Existing port forwards include 127.0.0.1:8181 and 9191 to guest without any IP specified (so whatever ...
4
votes
0answers
9k views

Can't connect to qbittorrent (or other client) Web UI, except through localhost

I'm trying to use qBittorrent's (I've also tried other torrent clients') remote Web UI, but can't seem to get it to work. I can connect just fine using http://localhost:PORT, but can't connect using ...
3
votes
1answer
1k views

Italics issue while trying to host/join a room in Gameranger

Okay so I use this software called Gameranger to play my game Age of Empires (conqueror's expansion) and usually , there is this issue that happens. If your name appears in italic while you're in a ...
3
votes
0answers
64 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 ...
3
votes
1answer
110 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 ...
3
votes
0answers
158 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 ...
3
votes
1answer
1k 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 ...
3
votes
1answer
939 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 ...
3
votes
0answers
46 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 ...
3
votes
0answers
2k 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 ...
3
votes
1answer
1k 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 ...
3
votes
1answer
2k 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 ...
3
votes
1answer
6k views

Internet Connection Sharing (ICS) Port Forwarding?

When connecting my XBox One to my laptop via ICS I am able to open port 3074 required to receive an open NAT type, but other ports do not appear to open when added using the same method as 3074, using ...
3
votes
0answers
878 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 ...
3
votes
0answers
2k 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:...
3
votes
1answer
624 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 ...
3
votes
1answer
593 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 ...
3
votes
1answer
799 views

Is there such thing like a port forwarding service out in the internet?

I'm looking for a service on the internet allowing me to redirect TCP connections. My company's firewall is very strict and allows only HTTP (through a transparent proxy) or SSL on only port 443. I ...
3
votes
1answer
663 views

SSH Port closed although forwarded correctly

I'm having an issue with opening my SSH port. Here are the symptoms. Within the local network I can ssh to the machine, including both locally (ssh localhost) and from alternate computers. I have ...
3
votes
2answers
24k views

Port-forwarding in router ZTE ZXHN F660: hidden settings

In my company, we have a ZTE ZXHN F660 router, and we need to do a port-forwarding to access a DB allocated in one of our machines through public IP. We have login into router admin page (visit ...
2
votes
1answer
46 views

Cannot access SSH from WAN even though server itself is reachable

I have a server in my local network that I use for work over SSH. I have no issue connecting to it from LAN. The issue comes when I try to connect to it from outside. I've set up Port Forwarding for ...
2
votes
0answers
110 views

How to enable UPnP/NAT-PMP in a setup with cascaded routers

I have a network setup with two cascaded routers (no double-NAT) and I want to enable UPnP/NAT-PMP on all subnets. Setup: <Internet>--<Router 1>+--<Router 2>+--<Subnet 1>--&...
2
votes
0answers
25 views

Connect to an lt2p VPN client

I've ran into an issue that may be related to several different posts, but I'm not sure what the actual process is or where to even start. Currently I have successfully set up a VPN with xl2tpd/...
2
votes
1answer
54 views

Connecting to Server on remote through port fails due to dynamic random port

I am trying to connect to a supercomputer through ssh and port forwarding. The application is a C++ both server and client. Here is the port data : // default values server_address = "localhost"; ...
2
votes
0answers
75 views

Port Forwarding when using a Bridge and IPTables

I have a Raspberry Pi that I am using as a bridge to allow it to act as a router to devices attached to it either via a physical port (eth0) or a wireless connection (wlan0). The Raspberry Pi has a 4G ...
2
votes
0answers
123 views

Forward specific localhost ports to same port at a remote IP with pfctl on macOS?

I'm trying to forward all traffic to a collection of ports on localhost to the same ports at a specific remote IP using pfctl. From what I understand, I can do this by routing the loopback connections ...
2
votes
0answers
267 views

Raspberry Pi streaming video - stream is accessible locally, but port forwarding is not working

What I'm trying to do: Stream video from a Raspberry Pi connected to a mifi router, and access the stream from a different network using port forwarding. What I've done: I'm running motion on a ...
2
votes
0answers
235 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. ...
2
votes
1answer
76 views

Unable to get RT-AC51U to forward ports in double router setup]

I'm attempting to setup a router to be used as the WAN modem (TalkTalk Wi-Fi Hub 192.168.1.1), which has a single internal router (the RT-AC51U) as a client. My server and other devices are connected ...
2
votes
1answer
168 views

How to access a host with known host name from device supporting only IP numbers?

The problem: There's a service on server with changing IP address, but constant host name (Dyndns or similar). But the client device that wants to use the service can access it only by IP, not host ...
2
votes
0answers
3k views

What does the port forwarding feature “port range” & “local port” do?

My ASUS router has a a port range option in my port forwarding along with local port. Do I need to use both when port forwarding? I understand that port range is used for forwarding ports within a ...
2
votes
1answer
2k views

Mount NFS Share without Portmapper

I am trying to use NFS over an SSH tunnel to share a directory. I explicitly specify TCP port 2049, but there is apparently more I need to do. It seems to have something to do with the "portmapper" ...
2
votes
0answers
1k views

Configure sslh with transparent proxy support

I need to configure sslh in my custom linux ( debian based ) for port multiplication. I could do the port multiplication without transparent proxy mode. But transparent proxy mode is not working. I ...
2
votes
0answers
143 views

Network connections immediately closed when connecting to home server from home

My SSH and VNC connections freeze a few seconds after they get established when I connect to my home Linux computers from home using their external IP addresses. Everything works fine when I connect ...
2
votes
0answers
557 views

Port forwarding over VPN

Today i was trying to configure RDP. PC2: 192.168.1.10 R1, R2: Mikrotik VPN is connect over internet RDP from PC1 to PC2 and from PC3 to PC1 works fine but from PC3 to PC2 through R1 dont work. I ...
2
votes
1answer
1k views

SSL for IPv4 over IPv6 forwarded connection

regarding this question there is the following network setup. At home there is a cubieboard running an Apache server behind me router. Problem is that my ISP only gives me a IPv6 address and uses DS-...
2
votes
0answers
342 views

How do I prevent my SSH tunnel port forwarding rules from disconnecting when idle?

I've set up some reverse port forwarding rules on my KiTTY (fork of PuTTY) client (Windows 7) through a SSH Tunnel to my remote OpenSSH server (Windows 2012). Everything works great at first, as using ...
2
votes
0answers
1k views

ESP8266 SERVER PORT FORWARDING

Learning to implement a small server with the ESP8266 NODEMCU Amica board, it works and responds to a simple command by writing a string on my browser's screen. The server can be accessed from ...
2
votes
0answers
5k views

howto do a port forwarding on a windows 2012 server

Server has 2 network cards: 1) a WAN connection - 2) a LAN connection - NAT is configured and works - but I want to connect to a particular ip address from the outside using port forwarding - ...
2
votes
0answers
3k views

Getting Wake on Internet (WAN WOL - Magic Packet) run on Windows 10? (Intel I217-V)

Under Network Adapters I have an Intel Ethernet Connection I217-V. With Windows 7 I was able to configure my computer to wake up on a magic packet, I am using the app WolON. After a fresh ...
2
votes
2answers
1k views

How safe is it to host an HTTP Apache server at home?

I have an old server with Ubuntu server and Apache2 installed. I am using it to run a small one page site. I am using 'freenoms' for the free domain 'musicmash.tk' which is connecting to my public IP. ...
2
votes
0answers
1k views

Asus RT-N66U Port Forwarding with VPN to PIA

I have an Asus RT-N66U router (using the latest firmware) that is connected to my ISPs fiber modem using PPPoE. I have signed up for VPN access to PIA and setup the router to connect using its VPN ...

1
2 3 4 5
19