Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [port-forwarding]

port-forwarding on firewall or via SSH

0
votes
1answer
35 views

Port Forwarding to IP not in LAN

I am administering a SSH server and trying to configure port forwarding through my router for access outside of the subnet. The server is located at subnet IP address 192.168.86.97 however, when I try ...
1
vote
0answers
15 views

Redirect browser http request to local server

I have now the following flow. example.com => https://example-example.mycompany.com => myproxy => someServer I am right now developing myproxy and it changes the answers that the clients of ...
0
votes
2answers
39 views

iptables port forwarding with default policy DROP

I have a webserver that runs as normal user so I can't use ports below 1024. The webserver should still be accessed at port 443. I want iptables to port forward 443 to 1443 where my webserver listens ...
0
votes
0answers
22 views

Port forward to broadcast address [closed]

I'm trying to set up wake-on-LAN from the internet to my local PC. For this reason I need to forward 9 and 7 ports to the internal network broadcast. Unfortunately my Technicolor router does not ...
0
votes
1answer
27 views

SRX Juniper port forwarding

I am trying to punch a hole through the Juniper to allow access to a rasperry pi web camera running on a DHCP IP address and on port 8081. This is what I tried: set security zones security-zone trust ...
0
votes
0answers
12 views

Setting up nginx to run more then one nodejs app on https and redirect every http request to https

Nginx is redirecting the http to https successfully. Both apps are up and running on port 3000 and 3001. But only the app on port 3000 is accessible in browser by visting example.com. Whenever I try ...
-1
votes
2answers
102 views

Port forwarding not working on Google Cloud

I've created a rule in google cloud to allow inbound connections, but the port won't open. Can't connect through telnet or online port checkers. Can anyone tell me what could the issue be? I ...
2
votes
1answer
60 views

SSH tunnel and reverse SSH tunnel at the same time on the same port

I have a computer A, a server B (Azure VM) and a second computer C. I want to connect from A to C through the server B. Setup: A: ssh -i location_of_private_key -L 12000:public_IP_of_B:20000 user@...
0
votes
0answers
27 views

ssh tunnel and reverse tunnel on same port

I have a AWS server that I want to use as a bridge to pass a vnc session. I am currently trying to figure things out on my computer. I'm using putty to make the SSH tunnel and the reverse tunnel (...
0
votes
0answers
15 views

Watchguard: Forward incoming traffic to external IP

How is it possible to forward incoming traffic over a specific port to an external IP with WatchGuard Fireware Web UI? Normally, I would create a SNAT, but there's no option to define any external IP.
0
votes
1answer
25 views

NAT: Figuring out IP of broken down machine

I have a machine that was behind a natted router. Unfortunately its harddrive broke down, so I had to replace it. I have port 22 forwarded to it (in the router provided by the ISP) for remote ...
0
votes
0answers
24 views

SELinux: How can I use the 8081 port with apache? [duplicate]

I need to use the 8081 port with Apache but Selinux doesn't allow that: semanage port -l | grep http_port_t http_port_t tcp 80, 81, 443, 488, 8008, 8009, 8443, 9000 semanage ...
0
votes
1answer
32 views

Port forwad public ip port to internal server on different interface

Hello I am trying to port forward a public ip:port I have on a wan interface to a server on my lan my server has two interfaces ens19 [WAN] ens18 [LAN] I then have another server connected on the ...
1
vote
2answers
64 views

How to map public domains to sites hosted in Docker on Synology NAS?

This question is about managing/administering the software of a server in a business environment, so I hope it is not off-topic. We plan to migrate some of our websites to Docker running on our ...
1
vote
1answer
296 views

Port forwarding with firewall-cmd

I have several VMs running on top of a server (Virtual Machine Manager, VMM). I'd like to forward port 80 on the server to port 80 of one of my VMs. The host runs CentOS7, so firewalld is in charge. ...
0
votes
1answer
42 views

Proxy a remote server as localhost

There is a server running in a "remotehost:some_port". I can connect to it from my linux machine like telnet remotehost remoteport. I have an application in the linux machine that is configured to ...
0
votes
1answer
194 views

Putting Tomcat on Port 80 on Amazon Linux 2 (iptables?)

I'm configuring a new EC2 instance, which will be running Tomcat, and I want it accessible on Port 80. Within Amazon Linux 1, the primary strategy I saw people using was to use iptables to do port ...
0
votes
0answers
78 views

Unable to publish Django webserver on CentOS 7

I was working on my machine for Django project, and moved the project files to Linux server to publish the app. Currently I'm not interested in using gunicorn or nginx. I just would like to see if I ...
0
votes
0answers
22 views

Port forwarding access from inside the private network

I have a web server connected to my router. I’ve set up port forwarding and indeed I can access the server from outside my network. But I can’t do the same from inside the network. Why is that?
0
votes
2answers
47 views

Redirect purely LAN communication to a different interface and port (Linux)

I have the following situation: One interface (device) identified by an IP address of 192.168.1.x (I1) that's connecting through whatever service to another interface with IP 192.168.1.y (I2) to port (...
0
votes
1answer
398 views

Split DNS and internal port forwarding

I have a pfSense firewall running in a pretty standard configuration, 1 WAN, 1 LAN. On both sides of the pfsense I'd like to make available a service via DNS name, lets say "service.domain.com". For ...
1
vote
1answer
157 views

Remote port forwarding on SSH server to access internal application server

I am trying to figure out SSH port forwarding and have not found success from looking at different questions and tutorials, it seems that everything I have seen is just a little different than my ...
2
votes
2answers
67 views

extrenal access to ssh server using iptables rules

I have a router running DD-WRT. In my network I have a NAS device which runs an OpenSSH server. I want to be able to access the OpenSSH server from outside the LAN. This is accomplished by adding ...
0
votes
0answers
36 views

Block single port forwarding in Windows

I have a Windows computer with IP Forwarding activated. However, I want to forward everything except the traffic that goes to port 53 in UDP. In Linux, this is easily solved with iptables: iptables -A ...
0
votes
0answers
42 views

Can I forward a packet twice?

This question is better illustrated: Client -> ServerA -> ServerB -> ServerC -> Host Say we want to establish a connection between Client and Host, but, we want to encrypt the traffic at ...
1
vote
2answers
106 views

Redirect ephemeral port to 80

I am starting in AWS and server management in general and just set up a deployment pipeline with ECS and some containers. My container : My host port is 0 and redirected to container port 4200 (...
0
votes
3answers
151 views

Unable to RDP to VM hosted in Windows 2016 Server

I have a windows 2016 server, which hosts a VM (Oracle Virtual Box). VM network setting is NAT with port forward. e.g. 192.168.10.17:5001 gets forward to 10.0.2.15:3389 Here are steps I have tried: ...
0
votes
0answers
255 views

Configure Nginx reverse proxy

I have setup a Linux AMI Node.js app with Nginx. App uses port 4100 for frontend and 3000 for backend. My frontend port 4100 works fine but I get an error for backend "'https://test.example.com/login' ...
0
votes
0answers
11 views

Can't telnet to a Virtual box guest [duplicate]

I have Server 2003 running in a Virtual Box guest VM. The host is Ubuntu 14.04. I have a mail service running in the guest. Logged into the guest and telnet localhost 110 responds with +OK POP3 ...
0
votes
1answer
59 views

App still accessible at reverse proxied port

I am running RStudio Server and Jupyter on a server. I'm using Apache. I have Jupyter reverse proxied from port 8888 to jupyter.myserver.com, and RStudio Server reverse proxied form port 8787 to ...
0
votes
0answers
69 views

pfSense Port Forwarding with Static WAN IP

This is my first pfSense install and I'm trying to setup a WAN static ip portforward to internal ips for our clients to send data to their printers within our building. How I think this should / ...
0
votes
1answer
70 views

Simulate network environment and forwarding packets?

My question might be a bit weird, but here's some background first: I've got a client with devices in their own network with different IPs (mostly 192.168.x.x). From the outside, I connect to one of ...
0
votes
2answers
152 views

How to tighten forward iptables forward chain for DNAT+SNAT traffic

I want my linux router/internet gateway 192.168.80.1 to forward port 9091 to 192.168.80.15:9091 when requested via LAN. I also want my router to forward WAN-originating requests on port 9091 to 192....
0
votes
0answers
66 views

ftp login ok but directory listing fails after port forwarding

I'm making a webserver and my OS is Ubuntu 18.04. My router is an AT&T 2WIRE i38HG I set up a FTP server using proftpd and gadmin-proftpd. When I used the computer's IP address (192.168.1.82) to ...
0
votes
0answers
235 views

forward all traffic between two ports without iptables

I have read this: Port forwarding on Linux without iptables? I have a vps and I have ran lxc containers on it. I want to redirect all incoming traffic from one outside port to one port of a container ...
0
votes
1answer
123 views

Route SSH to internal virtual network via centos7 vm router

Trying to route ssh traffic to vm servers in isolated network on a centos7 KVM host. Can ping from either side but ssh times out. I'm connected to my home router from work via vpn. i have a static ...
0
votes
1answer
53 views

Don't understand Guest_ipaddr in iptables instructions

I am trying to port forward over NAT to a VM in a home network with this guide. (https://aboullaite.me/kvm-qemo-forward-ports-with-iptables/) However, there is a part that requires me to substitute ${...
0
votes
1answer
184 views

Using DNS SRV record to access a virtual server without using the port number

Let's say that I have a theoretical server located at example.com:3000. Is it possible to get that traffic flowing through a SRV record from myserver.example.com? I tried the protocol _tcp and the ...
0
votes
0answers
288 views

Port Forwarding from Router / Public IP to server localhost:80

I have a 4G router connected to the NIC of a Ubuntu 18.04 server. I need to be able to use the public IP of the router to access the webpage hosted on the server. I have correctly configured port ...
0
votes
0answers
131 views

VPN point-to-point without open/forward port, is it possible?

Actually I have a software that is client-server based and running throught a VPN. The server is a computer and the client is an Android device, both running OpenVPN. Is there any way to do this ...
0
votes
1answer
117 views

Serving different secure sites based on port on same domain using nginx

I want to run multiple sites on the same domain, using nginx, but on different ports and want them all to use SSL Let's say, I have two sites siteone.com and sitetwo in the directory /var/www/ as ...
1
vote
1answer
40 views

Multiple SSL on 1 domain/cert/ip/port to multiple servers based on source IP port redirect

I have a very specific question that seems like one that has been asked before in the first place, but it's a bit different and not really a common used case I think. Is it possible to run multiple ...
0
votes
1answer
169 views

Port forwarding to Ubuntu EC2 server fails, after it succeeded the first time

I am attempting to forward local port 8000 on a Windows 10 machine to port 8888 on a remote Ubuntu server on EC2, so that I can access and edit jupyter notebooks on the server from my local machine. ...
1
vote
1answer
30 views

2012 R2 Server stopped allowing external connections overnight

I am using a 2012 R2 server that we use for remote desktop. Overnight, external connections suddently stopped working - no changes to the server, no reboots ( i have now the problem presented ). ...
2
votes
2answers
2k views

ssh port forwarding with firewall-cmd

I'm trying to do an ssh tunnel into a server behind NAT: ssh from laptop --> Host with port forwarding in firewall --> Get directly into guest (172.16.0.2, behind host NAT). Using iptables on Host - ...
0
votes
1answer
156 views

cisco RV325 how to port forward to 3 web servers same LAN

I have 3 devices on a LAN with local DHCP addresses and they both have web servers on port 8080. I want to access them from outside the LAN. I want to have 3 ports on the WAN side of the router ...
0
votes
2answers
820 views

Eroor: $ ssh: Could not resolve hostname [HOSTNAME]: Name or service not known

I am on windows 10 machine. I need to ssh to our Bastion and then do port forwarding to connect to AWS instance. I have a config file that I use to ssh. My config file is as following: Host [host] ...
0
votes
0answers
54 views

Router firmware does not allow to block ports for incoming traffic - how to secure the local network?

I've got a Linksys WRT1900ACS router. Apart from its great performance, it lacks some security features. My main concern for now is that its firmware doesn't have an option to block ports for incoming ...
0
votes
1answer
249 views

ngrok[14746]: Incorrect Usage: flag provided but not defined: -domain

I am trying to create ngrok service in Kali Linux following this link:https://amito.me/2016/09/Building-Your-Own-Ngrok-Service-on-CentOS-7/ leafpad /usr/lib/systemd/system/ngrok.service [Unit] ...
0
votes
0answers
36 views

unable to link noip ddns to my kali linux

I registered a domain bookmarks.ddns.net in noip.com website and added to my router => Dynamic DNS Configuration settings Downloaded and installed noip script on kali linux and its changing dynamic ip ...