HEX
Server: Apache
System: Linux server.hypertech-it.com 5.14.0-570.37.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Aug 26 10:33:12 EDT 2025 x86_64
User: national (1024)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //scripts/configure_rh_firewall_for_cpanel
#!/usr/local/cpanel/3rdparty/bin/perl

# cpanel - scripts/configure_firewall_for_cpanel   Copyright 2022 cPanel, L.L.C.
#                                                           All rights reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited

package scripts::configure_firewall_for_cpanel;

use strict;
use Cpanel::Services::Firewall ();

exit( Cpanel::Services::Firewall::setup_firewall() || 0 );