Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

zono's avatar
Level 1

ufw issue. I can't deploy from Laravel Forge.

I coundn't deploy from Laravel Forge when I set ufw like below.

$ sudo ufw status
Status: active

To                         Action      From
--                         ------      ----
80                         ALLOW       Anywhere
443                        ALLOW       Anywhere
22                         LIMIT       Anywhere
80 (v6)                    ALLOW       Anywhere (v6)
443 (v6)                   ALLOW       Anywhere (v6)
22 (v6)                    LIMIT       Anywhere (v6)

I need security measures and I don't want to change the ufw setting every deploy. I suppose I can set up whitelist if I can see IPs. Any help will be appreciated.

Thanks.

0 likes
2 replies
fideloper's avatar

The Forge server that I'm pushing regularly to has the same UFW setup:

Status: active

To                         Action      From
--                         ------      ----
22                         ALLOW       Anywhere
80                         ALLOW       Anywhere
443                        ALLOW       Anywhere
22 (v6)                    ALLOW       Anywhere (v6)
80 (v6)                    ALLOW       Anywhere (v6)
443 (v6)                   ALLOW       Anywhere (v6)

I'd guess something else is blocking your deployments from working correctly.

1 like
zono's avatar
Level 1

Hi fideloper. Thanks for your reply. Yes, I confirmed that your UFW setup worked properly. My setting had "LIMIT" rule for avoiding DoS Attack. I wanted to know what IPs should I setup white-list for UFW. Or I may have to have another measures for the DoS Attack...

Please or to participate in this conversation.