question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for UFW

See original GitHub issue

Hello,

First of all, I would like to thank the creators / contributors of this lib, it is very useful for my projects !

I want know if it possible to add support for ufw command, like ufw status 😃

Thank’s

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:24 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
yannmichauxcommented, Apr 21, 2021

It’s okay for me, haven’t seen any bug, nice job ! I’ll use it to make an firewall rules editor on my app

1reaction
yannmichauxcommented, Apr 20, 2021

Looking great, what’s the behavior if there’s a range for the port, like my screen, line 4

And what’s the behavior for apps ? If you use the following command : ufw allow openssh

In rules you can change number by index, because it’s the index for the rule, right ?

What’s the new_profiles field purpose ? Btw, I didn’t know if you can get the rules when UFW is disabled

– I think you can split for the subnet, because if I use this parser, I prefer to have all part of a field separately, same for logging_level.

PS: flat object is really good, I’ve done some deep object, but it’s not a really good way… PPS: If you can convert words like “Anywhere” to something more like “0.0.0.0” it could be nice too…

Read more comments on GitHub >

github_iconTop Results From Across the Web

UFW Essentials: Common Firewall Rules and Commands
UFW (uncomplicated firewall) is a firewall configuration tool that runs on top of iptables, included by default within Ubuntu distributions.
Read more >
UFW - Community Help Wiki - Official Ubuntu Documentation
UFW - Uncomplicated Firewall. The default firewall configuration tool for Ubuntu is ufw. Developed to ease iptables firewall configuration, ufw ...
Read more >
How to Set Up a Firewall with UFW on Ubuntu 20.04
We've shown you how to install and configure a UFW firewall on your Ubuntu 20.04 server. Be sure to allow all incoming connections...
Read more >
How to Configure a Firewall with UFW
Learn how to use UFW (Uncomplicated Firewall) to manage your firewall on Ubuntu, Debian, or Arch Linux.
Read more >
How To Configure Firewall with UFW on Ubuntu 20.04 LTS
1 Set up ufw policy · 2 Open SSH port · 3 Turn on ufw firewall · 4 Open ports with ufw ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found