2022 Developer Survey is open! Take survey.

Questions tagged [port-forwarding]

port-forwarding on firewall or via SSH

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

Cisco ASA ASDM setup Portforwarding

enter image description here I have follow the step in this video https://youtu.be/cKnAiiUgsgg and the error about appear at 8:48 How to fix it?
user avatar
  • 1
0 votes
1 answer
9 views

UFW route not responding

Hi i tried to make a server where every software running on it is in a vm. i tried using ufw to route the requests and it worked ... locally. when i tried to connect to one of my vm using a vpn i saw ...
user avatar
0 votes
0 answers
13 views

Why is the Nginx server unreachable despite the ports being open?

I am in a very unusual situation and I have spent almost 8 hours trying to figure out what the problem is. The setup I have a server running Debian 11. Inside this server, I have a setup a CentOS ...
user avatar
  • 101
0 votes
0 answers
27 views

VPN without public IP

For tests I need to tunel communication from my MachineA to second place (internet traffic needs to exit from there). On both sides there is no public IP. I was thinking about configuring OpenVPN ...
user avatar
0 votes
0 answers
9 views

connecting domain to a server and port forwarding to show website hosted on another server

I have a website on server A with IP address of 1.1.1.1 and the domain is example.com. I also have another server B which IP address is 2.2.2.2. I want to connect the domain example.net to server B ...
user avatar
1 vote
1 answer
28 views

Properly configuring iptables for two layers of port forwarding: external server connected to local server via VPN

I had a minecraft server running on a VPS (Debian 10), but the VPS was too puny to handle it so I wanted to use a beefier local server to run it (Ubuntu 22.04). The VPS is hosting an OpenVPN server, ...
user avatar
  • 11
-1 votes
1 answer
37 views

Can I assign port 113 to other service, e.g., like a SSH server, without harming other services? [closed]

I have root access to a server (S), but have no control over the firewalls over the network. I set up a virtual machine (VM) inside the server (S) and wanted some users to access VM directly, i.e., ...
user avatar
  • 101
0 votes
1 answer
29 views

Forward HTTP (or TCP) request through NGINX using subdomain to a specific port

I want to expose a local web server through a remote webs server. The remote host has already an Nginx and a web application (webmail). The remote server works as a gateway for the local webserver who'...
user avatar
0 votes
1 answer
24 views

Forward port on VM and keep source IP

I want to forward port 80 from the proxy to nginx and keep the original IP. My current structure: Proxy vm(192.168.0.104) - VM with iptables that redirects all traffic from port 80 to 192.168.106:80 ...
user avatar
5 votes
1 answer
125 views

Using iptables forwarding, while properly keeping source IP

I have a server running Wireguard (thus needing masquerade) and a container running on port 2525. I have the following iptables rules: iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 25 -j DNAT --...
user avatar
  • 1,435
0 votes
0 answers
26 views

Docker isn't fowarding port to redis

I'm trying to run redis in a docker container on AmazonLinux, and I can't for the life of me get it to forward the port. It starts as it should and appears to be working, but there is no process ...
user avatar
0 votes
0 answers
25 views

How can I use iptables to forward port 15672 to the same port on a proxmox virtual machine?

I have a virtual machine that contains a service that listens on port 15672. The server that the VM is on is set up to use iptables to forward requests to the virtual machines. Here are the relevant ...
user avatar
0 votes
1 answer
20 views

Why doesn’t my DigitalOcean load balancer forward traffic to Parse Servers?

Today I created a load balancer and assigned to it 3 droplets (all 3 host parse servers), but it doesn't transfer the traffic to them. It doesn’t even pass the health checks! All 3 of my parse servers,...
user avatar
0 votes
0 answers
43 views

How to Port Forward without routing Internet with OpenVPN

How i install OpenVPN I install OpenVPN on ubuntu server with https://github.com/Nyr/openvpn-install How i achieve Port Forwarding iptables -t nat -A PREROUTING -p tcp -m tcp --dport 80:65535 -j DNAT -...
user avatar
0 votes
0 answers
24 views

iptables: remote packages forward locally

I have glassfish 6 running on a VPS (single machine) and it listens on port http:8080 and https:8081. Port unification is enabled so that 8080 is directed to 8081. On my VPS I use ufw and have ...
user avatar
0 votes
0 answers
323 views

How to port forward to a specific port using openvpn on ubuntu vps remote server

i am struggling with this, i tried 2 different ways, The first way was with UFW, the 2nd way was with iptables, after using grep command, the server is listening on port 1194 for UDP. My problem is ...
user avatar
0 votes
1 answer
35 views

Port forwarding is one way or two way? Requests made on external port are forwarded to internal port; understood. How about route of responses?

Port forwarding is one way or two way? Requests made on external port are forwarded to internal port; understood. How about responses? Do Responses pass by same portforwarding again, or responses are ...
user avatar
0 votes
0 answers
114 views

L2TP VPN. Port Forwarding. Iptables

I have the following setup: 1.) IP camera -> local IP -> Router -> port forward to my public static IP -> Nginx with rtmp module -> IP camera is streaming online perfectly fine. Now ...
user avatar
  • 11
0 votes
0 answers
15 views

Strange Port Forward Behavior

I have multiple facilities with a Sierra Wireless Modem/Router with ports forwarded to an Ubuntu Edge Computer (443 web interface, 22 SSH, etc.) Recently, we're seeing strange behavior where the ...
user avatar
0 votes
1 answer
106 views

Forward UDP ipv6 port in a VPS to UDP ipv4 port in another VPS

I have VPS let's say VPS X that doesn't have IPv4 but only has IPv6. and I have VPS let's say VPS Y that doesn't have IPv6 but only has IPv4. Since IPv4 is still common used today, and some device ...
user avatar
0 votes
0 answers
98 views

Port forwarding on a FortiGate firewall sitting behind an ISP router

I have a FortiGate firewall (30E) which is sitting behind a router (provided by ISP). The router has allocated local IP to the firewall and from this firewall subnet is created on which the server is ...
user avatar
1 vote
0 answers
25 views

Port forwarding through VPN for NAT penetration

Problem: I want Service1 listening on port XXXX hosted on my local windows 10 machine to be accessible to public, but my local machine is behind ISP NAT. I have a Remote Sever with static public IP ...
user avatar
  • 141
0 votes
1 answer
677 views

How do I set up an nginx reverse proxy for Synology drive?

tl;dr I tried setting up nginx to forward a TCP connection over 6690 to Synology Drive. But when using listen 6690 ssl; the Synology Drive Client cannot find the NAS, and when using listen 6690; (...
user avatar
  • 101
0 votes
0 answers
16 views

Remote Access CPU with Different Gateway IP Sierra Wireless Modem

Suppose I have a facility with a simple, flat, LAN on the 192.168.1.x subnet. However, it has two Gateway devices (Sierra Wireless RV55 cell modems) - one at 192.168.1.1, and the other at 192.168.1.2. ...
user avatar
0 votes
1 answer
85 views

How to forward all port from Debian to Windows with OpenVPN

My Setup: Debian 10 from Azure Windows 10 from Azure Debian 10 is a clean new server from Azure with only OpenVPN installed and set up using the script from this Repository. Windows 10 is full of ...
user avatar
0 votes
1 answer
47 views

PHP socket connection through XR300 router to a receipt printer

I have a PHP application which is attempting to open a socket connection to a printer through my router. A couple things to note - my networking skills are lacking so I may be missing something ...
user avatar
  • 103
-1 votes
1 answer
195 views

SSH port forwarding not working remotely

I am trying to build a server with my old PC just out of curiosity. I installed ubuntu 21.10. And connected it with Real VNC. Now I need to connect it with ssh. I can connect to the PC via the local ...
user avatar
0 votes
1 answer
64 views

SSH remote forward success but test from remote site not working

Took me a while to figure this out, but finally got remote port forwarding to work with ssh as follows: ssh -N -i /etc/ssh/id_rsa user@somewhere.com -R 8080:localhost:80 -C -v The local server uses a ...
user avatar
  • 105
0 votes
0 answers
44 views

Port accessible and open in local but not open for outside network Windows 11 Port 80 and 443

I am running docker container on windows 11 PC. I am completely lost and spend more than 24 hours in this debugging Expected Result : Mapping subdomain to my hosted project on the docker container I ...
user avatar
0 votes
0 answers
65 views

asuswrt simple port forward (router in DMZ) not working

On a relatively simple remote network I'm trying to forward to one service on an internal host, but it is strangely not working. The setup is like this: modem defines internal asuswrt merlin router ...
user avatar
0 votes
1 answer
66 views

Can a previously define Host be used as a Hostname in .ssh/config file for a tunnel configuration using LocalForward?

So, I have a bunch of servers that are only accessible thru a bastion host. My bastion host, however has a dynamic IP which change randomly. For ssh'ing into the various server, I simply have a .ssh/...
user avatar
0 votes
0 answers
24 views

Router Port Forwarded Socks5 Server Doesn't Work

So, I have a remote ubuntu server running, and I decided to setup a Socks5 server on it for fun. I used the following command to port forward it ssh -D 1080 ubuntu@<ip_address>, and that works ...
user avatar
0 votes
1 answer
42 views

How can I do this port-forward?

Hello I try to do a port forward in this network As you can see I have the localhost when I want to execute a curl to localhost:9203, in order to get access to 10.0.0.1:9200. 10.0.0.1:9200 is a ...
user avatar
  • 113
1 vote
1 answer
146 views

What is UDP Masquerading behavior when forwarding and listening on the same port to the same remote address?

Assuming the following: ||netns2|<-kernel routing-> netnsRoot| <-network routing-> |remote server| netns2 is a network namespace has a client that connects to the UDP server on UDP/5060 ...
user avatar
0 votes
1 answer
206 views

Iptables Port-forwarding while preserving client IP

TL;DR: How can I get the client ip connecting to a remotely hosted VPS to be the IP that gets forwarded/natted, via iptables, to a game server running at my house? I have a Rust game server that I am ...
user avatar
  • 3
0 votes
1 answer
64 views

SSH Tunnel / similar setup to connect to services which are associated to private network

here is my issue. OS : Oracle Linux 7.8 Management IP(Putty accessible) eth0: 10.250.0.210 App IP (not accessible outside) eth1: 10.250.4.210 I have a website running on 10.250.4.210:80. I need to ...
user avatar
  • 3
0 votes
1 answer
99 views

No Pods reachable or schedulable on kubernetes cluster

I have 2 kubernetes clusters in the IBM cloud, one has 2 Nodes, the other one 4. The one that has 4 Nodes is working properly but at the other one I had to temporarily remove the worker nodes due to ...
user avatar
  • 131
0 votes
0 answers
25 views

how to access local ip over Openvpn

i have openvpn server on vps and i have ubuntu client in my home in vps i can ping all local ip on my home ubuntu client ip is 10.8.0.10 and local network is 192.168.88.0 now i want to access local ip ...
user avatar
  • 1
0 votes
0 answers
186 views

port forwarding through a bastion host

I want to port-forward to a server through bastion host. The way I connect to bastion is why my ssh key after I login to the company network. The connection from the bastion to the server, I want to ...
user avatar
  • 101
0 votes
0 answers
114 views

ssh with WAN IP timeout

I have trouble setting up ssh clone for gitea. I use port 2222:22 for the docker, and port forwarding is set up on my router. I could ssh git@localhost -p 2222, but could not ssh git@<public_ip> ...
user avatar
  • 1
0 votes
2 answers
72 views

Inbound SMTP not working

I am in the process of deploying and configuring an on-premise exchange 2016 server. My inbound/receive connector is not working. When I telnet into my server on port 25 from a computer on an external ...
user avatar
0 votes
0 answers
122 views

Port forwarding while preserving the source IP address with firewalld

I signed up with a new ISP and they dont provide me with a external IPv4 address. Ive set up a virtual server (S) (that has an address) to relay all my stuff to my box at home (B) using a wireguard ...
user avatar
0 votes
0 answers
53 views

Connection timeout when hitting port-forwarded endpoint; works fine with local IP

In pfSense, I have this rule: https://i.imgur.com/10jE1Gs.png Where 192.168.1.203 is my target machine and I have a rancher app hosted at port 8081. If I hit https://MY_DOMAIN_NAME:8081--...
user avatar
  • 63
0 votes
1 answer
64 views

Forward http port to another port in same machine according http header?

I'm planning make two websites in same machine. Which first website running on port 8433 and second website running on port 9433 Im using ubuntu 20.04 Assume i have two domains, let's say foo.me and ...
user avatar
0 votes
0 answers
209 views

MetalLB on a host with multiple NIC

I need help with some deeper networking stuff. Hopefully somebody can help me or at least push me to the right direction. At the moment I have a two node bare metal (VPS) kubernetes cluster setup with ...
user avatar
0 votes
1 answer
556 views

Firewalld port forwarding Proxmox makes port unusable for other connections

I have a server hosted by hetzner with a single public ip address which runs proxmox and some VMs. This ip address is configured inside /etc/interfaces like this: auto enp35s0 iface enp35s0 inet ...
user avatar
0 votes
0 answers
149 views

How to forward all trafice from microk8s cluster through firewalld?

I have a microk8s cluster on a Centos8 host. The host uses iptables-legacy and firewalld. I have troubles getting the cluster to talk with the internet, and recently found that these two tools are ...
user avatar
  • 111
0 votes
1 answer
92 views

How to port forward on an ATT Router/Modem?

I am trying to open port 2222 for an open-ssh server on my linux machine. I am able to log into it just fine from my local IP address. sudo systemctl status returns: Loaded: loaded (/lib/systemd/...
user avatar
0 votes
1 answer
188 views

Forward specific external traffic to LAN server

I want to redirect the incoming traffic to my server, in which iptables is working, to another server in LAN. However, I only want this to work if the incoming traffic is coming from a specific ...
user avatar
  • 234
0 votes
0 answers
29 views

How to setup iptables port forwarding?

I want to access a ssh Server via a NAT. SSH Server Lan: 192.168.69.2:22 connected on interface wg0 (wireguard) local IP on interface wg0: 192.168.69.1 public IP is directly connected to eth0. my ...
user avatar

1
2 3 4 5
27