All Questions
368
questions
0
votes
0
answers
32
views
Cannot establish HTTP connection with VPS although ufw is allowing outside traffic
Here is the output of sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip
To Action ...
0
votes
2
answers
111
views
Portforwarding Port 22 ( for ssh ) over JioFiber Router not working ( port 22 is closed )
I am using a JioFiber Router ( Firmware version : SRCMTF1_JCOW414_R2.52.1 ) . The host that I want to expose to the internet has Ubuntu Server 24.04.
Private IPs :
Router ...
0
votes
0
answers
33
views
iptable-save command not showing any output
When i run iptables-save command on Ubuntu Ubuntu 22.04.3 LTS and Ubuntu 20.04.4 LTS it not showing default firewall chain rules when i run this other linux example centos or redhat i am able to see ...
0
votes
0
answers
53
views
Ports show as open when nmaping to localhost but filtered when connecting to IP
My 22.04.4 Ubuntu server was installed on a Proxmox VE. Then I installed Discourse forum on top of it (it uses Docker).
Now, after successful installation the Docker's 443/80 ports show as closed when ...
0
votes
0
answers
32
views
Jammy 22.04 Attaching a pro subscription
when I try to attach my UbuntuPro subscription it keeps failing with no real error message.
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
...
1
vote
0
answers
41
views
Unable connect via port knocking
I am trying to set up port knocking on my server to enhance security. I've configured my firewall rules to use port knocking, where I have to connect to specific ports in a specific sequence before ...
0
votes
0
answers
23
views
LAN network with just two computer: All ports time out, except port 50002, which refuses connection. Why?
Preface and Context:
I am currently troubleshooting the ROS2/LAN based connection of my UR5 CB3 robotic arm with the Ubunut 22 control comupter and the respective driver. This robotic arm seems to ...
0
votes
0
answers
35
views
Assistance Needed: Recovering Root Password and Accessing Firewall Settings on Ubuntu 20.04 Server
I am encountering issues with my Ubuntu 20.04 server running on Oracle, as I have forgotten the root password. Unfortunately, I am unable to access the GRUB menu to initiate password recovery. Could ...
0
votes
1
answer
76
views
Port not open (ufw disabled)
On the server, running Ubuntu 22.04
sudo netstat -tnlp | grep :4000
tcp 0 0 0.0.0.0:4000 0.0.0.0:* LISTEN 10690/nxd
tcp6 0 0 :::4000 ...
0
votes
2
answers
281
views
LXC container cannot ping 8.8.8.8 or other outside ip
I run a LXC container on my "Ubuntu 23.04" VM by UTM on my mac laptop
but I cannot ping 8.8.8.8 in my LXC container.
I downloaded lxc via snap
note: I have search many info to fix the ...
0
votes
0
answers
47
views
Checking this network connection (port forwarding)
I have the below setup, I want to be be able to reach the device (192.168.2.180 eth) from my desktop (192.168.1.3 wifi) I have a linux server in the middle (192.168.1.111 WIFI), (192.168.2.22 Eth)
...
0
votes
1
answer
270
views
Using Ubuntu 22.04 as DNS Server with bind9
I want to use a simple ubuntu 22.04 server as a DNS Server for my pc.
I created a new server, with a static ip address, that i will type in to my dns in windows.
My problem is, when i try
nslookup ...
0
votes
1
answer
257
views
Port Forward for LAN
I bought a server and have Ubuntu 22.04 installed.
When I run various Github projects like Text Generation Webui, Automatic1111 Stable Diffusion, etc., how do I forward the port to access it from my ...
0
votes
0
answers
157
views
Ubuntu 23.10 keeps inconsistently blocking incoming connections (from machines on the same subnet)
I have a fresh install of Ubuntu 23.10. It's running on a PC at home, and is only Wi-Fi connected. I've enabled ufw, and have allowed web traffic as I'm using this to mock up a Wordpres site for ...
0
votes
0
answers
44
views
nginx running and port allowed, but on client side is closed
I have a server was running fine with port 443, but not it's not running.
using command sof -i -P -n | grep LISTEN, i get:
nginx 3124 root 6u IPv4 39437 0t0 TCP *:443 (LISTEN)...
0
votes
2
answers
469
views
Cannot access any service running on ubuntu server including SSH
Problem: I'm unable to access any service running on by Ubuntu 22.04, including SSH. This server has been running for months without any issues. It currently hosts a frontend as well as 3 different ...
1
vote
0
answers
95
views
Strange UFW Block Logs
i noticed repeats of the following logs in my server:
Dec 3 21:55:27 alice-server kernel: [287677.084885] [UFW BLOCK] IN=ens18 OUT= MAC=01:00:5e:00:00:01:90:9a:4a:dc:31:62:08:00 SRC=192.168.0.1 DST=...
0
votes
0
answers
30
views
I'm attempting to execute a Flask test file, but when attempting to access it through the browser, an error stating that the site cannot be reached
I have tried creating an inbound rule in my firewall to allow port <5000> but its still showing site cannot be reached.
i have also tried to Check UFW (Uncomplicated Firewall) with this command
'...
0
votes
0
answers
286
views
Setting up a reverse proxy on home lab
I'm very new to Linux and bash. I'm working on a homelab (machine a) project.
My ultimate goal is to set up Nginx on my server and connect externally (machine c) to Docker apps File Browser, possibly ...
4
votes
1
answer
955
views
I can't connect to Ubuntu server from local network, but can from outside
This is a weird one that has been driving me crazy for a while. I just can't work it out.
I'm running Ubuntu 22.04 (with all latest patches) on a Dell PowerEdge-r710 server. It's hosting a variety of ...
0
votes
0
answers
126
views
UFW block internet connection while using proxychains, How could I configure UFW?
I downloaded Tor, I edited proxychains.conf, uncommented dynamic_chain, proxy DNS - no leak for DNS data, proxy DNS. I added at the end of the proxychains.config file 5 different socks5 server IPs and ...
1
vote
1
answer
156
views
BIND9 on Ubuntu 20 - Cannot configure Zone to work properly
I installed it on Ubunto 20 and configured two zones
Options config file
acl internal {
localhost;
localnets;
192.168.70.0/24;
10.200.157.0/24;
};
options {
...
0
votes
0
answers
170
views
Restrict access to Docker container port to ip adresses
There are several docker containers on my server, exposing ports. Now I try to restrict the access to the ports to IP-Adresses being able to insert rules without allowing the policy. I apply IP-Tables ...
0
votes
0
answers
2k
views
SSH Connection Timed Out Ubuntu 20.04
I've looked through a million threads on this topic but nothing has worked. I'm trying to ssh into my linux through port 22. Connection is refused.
UFW is inactive and firewall-cmd is not downloaded
...
2
votes
0
answers
113
views
External HTTPS succeed, internal HTTPS requests timeout on home server
I am running Ubuntu Server 22.04.3. I am using it to serve an API built on Flask, which goes through Gunicorn and NGINX to hit the outside world. The server works as expected for requests served over ...
0
votes
0
answers
288
views
UFW allow all IP from ASN
How to allow access to ubuntu with UFW firewall for all addresses belonging to one ICT provider with its ASN number (Is it possible?)?
0
votes
0
answers
519
views
cant enable UFW firewall
I am trying to set up a code-server on my ubuntu 22.04.
However I came to the realisation that my firewall wasnt enabled and tried enabling it using the instructions on this other thread : https://...
0
votes
1
answer
146
views
Port Forwarding to another machine Rust gameserver
I need to forward UDP port 28015 of my local machine to another machine with port UDP 28021. Rust Game Server. (Redirect incoming traffic on a specific port to a different IP address with altern port)
...
0
votes
0
answers
701
views
Connection via SSH works once or twice then never again for that client
I have recently set up a Ubuntu Server minimized. I initially used the server through an SSH with client1 but after one use I kept getting Connection Timed Out when attempting to ssh from client1. I ...
0
votes
0
answers
756
views
curl to localhost fails in 20.04
I have host machine 20.04 and guest VM box 22.04
I am trying to run the curl command and on both machine getting the same error.
Host running this:
sudo ufw status
Status: active
To ...
1
vote
1
answer
3k
views
Can't connect to remote MySQL (v. 8.0.33 | ubuntu 22.04.2)
On the server with the operating system ubuntu 22.04.2 installed MySQL version 8.0.33 with the following configuration:
/etc/mysql/mysql.conf.d/mysqld.cnf
#
# The MySQL database server configuration ...
0
votes
1
answer
156
views
Unable to remote access the web server running on Ubuntu machine
I'm unable to remote access nginx server or express server or any server running on Ubuntu in the same network
I tried every solution found on Google, chat gpt but no benefit
I'm able to ssh on Ubuntu ...
0
votes
0
answers
53
views
Uable to connect Ubuntu server by remoting
Hello I'm newbie of Ubuntu system. I have some problem that I've figured out for a while but I could not solve it yet. I could not remote to Ubuntu 22.04 server from my laptop (Putty said connection ...
0
votes
0
answers
336
views
Port forwarding not working
I have a machine on my home network I am trying to port forward (for rust if that helps) and I need to get these done
TCP: 27015, 27036, 28016, 28083
UDP: 27015, 27031-27036, 28015
I have allowed all ...
1
vote
0
answers
655
views
Rsyslog not listening to UDP ports on Ubuntu 20.04
I have configured an Ubuntu 20.04 as my syslog server, to receive logs from Cisco Meraki. This should then send to Microsoft Sentinel SIEM.
My issue is that Rsyslog is not listening to UDP port 514 or ...
1
vote
1
answer
1k
views
Cannot Ping Server Despite UFW Inactive, Server Can Ping Other Devices
I'm running Ubuntu Server 22.04.2 LTS on a computer on my home network, connected via wifi. It can connect to the internet, and can ping other devices like my main Windows PC and my phone just fine, ...
0
votes
1
answer
32
views
Login to another machine inside firewall
we are a small company working with laptops in a shared office setting. We are inside a shared firewall managed by the company renting out office space, and we can not configure this in any way.
For ...
0
votes
1
answer
295
views
strange entries in ufw log
I have a very permissive firewall configuration, where I have almost all ports open:
$ sudo ufw status verbose
Status: active
Logging: on (low)
Default: allow (incoming), allow (outgoing), deny (...
-2
votes
1
answer
527
views
IP addresses of ubuntu servers which apt-get connects
My server uses Ubuntu 22.04 LTS. I have a very restricted firewall (UFW), that is, I have run these commands:
sudo ufw default deny outgoing
sudo ufw default deny incoming
But, I would like my system ...
0
votes
1
answer
964
views
UFW - Port is reachable for everyone although only certain IP's are opened
I run an Ubuntu 22.04 server on an VPS with a current version of UFW.
Further i run an docker instance with firefox - https://hub.docker.com/r/jlesage/firefox
The port is routed to 5800 to access this ...
5
votes
1
answer
6k
views
what is 'target: default' of a zone's configuration in firewalld?
I am currently using ubuntu 20.04 machine and installed firewalld as the firewall manager service.
While looking at the configuration of 'public zone' , i can see as below,
public (active)
target: ...
0
votes
1
answer
171k
views
Mikrotik SSHD error: connect to host 9x.xxx.xxx.xxx port 7346: Operation timed out
I changed the router for my dedicated server from TP-Link to MikroTIK and upgraded router os to 7.8, the configuration on the host machine itself did not change, only the router was changed:
I opened ...
0
votes
0
answers
153
views
nmap on local host shows "filtered" on port which is stated as "open" on remote host
My question is similar to this but I'd like to fix and understand the error without having to rely on the possibility that factory-resetting my router will fix it for me. I also found this which is ...
0
votes
0
answers
404
views
Cannot SSH into host on local network using TCP wrappers, despite allowing "sshd : LOCAL" in /etc/hosts.allow
I have two servers running ubuntu server 22.04.2 LTS on my local network, the servers have the following names and IP addresses: ubuntuserver100 - 192.168.50.100 and ubuntuserver101 - 192.168.50.101 ...
1
vote
2
answers
172
views
ufw rules for Selenium grid
I use Selenium grid docker container on my server which could be accessed from the web by http://IP_address:4444.
Please help me to figure out how can I filter or disable this connection by adding ...
0
votes
0
answers
135
views
Block ips from certain country and security
I have an Ubuntu Server 22.04 with Nginx installed along with a laravel application.
When I view the access logs I can see a lot of attempts from a certain country to exploit my server and application....
-2
votes
1
answer
2k
views
Error establishing a connection to SQL Server
Welcome, After installing MS SQL Server on Ubuntu and trying to connect it shows the following:
~$ sqlcmd -S .\SQLEXPRESS -Q "SELECT GETDATE();"
Sqlcmd: Error: Microsoft ODBC Driver 17 for ...
0
votes
0
answers
164
views
Can't get ssh working on Ubuntu
I am trying to follow this guide to get phpMyAdmin installed on Ubuntu 20.04.
The first step is to set up a non-root user, and it's here that I'm stuck. I cannot log in to root@public_server_ip. I am ...
0
votes
1
answer
3k
views
How to enable a specific port on Ubuntu version 22 so that it is accessible to outside world?
How to enable a specific port on Ubuntu version 22 so that it is accessible to outside world?
I am already logged into the server through ssh using port 22 and able to successfully execute all the ...
0
votes
0
answers
128
views
Make port 80 globally accessible
I am trying to set up a VPS server (Ubuntu 22.04 LTS) bought from Microsoft. I am able to set up NGINX on my own by watching this tutorial. After setting up all the configs stated in the video I ran ...