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.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

Port redirection while blocking the dest-port externally

This might be simple but after spending ~5 hours w/ iptables and googling, I couldn't make it work, so I thought I'll ask here directly. I have an ubuntu machine with Docker installed (so it ...
0
votes
1answer
21 views

Cannot access Apache web server from Wan side

I am running apache 2.4.46 on parrot linux, I modified the default /var/www/html/index.html using html for educational purpose. I can access this server on LAN but I want to access this apache server ...
0
votes
0answers
16 views

Local port not listening for Softether VPN in Ubuntu 20.04

I am trying to build a VPN connection to access the office network. I have used Softether VPN for ubuntu to do the process, and configure the VPN as per these tutorials : https://www.youtube.com/...
0
votes
0answers
27 views

VDS provider blocking port that I need. How to forwarded over other VPS

I have an Ubuntu 20.04 LTS. I was surprised to get to know that the VDS provider blocking port that I must to have opened. There is no way for me to push them to open it. I have to organize that port ...
0
votes
0answers
22 views

Ubuntu port forwarding, Desktop 64bit, wifi, raspberry pi 4 B 8 gb

I have come across a problem while using Ubuntu 64bit desktop for raspberry pi. I would like to use my raspberry pi 4 as a Minecraft server, having completed the server set up, I am able to get a ...
1
vote
1answer
65 views

Port Forwarding rule to make local machine accessible through WAN

I wish to set up a configuration on my home network on one of my machines. Namely, I wish to make it feasible to access it via ssh (the machine runs dropbear for ssh) but externally. Here's an "...
0
votes
1answer
293 views

Ubuntu 20.04 gateway, iptables NAT and port forwarding

i am in a maze, i try in vain to setup the rules to be able to acces from internet my internal web server (192.168.12.10). at home, i have an Ubuntu 20.04 gateway (192.168.12.1) with two interfaces : ...
1
vote
1answer
226 views

can you set socks5 proxy from Linux command line?

I've managed to set a socks5 proxy server from Linux towards another server like this : ssh -D 9090 -N -f user@192.168.76.102 Then I changed the settings in mozilla browser to use the socks proxy, and ...
0
votes
0answers
25 views

Port-forwarding for a minecraft server on 20.04 LTS

I've been trying to play with my friends online in Minecraft for a while now and the two methods I tried ended up failing. The first method was to use hamachi, however its tunneling engines couldn't ...
0
votes
0answers
189 views

Port forwarding In Ubuntu 20.04 with minikube

I'm trying to use minikube in my server. I've finished setting about kubernetes and I can get access to 192.168.49.2 which I got from minikube ip in server ssh (curl). Let's say my server's public ip ...
0
votes
0answers
191 views

Netstat doesn't show a process for port 53, how can I unbind the port and stop listening on it?

I am trying to install AdGuardHome but it is unable to bind to 0.0.0.0:53 because it is already being used. I tried their automated fix, as well as manually following their instructions: Deactivate ...
1
vote
1answer
54 views

Server only reachable locally

Hi I wonder if anyone can try to point me in the right direction... I have a simple web server. It works fine but now that I'm setting it up to run in the cloud I am having trouble connecting to it ...
0
votes
0answers
35 views

Can I setup a Ubuntu desktop as a switch?

I want to setup a VBox Ubuntu to receive and send packets using a single interface from/to the rest of connected PCs.
0
votes
0answers
35 views

Running a web server behind firewall without access to port forwarding?

Is it possible to run a web server behind a firewall when we do not have access to port forwarding? I think OpenVPN does something like this but it's not clear based on the tutorials I'm finding?
0
votes
1answer
42 views

What do these iptable rules mean?

These: sudo iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE sudo iptables -A FORWARD -i tun0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT sudo iptables -A FORWARD -i wlan0 -o tun0 -j ...
0
votes
1answer
67 views

How to forward ports for X11 on Proxmox to a MV

Well, I read that I needed to open ports 6000-6063 and also 117 (UDP). I tried it without luck: post-up iptables -t nat -A PREROUTING -i vmbr0 -p tcp --dport 6000:6063 -j DNAT --to 192.168.x.xxx:...
0
votes
0answers
136 views

How to run Odoo locally on a small LAN (Local Area Network)?

The Odoo docker image for ERP seems easy enough to get off the ground: root@mordor:~# root@mordor:~# docker run -d -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo -e POSTGRES_DB=postgres --name db ...
0
votes
0answers
14 views

Port Forwarding Through Shared Connection

I have a shared connection between my windows desktop and my ubuntu desktop. My Ubuntu machine is the wireless one so I use a shared connection that I setup with nmtui to give my windows desktop ...
0
votes
0answers
51 views

Port 80 forwarding on a broadband connection

We have an Ubuntu 20.04 server that connected to a broadband on enp1s0. We also have a security camera connected to the server on iface enp2s0. The camera has a gateway on 192.168.240.1 and serves its ...
1
vote
1answer
104 views

Network routing and port forwarding problem

I have 2 networks (graph in link below) A: 10.0.0.0/24 B: 192.168.1.0/24 In network A, all devices are connected via a switch. Some devices provide certain services such as ssh or access to a database ...
0
votes
1answer
766 views

Failed to connect to 127.0.0.1 port 80: Connection refused

I am unable to connect to port 80 on an ec2 VM. I even tried this below command. sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT But no change in the response. My security group inbound rules also ...
0
votes
0answers
713 views

(Ubuntu 20.04) Port forwarding for Minecraft server

I'm trying to set up a Minecraft server. I've port forwarded Minecraft's port (25565) on my router but apparently the port is still closed? What should I do?
1
vote
1answer
104 views

In FTP active and passive modes changing ports

I am new to FTP protocol, here i have read about active and passive modes in ftp. Active mode: means client will send port number to server for Data communication. Passive mode:means server will send ...
0
votes
0answers
168 views

friend foo@sip.linphone.org is offline error

The error message is incorrect and probably misleading. So far as I can tell the linphone client works fine from an Android phone. However, on the same network, I can't generate a SIP call between ...
0
votes
2answers
471 views

Ubuntu 20.04 Server firewall

if I type ufw status verbos my system returns status: inactive; but when I was scanning my ports for a specific port with nmap, it returned a closed state for my port. What else besides the firewall ...
0
votes
0answers
113 views

How to open port in client side in windows using my own pptp vpn server on linux?

I had been setup my own pptpd server in my vultr ubuntu server and i connect on it using my client built in in windows and i success to access the internet and when i check my ip i see the vps ip ...
0
votes
0answers
34 views

Communication to server on localhost stops working after setting a port forwarding rule

I have a device with two network interfaces, ethernet and USB LTE modem. There is IP camera connected directly to the ethernet port and it has address 192.168.0.90. I use the LTE interface for ...
0
votes
0answers
13 views

Accessing a website on a server on my laptop

I have a Windows laptop and am trying to access a website on a server on my laptop. I first tried: Connecting to a VNC session and try to access the internet on the server through the GUI. But it is ...
2
votes
0answers
61 views

how can users have their private or virtual ports?

I want to make a server where users can connect and start their own private database server listening on port 9999. So the user logs in with ssh and port forwarding of port 9999 and starts the ...
0
votes
0answers
36 views

Help with understanding traffic allowed vs blocked via VPN

Never mind guys - worked it out - see fixed line below! :) post from an older thread: https://askubuntu.com/a/1015166/1101418 #2 answer did the trick for me on my Virtualbox Ubuntu 20 slurpbox. I use ...
2
votes
1answer
1k views

Nmap port scan shows all 65000 ubuntu (20.04) ports closed

Forgive me if this is a stupid question, I'm currently messing around with nmap / metasploit for educational purposes. I got a bit sick of using metasploitable OS so I thought I'd have a bit of fun ...
1
vote
0answers
160 views

Unable to forward port on “tp link archer c6”

m using my own local Ubuntu server 18.04, and trying to host that world wide. i am also using Tp link Archer c6 rourter for port forwarding. I can forward port 21, but unable to forward any of others....
1
vote
2answers
2k views

VNC Server port is closed

I installed TigerVNC server on my Ubuntu server but I can't connect to it. The server is running but when I try to scan for open ports (in LAN) using my phone, 5901 is closed. Output of nmap localhost:...
0
votes
1answer
1k views

Ubuntu 20.04 - Port forwarding with iptables causing “temporary failure in name resolution” when using sudo

I'm working on a project where my Ubuntu machine port forwards external connections to a second computer on LAN running a game server. I found a few tutorials online on how to do this and ended up ...
0
votes
0answers
41 views

Port forwarding with 18.04.4 LTS

i have 1 pc running ubuntu 18.04.4 LTS. this pc has 2 network cards: enp37s0 (onboard gigabit nic) and enp38s0 (additional pcie gbit nic). enp37s0 is connected DIRECTLY to the internet by cable ...
0
votes
0answers
39 views

Is Ubuntu able to isolate between network port (TCP/UDP)?

I have unetlab (EVE-NG) install on Ubuntu. An issue is between virtual device to virtual device cant do ICMP. Normally it should communicate between port For example if EVE-NG mgm ip is 10.10.10.10 ...
1
vote
0answers
20 views

Port Forwarding Ubuntu to Debian server

I have xxx Ubuntu 18.4 Desktop which is connected to the Internet and have a Debian Server which is not connected to the Internet directly but hosting a cacti server on the same network with different ...
0
votes
1answer
401 views

Redirect traffic from server on cloud to another machine on local host in VPN

I have a virtual server instance on a cloud with Ubuntu 18.04 running on it which has public ip 123.456.789.100 (dummy ip here). I installed OpenVPN server which has added private ip of virtual server ...
0
votes
0answers
309 views

iptables port forwarding Ubuntu 18.04

I am trying to update the iptables with some rules. So far, INPUT and OUTPUT rules seem to be working. However, when I add rules for FORWARD not all of them work. For testing I want to have two rules (...
0
votes
0answers
53 views

Acces my ssh server from one of my internal LAN

I have attached a picture with my logical scheme of my network to understand better what I'm trying to say. I have 2 routers, one it's from my ISP, let's say R1, and the second one it's a laptop with ...
0
votes
0answers
82 views

apache server in lubuntu is not responding to port-forwarding in router

apache server in lubuntu is not responding to port-forwarding in router i tried a lot to make apache server to make it repond to port-forwarding like changing the settings of ufw and apache sever ...
0
votes
0answers
26 views

how to set ufw in my computer inorder to make my computer server in lubuntu

how to set ufw in my computer inorder to make my computer server in lubuntu and how to portforward in ufw i am using apache as server it is not working with public ip address i tried a lot to open ...
0
votes
1answer
405 views

LXD proxy for DNS

I set up a bind server in a LXD instance and I try to forward all DNS queries from host to this instance. I tried this: sudo lxc config device add bind dnsdevicetcp proxy listen=tcp:0.0.0.0:53 ...
0
votes
2answers
76 views

DynDns is not reachable from own network, but works with proxy

I have setup an ubuntu server with a web server i want to port-forward. I tried accessing the IP over proxy and it worked. I have set a dyndns and over a web proxy this worked too. But when i type it ...
0
votes
0answers
1k views

How to forward all local SMTP requests on port 25 to a remote SMTP server on port 587

I'm trying to solve a problem with a bulky program that is, for some reason, only sending email over port 25, even when port 587 is specified. In this answer, someone suggests using the windows ...
0
votes
1answer
864 views

Port forward localhost - workaround

I need to access to my localhost from the Internet. I used to map my localhost to a port on my router and then to port forward it. But since I don't have the privileges to access my router, or at ...
0
votes
1answer
365 views

Enabling remote access to ArangoDB web interface

I am currently experimenting with ArangoDB installed on my Ubuntu 18.04 server. One of the really neat things about ArangoDB is the nicely designed web interface it provides for managing the database....
0
votes
0answers
41 views

How to configure AP forwarding

I have a device DEV1 which should communicate with device DEV3, however in the middle there is DEV2. My understanding is that I need to use IP Forwarding in DEV2 and edit route tables on DEV1 and ...
0
votes
1answer
71 views

How to forward web port without losing http access?

I have configures NextCloudPi on a Raspberry Pi at home and it works quite well. However, the NAT config with the adsl modem is instable. Therefore, I configured a Tinc VPN server on DigitalOcean (the ...
2
votes
1answer
2k views

UFW OpenSSH application port change?

When using UFW I see there are "applications" like OpenSSH or Apache, to name a couple. If I were to change my SSH default port to something other than the 22, would the OpenSSH application rule map ...

1
2 3 4 5