Questions tagged [port-forwarding]

Port forwarding is a process consisting in the translation of a host:port couple into another host2:port2 couple, both submitted to the same network mask.

Filter by
Sorted by
Tagged with
0
votes
1answer
14 views

Port forwarding between 3 dedicated servers

I have a main node on one dedicated server where all ports are opened. I have to additional dedicated servers where some ports that we are using to communicate between servers are closed by ISP ...
1
vote
1answer
14 views

IPTables to limit high “Call-Per-Second” and redirect to another program (same machine)

I'm looking for a way to "control" high volume of SIP VoIP INVITEs (UDP) per second (Call Per Seconds) at iptables level in my VoIP server reaching port 5060. What i need to do is limit amount of ...
0
votes
0answers
27 views

Problem Accessing UNIX sockets remotely via SSH tunnel

I'm trying to use a TCP port to connect to a MySQL unix domain socket on a remote machine. I have removed networking on the mySQL server to harden it. The SSH tunnel looks like this: MyPC <---------...
0
votes
0answers
20 views

Open Outgoing Port 25 On GoDaddy VPS

I am unable to send an email from the cli on this GoDaddy server I got. I spoke with GoDaddy technician and they said I am the one who is responsible for openning outgoing port 25. Technician also ...
1
vote
1answer
49 views

NFTables - How to set up simple ip and port forwarding?

I am trying to set up a port forwarding proxy using a Raspberry Pi 4 with NFTables. I want to duplicate the simple port forwarding capabilities of a cheap home nat router. This a component of a larger ...
0
votes
1answer
16 views

How can I get CentOS to correctly list open ports?

I am working with CentOS 7 OS hosting a set of docker containers. By using a web browser I can reach a service on port 80 and I get back a response. A bit of local knowledge helps me understand that ...
0
votes
0answers
20 views

Can ssh port-forwarding be forwarded further to a host OS?

I have a guest Linux OS (Ubuntu 20.04) running as a VM under a host OS (Windows 10). I have a ssh port-forwarding from a remote host server established in the Linux VM as follows: ssh -f -N user@...
2
votes
2answers
39 views

Port-forwarding OpenVPN Access Server

I have been trying to properly port-forward my VPN server to no avail. I run an OpenVPN Access Server (made following a guide here) on Azure and would like users to connect to the VPN Public IP, which ...
0
votes
0answers
25 views

Port Forwarding rule to make local machine accessible through WAN

I wish to set up a configuration on my home network on one of my machines. Namely, I wish to make it feasible to access it via ssh (the machine runs dropbear for ssh) but externally. Here's an "...
0
votes
1answer
11 views

Issues converting docker run command to a docker-compose.yml config

I am trying to set up dhcpd in a docker image for my home network. I have cloned this repository, and had it working fine with my dhcpd.conf To run it, I have to execute this command using docker run: ...
1
vote
1answer
50 views

How can I do SSH port-forwarding only when the address/port is available? [duplicate]

I would like to use ssh with port forwarding by default. So I added the following ssh command to a script (with made-up server names): ssh -f -N user@server -L 8080:server:8080 where server is a ...
0
votes
0answers
35 views

Help: get specific device to not use VPN (tun0)

I have my modem router (192.168.0.1) connected to a Raspberry by eth0 (192.168.0.2) that works likes wireless access point (wlan0 192.168.1.1) with hostapd and dnsmasq and openvpn (tun0). It works ...
1
vote
1answer
38 views

Port forwarding while connected to Ethernet

I have port forwarding working when connected with wifi ( wlan0 ): $ nmap -p 25565 -Pn <my external static ip> Host is up (0.0090s latency). PORT STATE SERVICE 25565/tcp open minecraft ...
0
votes
0answers
19 views

Minecraft Server Networking/Port Forwarding Questions [Xfi Advanced Security]

I have recently set up a Minecraft server for my buddies and I. We pitched in to build a pretty nice system, with it currently running 5 servers linked with Velocity. I know the basics of how port ...
2
votes
1answer
51 views

Unable to detect print command failure on remote host

I have a remote Mac that is connected to the printer. I trigger the print on my Mac remotely using ssh from my local system using "ssh port forwarding/tunneling" discussed here. Below is my ...
0
votes
1answer
25 views

How to terminate SSH tunnel background process

I open an SSH tunnel (for port forwarding) from Windows 10 PC to a remote Linux server by typing the following command in Windows Command Prompt: (Note: substitute the actual DNS for ...
1
vote
0answers
49 views

Port forwarding/routing to an Openvpn Client for a game server

I think I have read every topic that is close to mine but I'm still stuck :( I have a VPS running Ubuntu 20.04, it is running an OpenVPN Server and my windows client can connect to it fine and I get ...
0
votes
1answer
98 views

Does Docker normally fail to clean up its iptables rules?

I'm on Alpine Linux 3.13.2, iptables-1.8.6-r0, and docker-20.10.3-r0. I'm trying out Graylog 4 using their sample docker-compose .yml file. I got Graylog running as expected, then did docker-compose .....
0
votes
1answer
27 views

Forwarding ports through OpenVPN server to local server (Ubuntu 20.04 x64)

The Goal Hello, I have run into quite a wall when it comes to figuring out my issue of forwarding ports through my remote VPS to my local home server. What I am trying to do is host a Counter Strike ...
0
votes
1answer
36 views

ssh port forwarding does not work. Getting error

I have a local laptop MacOS hence called localmac having macuser that needs to be controlled (by firing ssh commands) by a remote server hence called remotelinux having linuxuser. On my localmac i m ...
0
votes
1answer
51 views

How to check for active ssh port forwarding connections on MacOS

On my local MACOS I setup a reverse ssh tunnel using the below command. ssh -fnN -R 2222:localhost:22 remoteuser@remotelinuxhost And then my MACOS is controlled by the remote linux host which fires ...
0
votes
0answers
27 views

Cannot access minikube cluster from docker container

I have a Minikube cluster with VirtualBox driver and a Docker bridge network with a few containers. I want one of those containers to be able to access the Minikube cluster. In order to do this in ...
0
votes
1answer
13 views

Debian - Copy packets incoming to rsyslog and send to localhost on another port

I am trying to configure a server that will have two syslog servers. One is storing all messages and the other is analyzing them for statistics. The only way I can figure out how to do this is to have ...
0
votes
1answer
45 views

Forward network packets from host machine to QEMU image

I have got a locally built Yocto image with me running inside QEMU. I need to forward a single port from the host machine to localhost inside the QEMU image. The TAP connection I am using assigns 192....
0
votes
0answers
16 views

Stop ISP firewall

I've set up an apache web server with port 80, I can access it very easily within the network by typing the IP x.x.x.x:80 in the browser (I know that I don't need to specify the HTTP port). However, ...
0
votes
1answer
27 views

Apply rot13 (or other encryption) to all forwarded traffic on port

This sounds very dumb but hear me out (though it still may be). I'm a CS student. And the collage I study in have the bright idea of blocking all incommoding SSH and VPN traffic in the name of ...
1
vote
1answer
20 views

If I use my external IP to talk to a device on the LAN, will the traffic go through the outside internet?

So, say I had an SSH server on my LAN that was being port forwarded to the outside network. If I connect to that SSH server using the external IP with a computer connected to the LAN, will the traffic ...
0
votes
1answer
32 views

Port forwarding without having account on host machine

Network structure I want to setup a simple method acessing a machine A from a machine B with VNC. Both machines are behind a NAT. I have a raspberry with ddns setup. A -> NAT1 -> rasp <- NAT2 ...
0
votes
0answers
39 views

Ping same server with different interfaces using different ports

In my SoC imx6 I have two 4G modems using two different operators. I would like to give a score to each one so I can detect the best interface for my critical application. I decide to use a small ...
2
votes
0answers
25 views

Bypass openvpn for incoming connections [duplicate]

I have an Ubuntu machine at home which I can access over SSH (my router forwards that port). It works fine except when my PC is connected to the VPN, in which case all traffic (including response to ...
-1
votes
1answer
46 views

Forwarding ports from one device to another, on different networks

My network setup consists of 3 computers (devices A, B, C). Devices A, B, and C are connected through ethernet using a switch. Only device A has internet access (wifi router, with ports 8000-8002 ...
0
votes
1answer
26 views

Can't ncat some ports after opening them in the router and with firewall-cmd

I want to open some ports, both UDP and TCP, on a Fedora 32 server. First, I've opened them on the router and then restarted the router: Then, I've opened them in firewalld: sudo firewall-cmd --...
0
votes
0answers
22 views

Forward traffic port to specific network interface using iptables

I have total of 10 apps using different ports (5121-5131) and 5 network interfaces (lets call them eth0 - eth4). I need to route all traffic through the eth0 interface (metric should do the trick) ...
0
votes
1answer
28 views

Forwarding incoming ports to another private IP on my existing setup, IPTABLES

On my Debian 8 gateway: I want to forward incoming port 9000 to 192.168.4.10:3389 and incoming 9001 port to 192.168.4.11:3389. DHCP - WAN - eth0 -----> eth2 - LAN - 192.168.4.1 I am using rules.v4 ...
0
votes
1answer
37 views

Forward SSH traffic from public IP to local IP

I need to find a way to forward ssh traffic from a WAN ip address to a specific host IP address on a local network. The set up is as follows: WAN ---------|Firewall| ----SSH Machine EXTERNAL | ...
0
votes
2answers
77 views

How to configure NGINX to Redirect Traffic to Different Ports if Interface has Multiple IP Addresses

An Ubuntu 20.04 machine with a single network interface is given 3 IP addresses. We want to run several instances of a program that listens to a specific port and have one instance listening to each ...
-1
votes
1answer
40 views

iptables: forward requests to different local port with masquerading

I run a web app on port 80 that for some APIs requires whitelisting of source IPs. Because anyone from within my /19 network should be able to use these APIs and because this web app doesn't support ...
0
votes
0answers
16 views

tcpserver won't connect over a port forward

I port forwarded a computer on port 1000: When I run tcpserver 0 1000 echo test on the computer and run nc lostxor.com 1000 on another computer, netcat hangs. If I run nc -l 1000 on the first one and ...
2
votes
1answer
97 views

Is it possible to make a port unavailable for binding in Linux?

I'm working on a port forwarding problem. Is it possible to make a port unavailable for binding in Linux? I have an application that will dynamically listen on port 5000-10000, however, I don't want ...
0
votes
0answers
104 views

How to set up apache server for public domain on linux?

I am running Arch Linux on my computer. tl;dr I have portforwarded apache and the router on port 80 and disabled all firewalls on my computer and router. Apache has started and started with no visible ...
1
vote
1answer
117 views

Accepting port on linux/Can only access port using local, timeout on ip

I have opened the port 25565 on my rounter (aka the minecraft server port). I am already hosting a website on this server: togtja@togtja_server:/$ sudo iptables -nL | grep 80 ACCEPT tcp -- 0.0.0....
0
votes
4answers
627 views

Port Forwarding to enable ssh remote access is not working

I was exploring ssh and was trying to log into my pc from my phone, i'm on mac by the way. i activated the ssh server on my mac, and i logged into it with my phone in the same LAN, by entering my mac ...
2
votes
2answers
69 views

How to safely allow particular remote IP access to particular servers on private network?

I have HPC that I want people to use it remotely without giving them access to other computers in the private network. Other computers are operating on network. I am using port forwarding. sudo ...
5
votes
1answer
11k views

ssh connection “client_loop: send disconnect: Broken pipe” or “Connection reset by <IP> port 22”

I have been using ssh to access remote servers for many months, but recently I haven't been able to establish a reliable connection. Sometimes I cannot login and get the message "Connection reset ...
0
votes
0answers
23 views

Forwarding traffic over VPN

Hi I am very new to linux environment and VPN technologies. I have a Kali VM which is connected to a remote domain joined Windows host in my organization over VPN. For VPN connection, I am using ...
0
votes
1answer
42 views

Debian iptables

For quite some time I was trying to forward ports or/and connect between 2 devices inside VPN and I couldn't figure it out. I have VPS setup on Debian 9.0 x64 with ExternalIP. I created VPN based on ...
0
votes
0answers
26 views

Remote access to home web server while openVPN is on?

My setup: Router: 192.168.1.1 with port forwarding to 192.168.1.3 (external 8080 because my ISP blocks 80, internal 80.) Pi4: 192.168.1.3 with Apache running to process occasional requests from my ...
0
votes
1answer
53 views

How to route incoming and outgoing traffic through vpn host with iptables

I am trying to route traffic coming into a network through a raspberry pi and to/from my personal computer which is running a game server and is on a different network. The raspberry pi is hosting ...
0
votes
0answers
75 views

How to forward port 80 and 443 on pfSense to a (internal) nginx webserver?

Yesterday we did a "big bang" firewall switch in our company. Our new firewall is a pfSense server. Lets say our external ip is 84.1.1.1, pfSense is 192.168.1.1 and our web server ip is 192....
0
votes
1answer
111 views

How can I Host a Website on a Local Server with Port 80 Redirect and a Dynamic IP?

I am on Three Mobile UK which only issue a dynamic IP and apparently blocked all http ports including 80 so I got a domain stephenogidan.ddns.net from No-IP to fix this issue. So far, I haven't been ...

1
2 3 4 5
10