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

Antibot with iptables

IPTables version: 1.6.0 limitpertime=1 time=3 principalport=25565 ports=8000:9000 iptables -t nat -A PREROUTING -i eth0 -p tcp --dport $principalport -j REDIRECT --to-port $ports iptables -A INPUT -i ...
1
vote
0answers
13 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
23 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
19 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
13 views

How to setup port forwarding on more than one network interface using same port number?

I have a configuration on a Ubuntu 18 server that I need help with. I have two network interfaces on a AWS EC2 instance with each its own public Elastic IP address: 13.244.83.204 -> 10.0.0.10 (10.0....
0
votes
0answers
49 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
18 views

Can not access port on Ubuntu in AWS after some time of application run

This is my first question on StackExchange. We developed a TCP/IP server application to accept multiple clients and we used java to develop this application. Once client connected, it will do multiple ...
0
votes
0answers
28 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
22 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
0answers
48 views

Use Network Namespace for SSH Tunnel

I have an Ubuntu 18.04 server in which I've created two virtual interface pairs (veth0a & veth0b) and assigned the end of one interface (veth0b) to a new network namespace (netns0): ip netns add ...
0
votes
1answer
117 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
0answers
21 views

UFW - to MSSQL server - port forward

I have a gateway node with UFW running. (public ip and internal ip_ I have set up the DNAT to forward port 1433 to the ip address of my database machine (which is behind this gateway node) I still ...
0
votes
2answers
42 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
115 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
138 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
93 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
29 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
61 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 ...
0
votes
0answers
88 views

TUN to LO Interface Packet Loss

I am looking to forward traffic from a client vpn tun0 interface to the localhost (loopback interface), where I have an application listening on port xxxx. Using tcpdump I have been able to isolate ...
2
votes
1answer
489 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 ...
0
votes
0answers
32 views

Redirecting ports in an azure vm to connect from outside

I am hosting a service on an azure vm and I want to run it on port 7000. But the port 7000 is not open to outside world. I could see 7001 is open. Is there a way I can do some redirection for the ...
0
votes
0answers
149 views

Port forwarding to OpenVPN client with static IP

I have running OpenVpn server on my router Asus RT-AC58U. The router has public static IP 82.119.97.206 My local net is 192.168.1.1/24 My vpn net is 10.8.0.1/24 On the OpenVpn server (running on ...
3
votes
0answers
72 views

Webpage can not get access from the world!

I have installed a fresh Apache with a fresh Ubuntu server. I did not make any changes to my server yet. The default Apache website is visible from other PCs inside the private network. The ports 80 ...
0
votes
0answers
44 views

problems with 3proxy

I have 3proxy installed and configured on Digital Ocean Ubuntu server. It is configured to receive connections on ports 80, 443 and 3128 but it doesn't let me connect to it via http or https. Tried on ...
0
votes
1answer
76 views

Setting IP to static results in some unreachable ports

I had Virtualmin running perfectly on my Ubuntu 18.04 I set a new internal static IP (Before it was DHCP) with netplan as following: network: version: 2 renderer: networkd ethernets: enp6s0:...
0
votes
0answers
58 views

Listen on 22 port from specific IPs

I've two test AWS EC2 instances with below IPv4 Public IPs 3.15.217.194 18.222.170.204 I want to listen SSH request from above two IPs on my local ubuntu machine to copy some files. Here is my ufw ...
0
votes
0answers
99 views

How to connect a laptop with Windows 10 to a virtual machine ubuntu server installed on ubuntu workstation using SSH over a Wi-Fi network

What is done? Port forwarding between the virtual machine and the workstation 22 -> 5000 Opening of the 22nd port in the virtual machine firewall Opening the 5000th port in the host machine's ...
1
vote
1answer
848 views

Port forwarding through ssh tunnel Showing Warning: remote port forwarding failed for listen port 99

I am trying to secure the PhpMyAdmin to revoke accessing publicly. I tried following step 4 of this link Secure PhpMyAdmin. But when I try to connect it showing a warning that unable to forward to ...
0
votes
1answer
169 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
240 views

How do I connect to vsftpd server via ssh connection

First, a bit of background: I've set up an OpenSSH server on my local media center (htpc, running Ubuntu 16.04 LTS) and I then connect to that externally, via SSH, by using the VX Connectbot app on ...
0
votes
0answers
39 views

Access service via url:port from outside

I have the following network setup: Gateway/proxy and firewall box with Firehol installed 10.xx.xx.xx - Ubuntu internal server behind the gateway 192.xx.xx.xx - Ubuntu All traffic is routed ...
0
votes
0answers
15 views

Have default route from the faster interface, but run port forwarding through the slower one?

My computer is connected to the internet via two Ethernet interfaces - one is the faster one but doesn't have a public IP assigned while the other does, but is slower. I'd like to be able to make ...
0
votes
0answers
224 views

Ubuntu Server is not accessible from the Internet

My linaro ubuntu server is not accessible from the Internet I have a static IP from my ISP. I would like to diagnose what exactly goes wrong. Ubuntu server is connected to my router (Asus RT-N12D1) ...
0
votes
0answers
32 views

iptables PortForward not working properly

4 ISPs are connected to the gateway, I tried using iptables for load balancing, but only one ISP is utilized for connecting to internet while the rest of the ISPs are idle as is evident from the ...
0
votes
0answers
116 views

SSH server only allows one client session connect via it's public IP address

Alright, here's a weird one that's stumped me for the past couple hours: My server is running Ubuntu 18.04, ufw is disabled, and I just reinstalled openssh-server. Maybe it's worth noting that it's ...
1
vote
0answers
204 views

Port Forwarding between 2 hosts in VPN

I'm having some problems while trying to set port forwarding rules on a Ubuntu machine. I'll explain my situation.. I have a Raspberry in my local home's network and I have a webserver installed on ...
1
vote
0answers
73 views

Cannot remotely connect with SSH - Operation timed out

I can SSH into my remote Ubuntu 18.04 device connecting to a local IP address, but I can't do the same connecting to my external IP (edit: from inside my local network). Things I've tried: Port ...
0
votes
0answers
51 views

Only one of two ports of LAN IP traffic passed to user

I have server setup with two 10GE CX4 ports on a single Ethernet card. We use two ports because of the high data transfer rate (1.6GBytes per second) encapulated as UDP/IP data packets. The traffic ...
1
vote
1answer
837 views

Trouble with evil limiter

I'm pretty new to linux, and I am having trouble setting up the network control tool Evil limiter. When installing, I run into this: Traceback (most recent call last): File "setup.py", line 3, in &...
0
votes
0answers
145 views

DMZ (Portforwarding) in OpenVPN

I am running an self-hosted openvpn server with few clients. I want to expose 1 client to the external network, how can I do that? I see similar option in paid admin panel, but I'm using the free ...
1
vote
1answer
98 views

What are the differences between `ssh -R port:host:hostport` and `ssh -L port:host:hostport`?

I learned about using ssh -L port:host:hostport from DigitalOcean tutorials, and later saw the use of ssh -R port:host:hostport for Remote VSCode extension. I seem to be able to accomplish the same ...
0
votes
0answers
74 views

Trying to SSH into an ubuntu server using global IP

I've set up an ubuntu server, and can SSH into it just fine via 192.168.1.20. However, attempting to use the global IP results in SSH hanging. I've forwarded port 22, and confirmed that that is the ...
0
votes
1answer
1k views

I can see forwarded port on canyouseeme website, but not on NMAP scan?

I have forwarded port 14444 using my routers configuration panel. Here is the screen-cap: Then I ran ncat using: sudo ncat -k -l 192.168.15.42 14444 https://www.canyouseeme.org/ says "Success: ...
0
votes
0answers
50 views

Can't access Samba share after forwarding ports?

I have forwarded my ports and can verify that they are open using a utility on Linux server. However, I can't actually connect to the samba share. Has anyone encountered this issue before and know how ...
0
votes
2answers
1k views

Mosquito Server Refuses Connections Ubuntu 18.04

This is a fairly narrow issue, but I'm hoping the Ubuntu group can help. I asked on SO, but I am fairly sure the error I am getting is due to a missing setting in Ubuntu or an issue with my router ...
0
votes
0answers
755 views

samba acces from external network

I successfully installed samba and created shared directory, that can be accessed from local network. My question is, how to access my shared directory from an external network (internet). I read ...
2
votes
2answers
7k views

How to connect to a certain port on SSH [duplicate]

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
1answer
154 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
2k 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
148 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 ...

1
2 3 4 5