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
16 views

Add Forward during SSH Session (Dynamically)

We know that we can specify Local or Dynamic Port Forwarding through ssh by specifying command-line parameters: ssh -D #### \ # For Dynamic Forwards -L ####:host:#### # For Local Forwards ...
0
votes
0answers
12 views

How to forward path along with port

I'm willing to bet I have a fundamental misunderstanding here, but I am trying to do something akin to port-forwarding AND url-forwarding without using something like nginx. I have a remote linux ...
0
votes
0answers
18 views

My Ubuntu Servers static IP is not registering in my connected devices tab to port forward

I have recently installed ubuntu server 18.04 on my raspberry pi 3 and I am trying to use it as a dedicated minecraft server. I have installed everything and it works fine as a local server but I want ...
0
votes
0answers
14 views

Help with multi-step port forwarding to device behind firewall

I've included an image in this post because I think it's the clearest way to indicate my intention. Essentially, I am trying to create an ssh tunnel indicated in black such that connections from ...
0
votes
3answers
49 views

How to do port forwarding with two interfaces using iptables?

I have a debian box with two interfaces wan and lan(192.168.0.1). On lan:80 I have a site that must be accessed from local network. Also I need this site to be accessed from wan:777. This is my ...
0
votes
0answers
14 views

Connection Refused when ssh forwarding multiple ports over multiple hops

I am currently ssh-ing from my laptop to a supercomputer login node, and then ssh-ing again from there into an interactive job running on the supercomputer's compute nodes. I am forwarding a single ...
0
votes
1answer
31 views

Port forwarding command

I have a Linux machine which has 2 interfaces: for one of them (ip 1.1.1.1) I can access via ssh. For the other one (ip 2.2.2.2) I can't. Some web application running on the second interface with port ...
0
votes
0answers
230 views

Tunnel fails with “channel 3: open failed: connect failed: Connection refused” and ORA-12537 or ORA-12514

Here is what I did: 1/ Establish connection from my client PC to jump with tunnel in putty with: L2234 ('Source port') localhost:2235 ('Destination') 2/ Once logged onto this jump server, in ...
1
vote
0answers
34 views

SSH tunnel for VNC through IP forwarding?

I'm trying to setup a VNC connection from my local desktop to another machine. I'm having some difficulties with how to setup the port forwarding I need to make it work. The machine setup is like ...
1
vote
1answer
34 views

Port forwarding through different interfaces

I have a remote server which has a publically accessible IP Address. On this server’s ports elements are hosted to the web on various ports. So on another PC connected to the same network I can go to [...
0
votes
2answers
38 views

Forward port on localhost to some remote host:port

Suppose there is some server running on remotehost.some.where:4444. I have a software that insists to connect to localhost:5555. I can forward this with ssh as ssh -L 5555:remotehost.some.where:4444 ...
0
votes
0answers
42 views

iptables port forwarding for my game server

I have an 2 dedicated server and I want port forwarding (game - Minecraft) but I can't forward porting to destination server. TCP PORT : 25565 UDP PORTS : 19132,19133,25565 I already have tried ...
0
votes
0answers
31 views

Can I use an ephemeral port number for a permanent service?

For example configure my router at home to forward all connections to a certain port > 32768 to a local SSH server. Would this maybe block outgoing connections because a client randomly selected ...
0
votes
0answers
134 views

Enable port-forwarding (SSH): ssh: connect to host X.X.X.X port 22: Connection refused

I want to make a remote connection using ssh to my pc when I'm not home. Let's say X.X.X.X written in title is my global ip router. I've done the following steps: Install openssh-server on my home ...
0
votes
0answers
56 views

UFW IPTables Port Forwarding to OpenVPN client

Let's say: Server with public ip 68.100.100.100 (has the OpenVPN server) Backend with a private ip tun0 10.8.0.6 (OpenVPN client connected to the Server' OpenVPN server) Client with ip 170.170.170....
0
votes
0answers
129 views

channel 84: open failed: administratively prohibited: open failed

I'm trying to ssh via port forwarding. This is my ssh config file: HOST A HostName B user C DynamicForward 0.0.0.0:1081 When I run "ssh A" I get: channel 5: open failed: ...
0
votes
2answers
89 views

SSH: RemotePortForw. - Binding privileged port

very short and basic question, i'm having trouble in a network's homework i'm having. This is the point i'm asked to implement: Configure SSH remote port forwarding in order to redirect the port 83 ...
-1
votes
1answer
22 views

Block internet traffic

How does one disable internet access for a user across a range of ip addresses? Assume I have 10 machines, and an account on all of them (called customer). Is it sufficient if I disable ssh and set ...
0
votes
2answers
82 views

Allow the contents of a server port to be accessible to public

I have a live, automatically updating plot(using Bokeh) in python being displayed in a remote Linux server(set up by my university for me) at its port 127.0.0.1:5006. Usually, I have to connect to the ...
1
vote
1answer
45 views

Multiple ssh port forwarding for socks proxy

I wanted to opens a web page via socks proxy. my scenario is I have two jump servers. 1 Jump server to get connected and second jump server to access the webpages. ssh user@192.168.1.2 -D 10100 -tt ...
0
votes
0answers
45 views

How to allow port access as a non privilege user in CentOS?

I have a password to ssh access only. This is a server given by university for me to do some python computing. The ip is a domain. format like this. xxxxxx.xxx.xx I tried to open a jupyter-...
1
vote
1answer
94 views

Remote port forwarding with autossh from Raspberry PI to VPS in order to access the PI from anywhere on the Internet, why does it work only once?

I am using autossh with remote port forwarding from VPS to Raspberry PI in order to be able to access the PI from anywhere on the Internet, but it works only once. I have a Raspberry PI 2 (Raspbian, ...
0
votes
1answer
61 views

Port forwarding with iptables not working anymore

I installed SSH honeypot cowrie and configured real ssh to use a different port. The honeypot is supposed to use a port n. Iptables is configured to route traffic from port 22 to port %PORT: ...
0
votes
0answers
11 views

What are some options for Localforward keeps changing?

Super noob here. I'm trying to do port forwarding using LocalForward method in the ssh config file. The issue is that the host address I am using has the potential to change if my aws ec2 instance ...
0
votes
1answer
251 views

FreeBSD natd port forwarding

I'm trying to set up simple natd port forwarding on my FreeBSD router, so that I can get to local Win machine (192.168.20.10) via RDP from external network. The configuration is following: FreeBSD 12....
0
votes
1answer
27 views

SSH only working shortly after router reboot

I am trying to create a homemade server. I'm running Ubuntu 18.04 and have an Xfinity router. I've forwarded port 22 to a reserved local IP for my server. The problem is that I can connect via a ...
1
vote
1answer
60 views

iptables port forwarding public network to private network using two interfaces

iptables port forwarding from incoming connection on public interface to private interface. I want to do following (in kali linux): 1.) Incoming connection from outside comes to public interface (e....
0
votes
0answers
196 views

Forwarding Traffic from VPS to Home Server via Wireguard

I have a Server at home which i want to access via the VPN connection with my VPS. I used wireguard for this and the VPS and my home server can successfully ping each other. I followed this tutorial ...
0
votes
0answers
64 views

Access a raspberry pi command line via ssh using remote port forwarding

We are attempting to deploy a small fleet of raspberry pis that we want to be able to remotely manage. To do this, we need to be able to ssh into the pi. I set up reverse port forwarding using on a ...
1
vote
1answer
110 views

Route LAN traffic through VPN gateway

My iMac has software which connects to a remote VPN. It works well - but only that specific device. I now want to allow other devices on my network to access the same VPN connection via the iMac. The ...
2
votes
1answer
90 views

Access VM with SSH through VM host

I have my Linux workstation where I run a virtual machine with another Linux. The point is that my friend would like to try make ssh connect directly to my virtual machine, but we are not able to ...
1
vote
0answers
42 views

Why Tftp won't work globally?

I have tftpd-hpa with inetd installed. Locally (tftp <ip-address>) works fine. Port 69 is opened and worked both on input and output. Using netcat -ul -p 69 I can track incoming file, and ...
0
votes
1answer
57 views

SSH connection stopped by router

I have a raspberry pi 3 running Raspbian connected through ethernet to my router (Orange Livebox), and I used to SSH into it through the local network with 192.168.1.99 (I set a static IP) or remotely,...
1
vote
1answer
190 views

Dnat does not work with marked packets

I try to detect transit http traffic and forward it to one host by iptables string module. iptables -A PREROUTING -t mangle -j CONNMARK --restore-mark iptables -A PREROUTING -t mangle -p tcp \ -...
1
vote
0answers
35 views

Send connections from minecraft port 25565 to another server [duplicate]

I have a domain name domain1.com and I want if someone want to connect (via minecraft) on port 25565 that the connection is transfered to another server. So: connect to domain1.com:25565 ==> ...
0
votes
0answers
28 views

How to Setup the Network Interface from Ubuntu / KVM to Connect to Windows 7 VM

i want to create a Gameserver in a Windows VM on my Ubuntu 16.04 Server with KVM. I have already installed the vm and it is running properly. I deactivated the Windows Firewall directly in the VM. ...
0
votes
1answer
48 views

Forwarding traffic back to localhost

I'm implementing some kind of router which has multiple internet connections, based on current throughput of those connections it would forward packets/frames using faster connection. In order to ...
0
votes
0answers
38 views

Port forwarding working to regular host but not to KVM guest

I am using port forwarding to bridge two networks, Home (172.16.1.x) and Work (10.x.x.x), for easy access. My Work has also assigned a range to me, 192.168.203.x. There is also some NATing involved. ...
1
vote
0answers
99 views

Unable to reach Hortonworks HDP on port 8080:This site can't be reached

My goal is to run HDP on VM VirtualBox Image shows my port forwarding rules When I try to launch dashboard My host machine is 18.04 Ubuntu. Port mapping output 8000/tcp open http-alt 8042/tcp ...
0
votes
1answer
55 views

How to connect to webserver in NAT port forwarded virtual machine

I have a simple node js web server that is listening for tcp on port 1058 and udp on 1059 which is in a ubuntu virtual machine. Everything works great with a bridged connection, but I need it to be a ...
0
votes
0answers
155 views

OpenVPN port forwarding on VPS behind NAT (Google Cloud)

I want to forward certain ports on VPS via OpenVPN. I have installed the OpenVPN on my server and it works great but I was not able to forward port. It seems Google Cloud's VPS servers are behind ...
1
vote
0answers
207 views

Connect local IP camera to cloud VPS via Openvpn tunnel using DNAT and SNAT

I'm running two IP cameras on my local network with RTSP turned on. I have zoneminder (camera recorder) hosted on my local network and camera streaming directly to it using RTSP. However, I need to ...
0
votes
1answer
1k views

Centos 7 port forwarding with firewalld not working

I can't seem to make firewalld-based port forwarding work under Centos 7. I am forwarding 192.168.0.148:905 to 192.168.56.102:22. When I try to ssh to 192.168.0.148 -p 905 I get "Connection refused"....
0
votes
0answers
259 views

DLNA Port Forwarding using SSH

I want to forward remote DLNA-Server (Plex DLNA), which is running on an VPS per SSH Forwarding to my LAN. I experimented already with Local Port Forwarding to get Plex (Port 32400) from VPS working ...
0
votes
0answers
724 views

HAProxy as a reverse proxy for backend already ssl enabled and SSL terminator for a backend exposed in port 80

I have 4 servers: proxy_server, $BK_SERVER_001, $BK_SERVER_002 and $BK_SERVER_003 The "proxy_server" only has an HAProxy enabled service with this configuration: (please look at the rows marked ...
1
vote
0answers
135 views

How to chain two proxies, or: How to redirect network traffic from one process, to a local proxy

Here's the scenario: I have a proxy, that when Chrome is setup to map requests to, records the requests from Chrome + the responses from the real server. It records all of this in a special format, so ...
2
votes
1answer
194 views

Why ip_forward is disable by default? any side effect?

I need to forward an interface and I wonder why is disable by default? There is any security issue when I enable it? Is there any side effect when I enable it?
0
votes
0answers
38 views

Embedding in iframe web-application at a port on another application in the same server

I have an application at say port 5000 which can render embedded iframes. https://host-public-ip:5000/ I have a second application on say port 6000. I would like to embed this page in an iframe in ...
0
votes
0answers
71 views

ssh reverse tunnel with dynamic port for backup over ssh in DMZ

I'd like to do backup over ssh on a server in DMZ, the backup would be executed by a backup server which can ssh to DMZ. I was thinking to use reverse ssh port forwarding with dynamic port, ie. ssh -R ...
1
vote
0answers
69 views

Accessing nginx behind a Virtual Server looses port number

I have a Debian server running nginx with the following nginx configuration: server { listen 80 default_server; root /var/www/serviceserver1; index index.html index.htm; location /api ...

1
2 3 4 5
9