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.
555
questions
0
votes
0
answers
26
views
In Linux, if creating a TCP map with a port forwarder to a SOCKS5 proxy server, being them listening in different IPs, UDP associate doesn't work
In Linux, when I forward a TCP port with a port forwarder (such as socat) to a port of a local SOCKS5 proxy server, I can connect to the first using UDP (UDP) only if the port mapped with a port ...
-1
votes
1
answer
46
views
How to create TCP Tunelling?
I want to connect to a remote machine using SSH. Unfortunately, it seems that the SSH ports are closed. I found the following solution, but it is not convincing and relies on commercial software (...
0
votes
0
answers
7
views
How does dynamic routing stack up against multipathing/bonding techniques for a remote gateway?
I have a remote gateway to which I connect using two IKEv2 VTIs, OpenVPN, Wireshark, or a combination of these in /30 tunnels. Then create an ECMP route using OSPF (FRR) and the rest is like magic. I ...
0
votes
2
answers
113
views
Forwarding TCP and UDP packets on all ports to another IP on a second network interface?
I have an ubuntu machine at IP 192.168.3.1, another machine is connected to it at fixed IP of 192.168.3.2, This machine is also connected to a router over usb0 which has shared the IP 172.30.220.17 to ...
1
vote
1
answer
28
views
Packet forwarding from dual stack interface to localhost
I have a linux SUSE host which has both ipv4 and v6 enabled, below are the interfaces:- eth0,app,eth1 however the default route is available for ipv4 via eth0. Kubernetes is running on this host(...
2
votes
1
answer
74
views
Ubuntu server, packets from outside network not reaching local socket but seen on tcpdump
I am running Ubuntu server 22.04, and have a peculiar port forwarding issue with a local machine. This machine has two Ethernet interfaces and the connected enp1s0 interface has an IP address 192.168....
0
votes
0
answers
37
views
What's the best way to support mosh behind NAT to multiple hosts?
Mosh requires that you port forward UDP ports 60000 to 61000 to your host (unless you specify different ports.)
If you have three hosts behind NAT, for instance, that you want usable with mosh, how ...
0
votes
0
answers
194
views
How to bind a forwarded local port to 0.0.0.0 instead of 127.0.0.1? "Operation not permitted" when using GatewayPorts=yes
A (remote) SSH server remote runs a service on (remote) 127.0.0.1 port 20001. I want to make this service available locally via SSH port forwarding:
ssh -vvv -4 -L 20001:127.0.0.1:20001 remote
Port ...
0
votes
0
answers
43
views
How to forward data via netns exec namespace
I'm using zmq to receive data from another pc. I would like to formard this received data to the Internet via namespace. I've created this python script:
import subprocess
import zmq
context = zmq....
0
votes
0
answers
140
views
How to use AFWall+ to forward packets through a wireguard VPN to a tethered device?
situation is pretty simple, but I've spending the last 3 days trying to find a solution to this with no luck.
I have a printer at home that I need to have access to from my laptop. The printer is in a ...
0
votes
0
answers
23
views
Script for ubuntu with 2 IPv4 so that auto choose which direction to go through
I have a PC with two IPs, for an internal network with IP 10.X.X.X and another for an external network with IP 192.168.X.X
I have two network configuration profiles, one for each. If I am on 10.x.x.x ...
2
votes
1
answer
102
views
nft port forwarding not working on router
I have a machine that serves both as a router and a server. I have several lxc containers on this machine, and want to expose them to both the LAN and WAN. Following https://access.redhat.com/...
0
votes
0
answers
32
views
Port forwarding from host machine to virtual machine through SSH
I have installed apache2 web server on a virtual machine (lab 2) which has the ip address of 192.168.1.233. Now I want to access the server from my host machine's web browser. My host machine ip is ...
0
votes
0
answers
31
views
Local port forwarding using SSH only works from some machines
I am setting up an SSH server on Ubuntu 18.04.6 LTS. I am trying to use the server for remotely accessing Jupyter Notebook.
For that purpose, I have downloaded an opens-server package. I set up ...
6
votes
2
answers
947
views
Cannot do "ls" in FTP while port forwarding to SSH
When I log in to SSH while forwarding my local port, it's 21 FTP port, with the command:
ssh -R 2101:localhost:21 [email protected] -p 8288
After successfully logging in, I sent this command in the ...