[Koha] Sort of OT: configuring UFW

King, Fred Fred.King at Medstar.net
Fri May 29 05:08:09 NZST 2020


My apologies for posting a question that's not exactly Koha-related, though could be. I'm hoping that someone here can explain in a way that a simple medical librarian and part-time Koha geek can understand, or point me to a source that can. Yes, I checked the man page.

What I want to do us use UFW (Uncomplicated Firewall) on Ubuntu to allow access to only permitted IP addresses. I can add one IP address without a problem:
   sudo ufw allow from 192.168.1.115 to any port 80

I think I know how to add a range consisting of anything beginning with 192.168.1.*:
   sudo ufw allow from 192.168.1.0/24 to any port 80
(Please correct me if I'm wrong.)

What I need to do is allow access from the range
   192.168.*.*
or something like this
   192.168.22-65.*
or 192.138.187-189.*

Any ideas or sources of information?

Thanks,

--Fred

Fred King, MSLS, AHIP
Medical Librarian, MedStar Washington Hospital Center
fred.king at medstar.net<mailto:fred.king at medstar.net>
202-877-6670
ORCID 0000-0001-5266-0279
MedStar Authors Catalog: http://medstarauthors.org

I was singing the blues when I was six. Kind of sad, eh?
--Harry Dean Staunton

----------------------------------------------------------------------
MedStar Health is a not-for-profit, integrated healthcare delivery system, the largest in Maryland and the Washington, D.C., region. Nationally recognized for clinical quality in heart, orthopaedics, cancer and GI.

IMPORTANT: This e-mail (including any attachments) may contain information that is private, confidential, or protected by attorney-client or other privilege. If you received this e-mail in error, please delete it from your system without copying it and notify sender by reply e-mail, so that our records can be corrected... Thank you.

Help conserve valuable resources - only print this email if necessary.




More information about the Koha mailing list