Plex Media Server UFW rule. GitHub Gist: instantly share code, notes, and snippets.
sudo ufw allow from 192.168.10.0/24 to 192.168.10.1 port 53 proto tcp sudo ufw allow from 192.168.10.0/24 to 192.168.10.1 port 53 proto udp This will allow TCP and UDP DNS (port 53) traffic from your local private network (which I assume is 192.168.10.0/24, or in other words, 192.168.10.1-255) and not anywhere else. UFW on Ubuntu to Allow All Traffic on LAN - Server Fault What if i want to allow both (IN and OUT)? ufw allow out from 192.168.15.0/24 to 192.168.15.0/24 ? – 16851556 Mar 7 '18 at 12:22 1 For those wondering about the /24 , see here . An Introduction to Uncomplicated Firewall (UFW) - Linux.com Oct 30, 2015 Ubuntu Manpage: ufw - program for managing a netfilter ufw allow in on eth0 to 192.168.0.1 proto gre This will allow all gre traffic to 192.168.0.1 on the eth0 interface. ufw allow proto tcp from any to any port 80,443,8080:8090 comment 'web app' The above will allow all traffic to tcp ports 80, 443 and 8080-8090 inclusive and adds a comment for the rule.
How to Add UFW Rules - Hostwinds Guides
How to Set Up a Firewall with UFW on Debian 10 | Linuxize Apr 11, 2020
How to Enable, Deny, Allow, Delete Rules on Ubuntu UFW
How to open DNS port 53 using ufw on Ubuntu/Debian Linux May 17, 2020 ufw – Manage firewall with UFW — Ansible Documentation -name: Allow everything and enable UFW ufw: state: enabled policy: allow-name: Set logging ufw: logging: 'on' # Sometimes it is desirable to let the sender know when traffic is # being denied, rather than simply ignoring it. In these cases, use # reject instead of deny. networking - ufw blocks wireguard - Unix & Linux Stack