LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-30-2024, 04:20 AM   #1
tem.penlington
LQ Newbie
 
Registered: Sep 2023
Posts: 5

Rep: Reputation: 0
Linux Ubuntu Server 20.04 UFW (Uncomplicated Fire Wall) blocking local http website


I have configured UFW to secure the ports on Ubuntu 20.04 server.
The UFW rules are :
22/tcp ALLOW Anywhere
80/tcp ALLOW Anywhere
443/tcp ALLOW Anywhere
21/tcp ALLOW Anywhere
20,21,990/tcp ALLOW Anywhere
30000:31000/tcp ALLOW Anywhere
3389 ALLOW 149.255.38.47
3389 ALLOW 149.255.38.0/24
3389 ALLOW Anywhere
22/tcp (v6) ALLOW Anywhere (v6)
80/tcp (v6) ALLOW Anywhere (v6)
443/tcp (v6) ALLOW Anywhere (v6)
21/tcp (v6) ALLOW Anywhere (v6)
20,21,990/tcp (v6) ALLOW Anywhere (v6)
30000:31000/tcp (v6) ALLOW Anywhere (v6)
3389 (v6) ALLOW Anywhere (v6)

But the problem i'm having is that it is blocking all the web apps.
80/tcp (v6) ALLOW Anywhere (v6) <-- is this correct ?
 
Old 05-01-2024, 12:54 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,735

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
How are you connecting to the server?
Where is the server located?
Is it using a static IP?
What actual response do you get when you try to connect to it?
(Are you sure it’s blocked by the firewall?)
 
Old 05-03-2024, 03:22 AM   #3
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,162

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Quote:
80/tcp (v6) ALLOW Anywhere (v6) <-- is this correct ?
Above is IPv6 rule.

How about:
80 ALLOW Anywhere
443 ALLOW Anywhere
 
  


Reply

Tags
http, ufw



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to open ports in UFW (Uncomplicated Firewall) LXer Syndicated Linux News 0 06-23-2022 08:15 AM
LXer: Getting Started with UFW (Uncomplicated Firewall) on Ubuntu 20.04 LXer Syndicated Linux News 0 08-04-2021 07:21 AM
LXer: Getting Started with UFW (Uncomplicated Firewall) on Ubuntu 15.04 LXer Syndicated Linux News 0 09-21-2015 02:31 PM
LXer: Gufw - Simple GUI for ufw (Uncomplicated Firewall) in Ubuntu LXer Syndicated Linux News 0 09-30-2008 03:20 AM
local network passes fire wall !? collen Linux - Security 2 01-26-2007 01:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration