Questions tagged [firewall]

a technological barrier designed to prevent unauthorized or unwanted communications between computer networks or hosts

Filter by
Sorted by
Tagged with
-1
votes
0answers
10 views

UFW Firewall Rules Help

Can't seem to find much help on this or at least some information I can understand. I need to create some rules for the following but not sure exactly how to write these. Both incoming and outgoing ...
0
votes
0answers
12 views

netfilter-persistent and iptables malfunction

Desiring to use iptables on ubuntu 18.04, I removed the ufw and installed iptables-persistent netfilter-persistent. Then, I have edited the /etc/iptables/rules.v4 with the rules and tried to start the ...
0
votes
0answers
14 views

Iptables setup on Ubuntu PC hosting Minecraft server

I want to host multiple Minecraft servers on Ubuntu 20.04 and I was wondering if there were specific rules or things I should keep in mind when configuring iptables. It's my first time setting up a ...
0
votes
0answers
19 views

IPtables not blocking certain ports

I've my iptables configuration to allow some communications, but I've noticed that I do not have a specific rule to allow traffic using port TCP 993 (used by my email client). When I open my e-mail ...
1
vote
0answers
22 views

Is there a personal firewall package/software with GUI available for Ubuntu desktop 20.04?

A tool with similar GUI to glass-wire for windows to Allow & Block network connections by particular App and IP Good to have Features are GUI showing live network traffic GUI to see the network ...
1
vote
2answers
76 views

Cannot use apt/curl/wget/git but can Ping

I have a raspberry pi running ubuntu server 20 and cannot connect to the internet, but can use ping. This question has been asked by many before, however the solutions provided in those questions do ...
0
votes
0answers
15 views

How do I block ips from accessing my sever with UFW

I want to try to block my computer's IP (192.168.0.3) as a test from accessing anything on my server, and more importantly, my website, when I use ufw deny 192.168.0.3 it says Rule added, After ...
-1
votes
0answers
23 views

How do I reject all incoming telnet packets and allow all outgoing telnet packets? [closed]

I used the following command: sudo iptaples -A INPUT -p tcp --dport telnet -j REJECT. But it doesn't work.
1
vote
1answer
19 views

Allow specific mac address access to remote server through the ubuntu firewall

I want to allow a specific mac address to access a specific port on a remote server . That port routes to a web application. What command should I use ? Can I do that via ubf(ubuntu firewall) ?
0
votes
0answers
22 views

ssh connection stays active even after I delete the UFW rule

I'm on debian buster (10), headless. I setup ufw rules to allow ssh from certain IP's only, that works, I can ssh in , I stay logged in.... From a console, I delete the rule, but from the ssh ...
0
votes
0answers
14 views

Ubuntu server, 7 days to die server, can only connect via local IP [closed]

I am trying to allow others to connect to my 7 days to die server. I followed the tutorial on this site https://docs.csmm.app/en/7d2d/server-setup.html and I have the server up and running just fine, ...
0
votes
0answers
7 views

My iptables is being automatically modified to drop all output packets. How to debug it?

Recently, I noticed that I wasn't able to connect to any Wi-Fi. After further investigation, I found the following two things I am noticing that whenever I change or join a router Output policy ...
0
votes
0answers
29 views

iptables - drops all connections despite previous rules

I am trying to allow ssh connections from the local network and drop all other connection attempts on the same port (22), here are my current rules in iptables: -A INPUT -s 192.168.0.0/24 -p tcp -m ...
0
votes
0answers
17 views

how to use UFW with vrf-interfaces on ubuntu 18.04/20.04

I configured vrf's on ubuntu 18.04 and 20.04, default install and enabled SSH service. When UFW is disabled, I can connect to ssh via eth1, once UFW is enabled ssh access via the vrf-interface IP does ...
0
votes
0answers
8 views

Ubuntu 18.04 can't ping outside IPs or domains

I recently created a cloud Ubuntu 18.04 server and I am unable to ping outside IPs. My network (from my understanding) is managed by netplan. Attempts to ping or curl $ ping google.com PING google....
0
votes
0answers
14 views

Setup Firewall rule that will allow only Squid proxy

I am using Ubuntu 19.10. I just jus want that only some selected applications get internet acces, So i've installed squid proxy and configured the application to 127.0.0.1:3128 I've checked the log ...
0
votes
0answers
24 views

Ubuntu Firewall configuration

I have two host south and north and middle i have a firewall, I want to set rules that will configure the firewall to allow ping from firewall and nothing else! what rule should I add? How do I set ...
0
votes
0answers
48 views

Forwarding ports on remote OpenVPN machine with UFW

I am trying unsuccessfully to setup port forwarding on a remote machine over an OpenVPN connection. Diagram: ---------------------------------- ---------------------------------- |...
0
votes
0answers
20 views

What does the firewall in ubuntu 20.04 do when i activate it?

I just installed Ubuntu 20.04 and found that the firewall is inactive. Input: sudo ufw status verbose Output: Status: inactive What is verbose and ufw ? Why is it not activated by default? What ...
0
votes
0answers
9 views

Can people access traffic on a port if ufw status shows inactive?

I'm using Ubuntu 18.04. I want to open my firewall to traffic on a port. I'm confused about what will happen. I tried this davea@chicommons-laboratory:~$ sudo ufw allow 4415/tcp Rules updated ...
0
votes
1answer
30 views

What does this `iptables -t filter -X` command mean

What does this command mean: iptables -t filter -X What is the purpose of -X? And what's the difference between -X and -F?
1
vote
1answer
28 views

UFW rule to allow LAN traffic

I have UFW setup and enough rules to allow me to be able to do what I need to do on a regular basis except for one thing. To be able to access anything on my LAN (NAS, printer, Chromecasts, etc.) I ...
0
votes
0answers
17 views

Editing iptables rule

I am trying to edit the iptables rule below or at least to increase the limit to 20 or more. How to achieve that? 48 0 0 REJECT tcp -- any any anywhere anywhere ...
0
votes
0answers
16 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
14 views

Block web traffic on ubuntu server

blocking web traffic on ubuntu server 20.04 doesnt seem to work fully. So im using a vultr server with ubuntu 20.04 and have an openvpn server installed via this page which has installer script; ...
0
votes
1answer
35 views

I can ssh to the server but port is not listed as open

I can easily ssh to the server using ssh dev@1.2.3.4 -p 42912 But from inside the server if I run sudo netstat -tulpn I get: Why the port 42912 is not listed?
0
votes
0answers
15 views

How to block certain website using ubuntu firewall or directly from mobile since i am using mobile hotspot for my internet?

I am addicted to YouTube so i want to addicted to YouTube.I saw lots of add-on but my dopamine level is delete those add on. So i want to know if there are any method to block website using Ubuntu ...
0
votes
1answer
52 views

Creating/importing iptables rules to ufw

Thank you very much for your time in reviewing my issue. I am currently trying to convert the following iptables to ufw: iptables -A INPUT -p tcp -s 127.0.0.1 --destination-port 443 -j ACCEPT ...
0
votes
0answers
45 views

UFW kill switch with exception for port 180

So, I have a Ubuntu Server 18.04 that is connected to my home network, but uses a VPN. In order to block internet access, I blocked all connections of UFW like this: - First all IPv6 connections were ...
0
votes
0answers
6 views

Unexpected firewall behavier?

MY ENVIRONMENTS WORKING (A) : remote VPS SSD 2 runs Ubuntu 18.04 to serve “alphadomain.com“ FAILING (B) : remote VPS SSD 2 runs Ubuntu 18.04 to serve “betadomain.com“ Both environments were ...
1
vote
1answer
39 views

outward traffic blocked

So I have this web server which is accepting incoming traffic and is able to serve back replies. However, if the server has to initiate any kind of traffic (icmp/tcp..) it fails: Its been up for > 600 ...
0
votes
0answers
41 views

firewalld vs iptables

I have read on the internet that firwalld or ufw are the frontends of iptables, but I'm wondering why when start firewalld in my system iptables stop, and when I start iptables firewalld stop ?! ...
0
votes
0answers
34 views

Allow OpenVPN clients to connect to local SOCKS5 proxy

I’ve set up OpenVPN server with personal keys on a remote VM that works and enables clients to route to VM's interface and internet. Now I’ve installed a tor client on the VM, it set up a SOCKS5 ...
0
votes
0answers
38 views

What steps must be taken to secure my Ubuntu installation from keyloggers and screen capture software? [duplicate]

I have a Ubuntu desktop. I want to protect my installation from software which can steal passwords I enter by logging keystokes or capturing the screen in case of a graphical on screen keyboard. I am ...
0
votes
0answers
33 views

qBittorrent bypassing UFW

I am trying to use UFW as a VPN kill switch but I don't seem to be able to block qBittorrent traffic. Even if the only rules in UFW are to block all in and out connections, qBittorrent can still ...
0
votes
0answers
47 views

Am I Writing UFW Rules Right?

Attempting to write commands for these rules: Deny all traffic from 10.1.5.7 Deny all traffic from IP addresses in the range 64.1.1.0 to 64.1.1.255 Deny access to UDP port 1500 from host 5.6.7.8 ...
0
votes
2answers
42 views

Ubuntu server behind corporate firewall

I really hope that someone here. I'm setting up an Ubuntu server behind a corporate firewall. I'm trying to get repositories to work. The problem I have found it that it is not that straight forward. ...
0
votes
1answer
42 views

Fail2ban doesn't persist manual banned IPs after service restart

Just upgraded from f2b v0.9.6 to v0.10.5 on Ubuntu 14.04 using this thread, and it is banning normally according to my old jails that i copied from my previous version. But when i restart the service,...
1
vote
1answer
40 views

iptables unknown cofiguration

today I was just doing regular maintenance on my computer and while checking that iptables was working properly I decided to run the list command,I was expecting to find my regular configuration ...
0
votes
0answers
55 views

System Freeze UFW OPENVPN Network Timeouts

Problem My computer randomly freezes (does not accept any input anymore, mouse pointer is frozen) or shuts down (not completely, it "hangs" so that even pushing the reset button won't restart, I then ...
0
votes
0answers
28 views

Port opened with ufw shown closed by nmap

I need to open port 465 on my PC. I ran the following succesfully. root@user:/home/user# ufw allow 465 Rule added Rule added (v6) But when I scan with nmap. I get- root@user:/home/user# nmap -p465 ...
0
votes
1answer
38 views

How do I find out which ports I need to open in my firewall to get Samba working?

I want to be able to access a shared folder on a windows 8 computer from my Linux computer. Everything works fine when Ufw is turned off, but as soon as I enable the firewall it won't work. How do I ...
0
votes
0answers
16 views

Setting up simple deny ufw rule on 1 nic only

So have a machine with multiple NICs and I'd like to allow all traffic on most of them (which are on private networks) but deny almost all traffic on one (wlp3s0). So I did the following: sudo ufw ...
0
votes
0answers
30 views

netplan as a firewall

Will netplan add firewall features? I just started using firehol and something with similar syntax in yaml with the same pattern of netplan apply would be great.
1
vote
1answer
95 views

No SSH access after accidentally denied ssh in ufw/iptables on Snappy Ubuntu Core

I´m running Snappy Ubuntu Core 18.04 on Intel Nuc, located on other location then where I live permanently. Now I have accidentally denied SSH in iptables with use of ufw and SSH connection is not ...
0
votes
1answer
83 views

Remote desktop can't connect to the remote computer for one of these reasons

I am newbie to Google Cloud. I tried to access my linux VM from RDP but it is giving me following error : here. My Firewall rules are as follow : click here
0
votes
0answers
84 views

Cannot Remotely SSH After Firewall Off

I have bought an Ubuntu server from blazingfast. After boot I tried to SSH but it went timed out. I tried to turn off all firewalls and tried again over and over with same thing, I also tried ...
2
votes
2answers
51 views

Is there anyway to block http on port 443 using ufw

How can I configure ufw so that it blocks any connection to port 443 using the http protocol, but not the https protocol. So what I mean is: http://example.com:443 (Deny any connection) https://...
1
vote
0answers
170 views

Ikev2 Strongswan vpn: UFW doesnt route internet traffic

I installed a strongswan ikev2 vpn many times on ubunut without problems. But now on a fresh installed ubuntu server I cant get it to run. Connect to the vpn does work but I cant get a internet ...
0
votes
1answer
79 views

Why is ubuntu connecting to a bunch of servers in the background

I just switched from Windows to Ubuntu and on Windows I was a Glasswire user. I like to monitor all my traffic and really like the idea of every program having to ask permission to connect to the ...

1
2 3 4 5
20