Skip to main content

Questions tagged [port-forwarding]

port-forwarding on firewall or via SSH

Filter by
Sorted by
Tagged with
-1 votes
0 answers
23 views

FreeIPA behind home Internet router

I am currently running a freeIPA on an unraid server Fedora VM. Locally it works well. When I try to connect to server from outside the network it fails. I have forwarded ports 389 on my network ...
Diamond D's user avatar
0 votes
0 answers
41 views

OPNsense NAT Reflection not working for Router but for the other LAN

I have the following setup: ISP | | Router 192.168.0.1 | / \ / \ / \ ...
peter's user avatar
  • 1
0 votes
0 answers
38 views

Proxmox Setup with Email Server and multiple Webservers - Need Help, can not send Emails from Webserver VMs

I run a Proxmox server that runs an email server and several web servers as VMs. The server has two external IP addresses configured to the Proxmox host via the /etc/network/interfaces file. The ...
xtrose Media Studio's user avatar
0 votes
0 answers
60 views

Why does port forwarding not work in Docker network_mode: "other_container"

I’m dockerizing OpenVPN client for another container to use its network. Port forwarding is not working: Dockerfile FROM alpine RUN apk update && apk add openvpn WORKDIR /etc/openvpn ...
Andrey Khataev's user avatar
0 votes
0 answers
28 views

Forwarding WebRTC traffice through Ubuntu Device

I am trying to connect to a WebRTC stream through an ubuntu device. The ubuntu device is connected to my PC on one of its nics (PC ip = 12.2.20.3, Ubuntu ip = 12.2.20.58) and the external device ...
Carson bay's user avatar
0 votes
0 answers
76 views

Wireguard and Ubuntu 22.04. Forcing traffic from port 25 over VPN

So Im hosting a server in a docker container which is a client in a VPN network. I Cant send any egress traffic out of port (say ummm 52) through the host. That box is a client to a wireguard server. ...
Nimrod5000's user avatar
0 votes
0 answers
28 views

How to connect to a server on a local network using an external domain name? [duplicate]

I have domain "example.com". The Internet router (192.168.0.1) forwards specific ports to a router within the network working in WISP mode (192.168.1.1 / 192.168.0.123). That router has a ...
Reverent Lapwing's user avatar
0 votes
1 answer
106 views

kvm libvirt: Port Forwarding via nft not working

I use KVM to virtualize a Guest-Linux-Mint on my Host-Debian12. The Guest is obviously configured well with NAT: I can ssh into the Guest from the Host, I can reach the Internet from the Guest. But I ...
Sebastian's user avatar
0 votes
1 answer
210 views

Port Forwarding all ports in UFW to a VPN Client on Ubuntu Server

I am running a VPN Wireguard server on Ubuntu 22.04. I am trying to forward all ports from the server to a vpn client on 10.10.10.2. As of now, I have perfected port forwarding for single ports. In /...
DanRan's user avatar
  • 93
1 vote
1 answer
153 views

OpenSSH server limit local forwarding to only unix sockets

Problem: Limit SSH -L forwarding only to unix sockets SSH server S is a shared server inside a private network used by several users. Use-case: for each user I create a local unix socket to use to ...
ph4r05's user avatar
  • 3,446
0 votes
0 answers
139 views

Proxmox, iptables connection refused on port 443 from different nodes if forward to LoadBalancer

having some problems with port forwarding on dedicated machine running Proxmox. I have create an LXC-Container for LoadBalancing and forward all incomming request on port 80 and 443 to it. If I am ...
xtrose Media Studio's user avatar
0 votes
0 answers
566 views

Port forwarding to podman container not working

I want to serve port 8000 from a podman container to the LAN using port 8009. The container is run using podman-compose, which translates to the following command: podman create --name=pihole-...
arielnmz's user avatar
  • 433
0 votes
1 answer
216 views

VM behind nat on Proxmox cannot reach port from internal network

The issue is that I am able to reach port 25 from outside (public internet) to the specific machine in the local network behind NAT, but cannot reach to port 25 on public machine e.g. hotmail-com.olc....
EAK TEAM's user avatar
  • 103
0 votes
0 answers
101 views

Kasten k10 dashboard 504 error

I Have installed the Kasten k10 on AWS k8, trying to access the dashboard from service port forward. Dashboard has an network error with error logs on dashboard-svc pod and Gateway pod. Below are the ...
Uday Sriramadas's user avatar
0 votes
0 answers
97 views

Issue moving Ubuntu/Apache webserver from Comcast to AT&T router

I've hosted a simple Ubuntu web server for years on port 443 via a Comcast router with port forwarding enabled without issue. I now have to change to AT&T, the router they provided is a BGW320, ...
PortForwardingQuestion's user avatar
0 votes
0 answers
144 views

LTE Mikrotik NAT not works

I've and LTE Mikrotik HRBwAPGR-5HacD2HnD and QNAP NAS server. My need was to route trafic to QNAP server (192.168.88.102) from internet(using DDNS and so on) but not able to perform it, maybe I'm ...
Victor  EStalin's user avatar
-2 votes
1 answer
95 views

Routing webserver access between LAN and VLAN

I have a LAN set up with IPs 10.0.0.X and a VLAN with 10.147.18.X (Zerotier) and I have a webserver (Plex) that is accessible within the VLAN. I have a ubuntu 22.04 pc connected directly to the LAN ...
Bill's user avatar
  • 3
-1 votes
1 answer
71 views

How does real server, direct return server (DRS), reply to client if a load balancer (LB) uses port address translation (PAT)?

Direct Return Server overview: The DRS allows real servers to directly reply to a client without going through load balancer (LB). The LB ip (VIP) is configured as a loopback (localhost) ip for the ...
Tom's user avatar
  • 1
0 votes
1 answer
110 views

Using two asymmetric uplinks

My current network topology is: Fact Firewall (I tested with OPNsense and IPFire, but I'm open to further suggestions) and the whole "ORANGE/DMZ" stuff are actually VMs/containers in a ...
ZioByte's user avatar
  • 296
1 vote
2 answers
291 views

Looping forwarded and locally originating connections through port forwarding rules in firewalld

I have a Debian box running firewalld set up a as gateway NAT/router. This device has two NICS; wan --- public interface, assigned to the external firewalld zone, dynamically assigned IP address using ...
3dg3's user avatar
  • 11
0 votes
0 answers
185 views

Port forwarding ubuntu server - iptables

I would like assistance in connecting to a WireGuard server that is currently being censored by my ISP. To overcome this restriction, I am attempting to set up port forwarding from my VPS to the ...
cathy's user avatar
  • 1
0 votes
2 answers
138 views

setup up ssh connection with 3 Ubuntu machines to bypass a firewall

I have 3 machines, here are the IP addresses of each of them with their ssh port : first device IP: 192.168.1.2 second device IP" 192.168.1.3 port 22822 third device IP: 192.168.1.4 port 22 I ...
nulltogeek's user avatar
1 vote
2 answers
616 views

How to Configure Domain-Specific Port Forwarding on MikroTik Router?

I have a MikroTik router set up at the entrance of our office network. I'm looking to configure it for specific domain-based port forwarding. The task seems to be rather common, but I am stuck. Here's ...
Dmitry Nikolaev's user avatar
1 vote
1 answer
413 views

Cannot access deb.debian.org from VM after port forwarding using /etc/libvirt/hooks/qemu

Setup On host server with Debian Bookworm I created two VM-s (pserver 192.168.122.227 and pagent-1 192.168.122.126) via cockpit (kvm). Both of them are running Debian Bullseye. I am using default ...
Matija Sirk's user avatar
0 votes
1 answer
114 views

How to redirect an IP and port that is being listened to using iptables?

I have a server with two external IPv4 addresses. One address is essentially unused in that it doesn't appear in any DNS and I haven't employed it for anything. I want to use port 80 on it now, but ...
Kurt Fitzner's user avatar
0 votes
0 answers
105 views

SSH connection to the GIT through a jump server with stdin/stdout forwarding

SSH connection to the GIT through a jump server with stdin/stdout forwardingI'm trying to establish a connection from client server (A) to the remote server (C) using an intermediate jump server (B), ...
itnelo's user avatar
  • 101
0 votes
0 answers
50 views

Ports open only on specific event

I've recently opened some ports (8080, 2223, 2224) to open a sftp server and a webserver-type fileserver. However I've been running into issues and haven't found a single solution since. The problem ...
SirWillz's user avatar
0 votes
1 answer
930 views

how to expose apache docker container on port 8080 rather than port 80

I have a webserver running on port 80 , however I need the site to be accessed using 172.16.21.2:8080 , regardless of what port mapping i specify it is always accessed using port 80. How can i make my ...
John Adams's user avatar
0 votes
0 answers
242 views

Simple MySQL tunnel without SSL or SSH?

What I have I have a MySQL database that allows whitelisting only 2 individual IP addresses. No other access to that server except a MySQL username and password. What I need I need to connect Google ...
ᴍᴇʜᴏᴠ's user avatar
-1 votes
1 answer
107 views

Years old iptables script breaks (-o option no longer exists?)

I've had a script for a while that forwards a port through my Wireguard VPN. Recently, I tried using it and it returned: Bad argument `wg0' Try `iptables -h' or 'iptables --help' for more information. ...
jimmyLimmy's user avatar
0 votes
0 answers
28 views

Allow access to local mongodb database to a different network

Is it possible to do tcp port forwarding using windows settings without having to access router settings? I am trying to give access to my local mongodb database to someone on a different network to ...
Ahnaf Ahmed's user avatar
0 votes
0 answers
266 views

Portforwarding Wireguard setup

I setup wireguard on a VPS to use it as a VPN to enable portforwarding for various uses like gaming and NAS setup. I want to open port 45000, 56000 and 40000 for now. I am on Ubuntu 22.4 on 27fiber ...
shanks's user avatar
  • 1
2 votes
1 answer
957 views

ssh port forward connects to bastion instead of remote server

I am facing an issue when I try to connect to remote machine (which is behind bastion host) via ssh local port forwarding. I am looking for the connection flow: my laptop --> Bastion host --> ...
nischeruku's user avatar
0 votes
0 answers
805 views

Setting Up WAN + LAN Network with pfSense in VirtualBox - Troubleshooting TCP Connection Issue

Hello, I am currently in the process of configuring a WAN + LAN network within VirtualBox using pfSense (VM) as the router in my LAN. The primary objective is to establish communication between a TCP ...
lcocozza's user avatar
4 votes
2 answers
2k views

Forwarding VPS Traffic over WireGuard

So I've been pulling my hair out for the last 24 hours to sort this out. Long-story-short, my home internet runs over a 4G Mobile network, so this means I cannot Port Forward through my main Router. I ...
Flakie's user avatar
  • 61
0 votes
1 answer
243 views

Unable to connect to my server

I'm unable to connect to my own server, which has a MySQL database which I want to access. I correctly opened the 3306 port on the router and called my internet provider that confirmed so. But when I ...
Zep's user avatar
  • 1
0 votes
1 answer
46 views

Ubuntu - server protection when forwarding ports via ssh

I will make a reservation, I am mediocre in Linux systems. I have several Raspbian (Client) devices that have access to the network over LTE (IP over NAT). I have my own server under Ubuntu (server). ...
MaxNTF's user avatar
  • 1
0 votes
1 answer
288 views

SSHD: Dynamic deny port forwarding

From the current ssh session on a server, what -L params did the client specify? I am trying to build a jumphost using sshd that can be used for port forwarding. The goal is to be able to get into a ...
John Oxley's user avatar
0 votes
0 answers
115 views

Port forwarding with iptables prerouting not work

I have 3 server server A: 5.161.x.x server B: 193.151.x.x server C: 195.96.x.x I want to forward all traffic from server B and C to server A ,i forwarded Server B to server A with this command: ...
Aref Solaimany's user avatar
0 votes
0 answers
1k views

Wireguard Site-to-Site connection in Docker ping working but TCP not

I am quite desperate. I am trying to get my site-to-site vpn setup working, but no luck so far. Please don't judge me, I am quite new to the routing problematic. I have a VPS with a public IP 123.456....
Curo1305's user avatar
0 votes
0 answers
43 views

Internet Forwarding

I am looking for Internet Routing. Right now we have 2 offices one in Germany and One in Dubai. Everyone is connected through VPN Tunnel of the German office. The German office wants to connect to our ...
Emir's user avatar
  • 1
0 votes
0 answers
403 views

Port forwarding multipass instance on windows 10 (hyper-v manager)

I'm currently using Multipass on my Windows 10 machine and I'm having trouble setting up virtual switch for my Multipass instance. I want to create a mail server and send mails over the internet. Can ...
Intelligent Softs's user avatar
0 votes
0 answers
298 views

Forward local http port to external device using firewalld on Ubuntu 23.04

I have an external device A that advertises a HTTP server at port 80. It is fixed at address 192.168.1.107. I can view the HTTP server at http://192.168.1.107:80 on my local network from any other ...
Ryan Friedman's user avatar
0 votes
1 answer
512 views

UDP Port Forwarding

I got 2 servers Named A and B, both are in different data centers and just have internet access. I need the incoming UDP connections to a particular port on server A to be forwarded to a specific port ...
xtg's user avatar
  • 1
1 vote
2 answers
375 views

Forward default mySQL port to a different port for outgoing traffic to a specific IP or Domain

We're using a hosted mySQL Database server which generates a port other than the default 3306, which we have no control over. We'd like to not have to make changes to our existing connection scripts ...
blueionRich's user avatar
0 votes
1 answer
30 views

Packets go out one LAN machine but do not reach another one

I have a pretty simple topology. Machine 1: ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:...
Dmitry Filin's user avatar
1 vote
1 answer
1k views

Ubuntu IPTables Port forwarding and NAT

I am coping with an issue for the past days with which I cannot get my head arround, it addresses routing. Setup and context: NetworkDiagram As depicted in the diagram below, my goal is to call the &...
Justus Fowl's user avatar
0 votes
1 answer
94 views

Redirect web server port behind VPN

Just recently started using a VPN that allows open ports above 2048. I host my own web server on port 80. I need help configuring my web server to run on a port above 2048 but get redirected to port ...
user3430818's user avatar
1 vote
2 answers
929 views

forwarding 443 to two servers using single external IP? [duplicate]

i have an exchange server in a small office, and a synology web server running the website. Iam forwarding https 443 to my exchange server from my router for owa/ecp etc with a SSL. The synology NAS ...
Tecnhnik's user avatar
0 votes
1 answer
352 views

How to forward traffic through Linux box except requests to the box itself?

I have an Ubuntu box with IP forwarding enabled and a very simple iptables configuration to allow all packets from within the LAN to be forwarded: echo 1 > /proc/sys/net/ipv4/ip_forward /sbin/...
Adam J. Kessel's user avatar

1
2 3 4 5
29