Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [port-forwarding]

Questions about setting up, configuring, and maintaining port forwarding configurations. Be sure the question actually relates to Ubuntu in some way.

0
votes
0answers
35 views

I can't connect to my ssh server [on hold]

So, I have set up an ssh server, forwarded a port to it through my router, so i can connect to it from an external network. Yes, I have set it to listen on that same port i forwarded, and yet it doesn'...
0
votes
1answer
26 views

How to connect to a certain port on SSH

So, I am setting up an ssh server. I have installed the ssh-server program on my server. However, I didn't want to connect to it through port 22, because reasons, so I set the server to listen through ...
0
votes
0answers
16 views

Forwarding Traffic From One Port to Another and Vice Versa

The goal: Have process A send messages to process B and vice versa via TCP (I'm using ROSBridge). The problem: Only one process can use a port at a time The solution (?): Have process A use port ...
0
votes
0answers
87 views

NitroShare: “Unable to listen on Port 40818”

I have just installed NitroShare on both Ubuntu and Win10. I keep getting the error message "Unable to listen on Port 40818" on both machines. So I guess I have to open port 40818 which I assumingly ...
0
votes
0answers
41 views

SSH to home ubuntu, from different network

I have ubuntu 16.04 laptop, And I want to ssh it from a different network. my router is tp-link AC750. I enabled port forwarding, as in the image I found my public ip address using google and tried ...
0
votes
0answers
9 views

How to visit vncserver by port forwarding

I have a machine A running vncviewer, a machine C running vncserver and a machine B. A can visit B, C can also visit B, but B can only vist C by reverse ssh tunnel. A can not visit C directly, but can ...
0
votes
0answers
85 views

Running jupyter notebook on a remote server that is behind a bastion server on a local computer

The quetion might be a little confusing so allow me to clear it up. I have a remote server, let's call it called remote.server.com which is accessible via ssh only by first tunneling into another ...
0
votes
0answers
34 views

domain name and subdomain pointing to default apache and webmin

I have recently setup Ubuntu Server 18.04 on an old but still decent laptop. Have installed apache2, php, mysql etc. and webmin. Have done the port forwarding in my router and when I access my ...
1
vote
0answers
61 views

Port Forwarding to Glassfish Web Services Application on Ubuntu Not Working

I have been working on this for a couple of days now, and it is probably something very simple that I am overlooking, but I can't seem to get this to work. So, any help would be greatly appreciated! ...
0
votes
0answers
23 views

How to forward port to a host side?

I want to forward the UDP port 20595 on the host side in order to play a multiplayer game : Yet I am not on my server IP, I am really new to this. But I know from this question that I have to do ...
0
votes
1answer
18 views

Forward client port to my computer

I need to send packets through a server port number 38xxx and then receive packets using UDP protocol from a client port number 48xxx. How can I implement this port forwarding in order to receive the ...
0
votes
0answers
18 views

How to do port forwarding using iptables [duplicate]

in our linux systems we have 2 ethernets. eth0=192.168.5.1, eth1=192.168.0.55, *eth0 is connected pc and eth1 is connected to ipcamera we want forward the 8080 port of ipcamera to the etho:8080 port ...
0
votes
0answers
32 views

Port forwarding between three PC's

Architecture: configuration: PC 1 eth0(a) - 172.xxx.xx.xxx PC 2 br0(b) - 172.xxx.xx.xx PC 2 br1(e) - 192.xxx.xx.xx PC 2 container eth0(c) - 172.xxx.xx.xx PC 2 container eth1(d) - 192.xxx.xx....
0
votes
2answers
341 views

KVM NAT Port-Forwarding

i have Ubuntu 18.04 with KVM and a Debian VM. The Debian VM should accept the port 8834 from outside. Can anyone explain me how it should works? Thanks
0
votes
0answers
72 views

Port forwarding from Jump box

I've had this working perfectly before however a server restart has lost my settings and now it's not working. I have a LDX cluster setup on some Ubuntu servers on eC2. I'm trying to connect to a ...
2
votes
2answers
417 views

List ports forwarded by myself from ssh?

If I connect to a server like so: JP_PORT=$(shuf -i 8895-9100 -n 1) TB_PORT=$(shuf -i 6010-6200 -n 1) ssh -Y -L ${JP_PORT}:127.0.0.1:${JP_PORT} -L ${TB_PORT}:127.0.0.1:${TB_PORT} <host> Once ...
1
vote
0answers
64 views

Port fowarding: Emulate public IP on Ubuntu under Virtual Box [closed]

I need to install a Demo application made in Ubuntu on a virtual machine running from within Windows 10 on a Laptop, to be presented to potential customers in different locations in the same country, ...
0
votes
1answer
81 views

Port Forwarding stops working after several minutes

I am currently having issues with port forwarding.I've got a raspberry pi with Ubuntu 16.04 installed, it's running apache and ftp servers. I've configured a static ip for my system and configured my ...
0
votes
3answers
1k views

how to access openvpn outside my LAN

I freshely installed an OpenVpn on my machine which runs ubuntu server 18.04 LTS. I scanned my ports with nmap it seems to be my ISP filtered all ports so i'm unable to do port forwarding. Is there ...
3
votes
1answer
97 views

How can I put speed limits on ports?

I have UFW enabled, so the solution should not interfere with it. It should also work after reboot. I currently know these commands which limit the data usage of ports: sudo iptables -I OUTPUT -p ...
2
votes
1answer
140 views

Why does my ubuntu server become unavailable from remote access after about 10 hours?

While setting up my raspberry pi with apache2, shh and more at a new address I've encountered a problem. My setup consists of a router with port forwarding 80, 443 and 22 to my RPI's static local IP, ...
2
votes
1answer
957 views

Ubuntu SSH tunnel to server [duplicate]

I used to have my PC on Windows and use Putty to forward internet traffic so it would get through my VPS (located in another country) and give me the opportunity to look like I'm located there ...
0
votes
0answers
42 views

VPS using OpenVZ: Port forward for external users

I have a VPS with Ramnode and am trying to run a server for a game on this VPS. As an example, I run this command to run the server (through ssh to access the server): ./game --config path/to/config --...
0
votes
0answers
44 views

Port forwarding doesnt work. Did i miss something?

Im aware of the fact there are thousand topics about port forwarding out in the internet. I have been searching for a week to find an answer. I obviously cant read all of them, there are just so many ...
0
votes
1answer
68 views

Cannot SSH over the internet even port forwarded

I can SSH via local network. nmap -p <ssh_port> 192.168.1.xx => <ssh_port> open But I can't SSH over the internet even port forwarded. nmap -p <ssh_port> xxxx.duckdns.org or &...
0
votes
1answer
320 views

Port forwarding in ubuntu server 17.10

i recently installed nextcloud on my ubuntu server for accessing it outside the my local network i need to do port forwarding from localhost to external ip on port no. 443 i tired this solution https:/...
0
votes
0answers
299 views

Cannot ssh to computer behind a router

I have a desktop at home that connects to a router, I had set up ssh port forwarding, allowed firewall access on the corresponding port and changed ssh config to listen to the specific port. It was ...
0
votes
0answers
70 views

Are forwarded ports blocked

I am trying to set up Golem to provide on their mainnet. I have Ubuntu 14.6 LTS. I have successfully set up and run Golem in their testnet several months ago. I am required to and I am forwarding ...
0
votes
0answers
53 views

Redirect connection to a port to another port

I have an application listening on a specific port. The port that the application listens is allowed on my home network but is sometimes blocked on other networks. I would like to have a backup port ...
1
vote
0answers
155 views

UFW: Forward port to another IP on the same interface/subnet

I need to forward port X to another IP within subnet. There's an answer on ServerFault that is exactly what I need, however, UFW documentation states: # Uncomment this to allow this host to route ...
1
vote
0answers
1k views

How to set up VirtualBox port forwarding on host running Ubuntu? [closed]

I have a virtual machine running Ubuntu MATE 16.04 for web server stuff with Apache (it's for school). I got port forwarding set up on VirtualBox, but the problem is that port forwarding won't work ...
0
votes
0answers
28 views

How do i setup the port correctly?

I have installed a server called FiveM, it's a mod for GTAV, but to the question. The server uses the port 30120, and whatever i seem todo it doesn't work. I can't seem to get it to connect at all. ...
0
votes
0answers
37 views

I want to create a server in ubuntu that will run nodejs as the scripting laanguage

I want to run a node js instead of Php and want to make query from Android to access Database. But I am not getting a way to run the server from NodeJs in linux. I have a static IP in that specific IP ...
0
votes
2answers
959 views

can't open port

I'm new in ubuntu & networking. I opened port: 9876 ofr tcp and udp. I Created a java udp client and server. The server is listening to port 9876 and I connected to my server with my external ip ...
1
vote
1answer
239 views

Proper port forwarding under Ubuntu

What is the correct way to open ports in Ubuntu and use Transmission in active mode? I opened port in my Technicolor 7200 router using this guide as follows: Then, I opened a port via terminal: ...
0
votes
1answer
402 views

how to connect multiple clients on server

nc -l -vv -p 7795 This is the command for listen the port But i can connect only one client by using(nc localhost 7795) to the port,tell me how to connect multiple client to the port 7795
0
votes
1answer
233 views

How do I open a specific port (30033) for Teamspeak?

I have a teamspeak server set up on Ubuntu 16.04, and I need to open port 30033 to transfer and upload files. I can't find a direct answer on how to do this. How can I open port 30033?
0
votes
0answers
305 views

unable to bind to requested udp port 43210 (ipv4)

I'm trying to run "BombSquad" game it requires to bind to udp port 43210 , i have no idea how to bind to udp port. i ran ./bombsquad_server command this is the output: bombsquad server wrapper ...
0
votes
1answer
134 views

How can I allow SSH into my computer when I'm away? [closed]

So let's say hypothetically I am going to be away from my desktop but I'd like to be able to SSH into it when I am out and about. Is it as simple as adding a NAT / port forwarding rule to my router ...
0
votes
0answers
357 views

Port forwarding for torrent client via UPnP

First, I'm currently connected to my neighbor's router who is not at home, which is why I can't ask him to forward a port via the router. I'm trying to forward a port to accept incoming connections ...
1
vote
0answers
708 views

How to open port for transmission bittorent while using internet from USB tethering?

I have a router and an old desktop pc running Lubuntu 16.04 64Bit. I use internet on my desktop PC like this: I connect my android phone (Marshmallow, Lenovo K 4 Note) to the wifi network of my ...
0
votes
0answers
132 views

Redirect denied connections from ports 80 and 443 to a 403 page

I have a server that is running sniproxy. I have ufw as a firewall, which I use to allow certain IPs to use the proxy. However, I need to send the denied attemps to a 403 Forbidden page. Can someone ...
0
votes
0answers
101 views

vlan + bridge + xen = broken?

I am new to Ubuntu; I have been using Opensuse with VirtualBox for many years - no issues. Wanted to give it a try due to ZFS integration With Ubuntu/Xen though it is not so easy - it gives me the ...
0
votes
0answers
1k views

Cannot access nginx site from external IP

So I'm having a quite strange problem. I've just bought an HPE ProLiant Gen8 microserver to run Plex and webserver. So first off I installed Plex and port forwarded 32400 on my Asus RT-AC66U router. ...
0
votes
0answers
448 views

Can't forward remote port to local

ssh -vvv -R ZZZ.ZZZ.ZZZ.ZZ:1000:localhost:80 root@ZZZ.ZZZ.ZZZ.ZZ -N I can't bind to primary ZZZ.ZZZ.ZZZ.ZZ ip address: debug1: remote forward failure for: listen ZZZ.ZZZ.ZZZ.ZZ:1000, connect ...
0
votes
0answers
409 views

Issue in Port forwarding in virtual box

We have installed Oracle Virtual box in Ubuntu 16.04. We are trying to run a virtual machine with NAT enable PORT Forwarding. I am not able to 2-digit ports such as 22 or 88. But forwarding 4-digit ...
0
votes
2answers
385 views

VirtualBox DNS Specific Port Forwarding

Here is my problem; I have virtual-box running on Ubuntu 64 bit (17.04) and I have multiple virtual machines (all Ubuntu 64 bit). I want to forward port 80, 25, 143 and 22 to all of the virtual ...
5
votes
1answer
460 views

How can I expose multiple remote server ports via sshuttle?

I have a remote server that only exposes SSH. It has services running on other ports, for example a database on port 3306. These ports cannot be accessed remotely, but are accessible from within the ...
0
votes
0answers
2k views

Port forwarding from OpenVPN Client to Public Internet

I need to forward port 44444 of my VPN client to the public internet with my public IP on port 44444, how i can do this? The VPN Server is mine and I have root access. Example how i can do this? ...
0
votes
1answer
177 views

Can't connect to my gateway address (refused to connect.)

So for the last days I've been trying to portforward a server for a game (TF2 to be specific), and for some reason I can't access my router's admin page. I do have internet connection and have no ...