UFW/GUFW configuration for hotspot

Hi and welcome. My search brought back this:

"Configuring UFW for Hotspot

To allow devices to connect to your Ubuntu-based hotspot using UFW, you’ll need to open specific ports. Here’s a step-by-step guide:

  1. Identify the necessary ports: Connectify Hotspot uses UDP (User Datagram Protocol) and TCP (Transmission Control Protocol) ports for UPnP (Universal Plug and Play), DHCP (Dynamic Host Configuration Protocol), and DNS (Domain Name System) services.
  • UDP ports: 68 (DHCP) and 5353 (UPnP)
  • TCP ports: 53 (DNS) and 67 (DHCP)
  1. Open the necessary ports in UFW: Run the following commands:
sudo ufw allow udp 68
sudo ufw allow udp 5353
sudo ufw allow tcp 53
sudo ufw allow tcp 67

These commands allow incoming traffic on the specified ports. 3. Enable UFW: To apply the new rules, enable UFW:

sudo ufw enable
  1. Verify the rules: Check the UFW status to ensure the rules are active:
sudo ufw status

This should show you the allowed ports and protocols.

Additional Tips

  • If you’re using a third-party security software, you may need to add Connectify Hotspot to its white list or configure it to allow specific ports.
  • If you’re experiencing issues with Internet Connection Sharing (ICS), ensure that your firewall software supports it and has it enabled.
  • Consider using Secure Shell (SSH) instead of UFW for hotspot configuration, as it provides more secure and flexible access control.

By following these steps, you should be able to configure UFW to allow devices to connect to your Ubuntu-based hotspot."

For Zorin connect, follow my tutorial here: