Questions tagged [port-forwarding]
port-forwarding on firewall or via SSH
1,420
questions
-1
votes
0
answers
38
views
connection to a local network router from another local network via OpenVPN and port forwarding [closed]
I have two completely separate network locations.
Location number 1 There is a public IP. There is an OpenVPN server in this location. The server address on the local network is 192.168.1.112. The ...
-1
votes
0
answers
22
views
How to visualize live Velodyne VLP-16 lidar data over wifi? [closed]
I have a Velodyne VLP-16 Lidar, it connects to my computer and able to visualise on Veloview through Ethernet.
The configuration is:
-Ip addr:192.168.1.202
-Subnet mask:255.255.255.0
-Velodyne web ...
0
votes
0
answers
41
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 ...
2
votes
0
answers
50
views
Proxmox port forwarding to Container behind NAT [migrated]
We have recently bought a server from the Hetzner server auction and want to migrate our previous root server.
Previously we used only windows server, but now we want to set it up a bit more modular ...
1
vote
1
answer
53
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 --> ...
0
votes
0
answers
74
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 ...
2
votes
2
answers
255
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 ...
0
votes
1
answer
57
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 ...
0
votes
1
answer
27
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). ...
0
votes
1
answer
40
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 ...
0
votes
0
answers
42
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:
...
0
votes
0
answers
260
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....
0
votes
0
answers
39
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 ...
0
votes
0
answers
123
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 ...
0
votes
0
answers
84
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 ...
0
votes
1
answer
102
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 ...
1
vote
2
answers
113
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 ...
0
votes
1
answer
27
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:...
1
vote
1
answer
198
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 &...
0
votes
1
answer
49
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 ...
1
vote
2
answers
121
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 ...
0
votes
1
answer
86
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/...
0
votes
0
answers
86
views
Port forwarding in Ubuntu VPS server, from public ip to a clients
VPS in installed Ubuntu server 20.04 and OpenVPN, I need to forward all the traffic from a specific port of the vps public ip, to the same port of a VPN client.
My Ubuntu VPS ip is 107.172.142.153
And ...
0
votes
0
answers
197
views
SSH port forwarding using python
I have a VPS that serves as my VPN server, and I want to use this VPS as a VPN using forwarding for my laptop which uses windows as OS. Is it possible to do so without using software like PuTTY, ...
0
votes
0
answers
28
views
How private networks enable external networks in multiple network interfaces
In a dual LAN environment on the Rocky Linux OS, we've made one private network from two multi-interfaces. I want to implement the private network so that it can be connected to the Internet network ...
0
votes
0
answers
624
views
Different port forwarding for https and wss (Websocket) using firewalld
Currently I setup port forwarding for a nodejs server such that all http requests (using tcp protocol) get redirected from port 80 to 3000, and all https requests (using tcp) get redirected from port ...
0
votes
0
answers
300
views
How to create a openvpn server with port forwarding like portmap.io?
I'm currently working on exposing my NAT behind a server to the public using OpenVPN. I've successfully accomplished this by utilizing the portmap.io VPN service, which allows public users to access ...
0
votes
1
answer
812
views
Connect to a postgres running internally within a cluster through a kubernetes pod
I've got a kubernetes pod myapp-2390458f-kfjgd I can get access to with kubectl and an instance of a PostgreSQL that can be accessed from within the kubernetes cluster by the name mypos.tgres.com, but ...
0
votes
1
answer
335
views
Is it possible to forward with UFW from a machine connected to ZeroTier VPN and situated on the LAN towards another machine on the LAN?
I am attempting to make possible for any machine connected to my VPN to be able to access services within containers on my server.
For this I have set a server with PROXMOX and subscribed to a Free ...
0
votes
0
answers
680
views
No Connection with Pivpn wireguard lxc Container on a proxmox host
Describe the issue
I can't connect to anything. Not the internet nor the local network
Expected behavior
I want if my device is connected to the wireguard vpn to surf the web and to access every ...
1
vote
1
answer
495
views
How to forward WSL2 8080 to Windows host's 8080?
I have:
a Spring Boot application running on Windows on 8080 and
a service running in the Docker container within the WSL2 Ubuntu, and
I'm loking how to enable the Windows host's 8080 to this ...
2
votes
1
answer
223
views
SSH Config based on ssh command with port forwarding
I'm trying to convert the following SSH command on a SSH File entry.
My command is as follows:
ssh -i identity-file.pem -L 20000:internal-host.com:8080 u[email protected] -N
An this is the current ...
1
vote
1
answer
197
views
Redirect active FTP traffic to another server using iptables
Network Scheme - IP addresses are fictitious
Firewall SO: Centos 6
I recently enabled two-factor authentication, using Google Authenticator, and with that transfers via SCP for some users were ...
0
votes
0
answers
56
views
Port Forwarding on Huawei E5885LS-93A doesn't work
My home network is composed of a 4G router (Huawei E5885LS-93A) and three Ubiquiti Access Points (UAP-AC-M).
Within my network I run ZoneMinder on a Raspberry Pi 4.
From within my network I can just ...
0
votes
0
answers
214
views
Forward Wireguard traffic to another port
I have installed Wireguard on server A with below configuration:
[Interface]
Address = 172.16.0.1/24
ListenPort = 51820
PrivateKey = <server private key>
# Firewall rules
PostUp = iptables -A ...
0
votes
0
answers
107
views
I can't add any rule to iptables / iptables not saving
I want to forward tcp and udp traffic from wireguard ip address (10.66.66.2) to 0.0.0.0, but iptables doesn't want to cooperate.
OS is Oracle Linux 8, I use yum as package manager. Firewall.d is ...
0
votes
1
answer
233
views
SSH TCP Forwarding and VSCode
Thanks for taking a look at my question.
I've been writing code from my desk to a remote server managed by WHM/cPanel (for which I have full root access) with VS Code Remote SSH functionality for a ...
0
votes
1
answer
812
views
Port forwarding in Ubuntu, from public ip to a client
On a VPS with installed Ubuntu server 20.04 and OpenVPN, I need to forward all the traffic from a specific port of the vps public ip, to the same port of a VPN client.
VPS IPs:
vps public ip: 1.1.1.1
...
0
votes
1
answer
2k
views
Port Forwarding through Socks5
I run a V2ray server and client and created a Inbound Socks5.
I want to forward 0.0.0.0:8443 to a remote machine with IP and port number.
I know that dokodemo-door in v2ray can do this, but my ISP has ...
0
votes
0
answers
581
views
port forward with openVPN to access local machine remotely
I have an OpenVPN server set up on my AWS Linux instance and I can successfully use the OpenVPN client to connect to the server using an .ovpn configuration file. My question is how can I set up port ...
-1
votes
1
answer
712
views
splunk syslogs Forwarder set up not working and paused data flow
I have set up the Universal Forwarder locally in my machine using this guide
https://splunk.paloaltonetworks.com/universal-forwarder.html
/opt/splunkforwarder/etc/system/local/inputs.conf
[monitor:///...
0
votes
2
answers
498
views
port forwarding using proxy ip
I am trying to access my machine remotely through ssh with my public IP.
The regular way to do this would be to allow port forwarding on my router and then do: ssh ubuntu@myPublicIp but my ISP uses ...
0
votes
0
answers
138
views
Established TCP connection but no data is returned
I'm running a simple registry with podman and bind it to a local private IP address.
podman container create \
--name insecure-registry \
--privileged=True \
--env REGISTRY_HTTP_ADDR=0.0.0.0:...
0
votes
0
answers
35
views
After setting a forwarding (routing) I cannot download files from servers
I have found these codes on www to create a proxy for a software:
sysctl net.ipv4.ip_forward=1
sysctl -w net.ipv4.ip_forward=1
iptables -t nat -A POSTROUTING -j MASQUERADE
iptables -t nat -A ...
0
votes
1
answer
86
views
Cannot establish connection on two-way comms like SSH on Phase 2 VIP attached to LAN IP using NAT 1:1
As the title say, I cannot establish connection on two-way comms like SSH on Phase 2 VIP attached to LAN IP using NAT 1:1.
Phase 1 and Phase 2 is UP.
Phase 2 Remote IP is 192.168.1.248 and Local IP is ...
0
votes
0
answers
60
views
Bypass closed ports with another server, without routing all data
I have two Linux servers. Server A hosts various services, including a website, and has good internet (~500mb/s). However, server A is behind an ISP that does not allow me to open ports. Server B ...
-1
votes
1
answer
1k
views
Port Forward with dockerized OpenVPN-Server
So I am a bit new to the VPN stuff and am currently getting a little desperate.
For what I want to do. I have rented a little server somewhere (static IP, Domain and everything). Now I want to run ...
0
votes
0
answers
57
views
Accessing local host Dashboards (GCP VM) from my Laptop
I have 2 VM instances on Google Cloud Platform.
1st VM is used as a Kubernetes Master Node and 2nd as Worker Node.
I have Prometheus and Grafana Deployed on the cluster. I want to access the ...
0
votes
0
answers
32
views
PortForwarding keep originating IP address
iptables -t nat -A PREROUTING -p tcp -m tcp --dport 5000 -j DNAT --to-destination 10.8.0.2
iptables -t filter -A INPUT -p tcp -d 10.8.0.2 --dport 5000 -j ACCEPT
I used the code above to forward port ...
0
votes
0
answers
85
views
How to access pods from local terminal?
I have a Kind cluster installed on my Ubuntu machine. I have deployed few pods on the cluster and can see they're running using kubectl get pods command.
As my pods are some NodeJS services and a ...