Tuesday, April 23
Shadow

Author: Boredadmin

OPNSense OpenVPN configuration and authenticate the AD (Active Directory) users using LDAP.

OPNSense OpenVPN configuration and authenticate the AD (Active Directory) users using LDAP.

Network, Windows
OPNSense OpenVPN configuration and authenticate the AD (Active Directory) users using LDAP. OPNSense is a free, open-source, powerful, easy to use, and easy to build firewall and routing system based on the HardenedBSD platform. On the other hand, OpenVPN is also a free and powerful VPN application. It provides flexible VPN solutions for businesses to secure all data communications and extend private network services while maintaining security. The configuration is divided into 5 sections1- Configure user accounts and groups in the activate directory. And Install and configure the AD LDS for the LDAP connections.2- Create and configure the LDAP connection in the OPNSense.3- Configure Internal CA (Certificate Authority) in OPNSense, and Issue or create the certificate.4- Configure th...
cPanel HTTP to HTTPS auto redirect

cPanel HTTP to HTTPS auto redirect

General
How to Redirect HTTP to HTTPS in cPanel? cPanel is the most popular and used web hosting service in the world. By default, it provides the HTTP protocol for the hosted website. Even you installed the SSL certificate for the web site. while browsing it will browse the non-secure or HTTP. For the secure or HTTPS, you need to enter https:// example.com manually in the browser. But there are ways to redirect HTTP requests to the HTTPS request automatically. As shows image above, you can enter the domain name with an HTTPS address for automatic redirection. Select the type of redirection, permanent (301) or temporary (302). In the second option select the single domain or main domain and subdomains if any. And, in the last table enter your domain name. Now you are done. But sometim...
pfSense Multi-WAN load balance and automatic failover

pfSense Multi-WAN load balance and automatic failover

Network
pfSense Multiple WAN Load Balance and Automatic Failover pfSense is a free, most trusted, and open-source firewall and router that also features unified threat management, multi-WAN load balancing, VPN server, Content filtering, and automatic failover. Distribution based on FreeBSD. It can be installed on a physical computer or virtual machine to make a dedicated enterprise-level firewall for the organization. Let's start to configure dual WAN load-balance and automatic failover on pfsense. In the first step, configure pfsense interfaces. Login to your pfsense via the web interface. And add the interfaces. For this demo, I'm going to add the 3 interfaces. WAN, WAN2, and LAN. WAN and WAN2 are ISP interfaces and LAN is a private interface. Go to interfaces - Assignments and ...
How to fix the Exchange management shell and Exchange toolbox unable to open or load.

How to fix the Exchange management shell and Exchange toolbox unable to open or load.

Windows
How to fix the Exchange management shell and Exchange toolbox unable to open or load? Exchange server is the email server including contacts, schedule, calendar features developed by Microsoft. It can be deployed on the Windows server OS. Exchange Server gives users access to the messaging platform from mobile devices, desktops, and browsers. If we have an issue with Exchange .edb file or user mailbox, we need to run some PowerShell commands to fix the issue. let's start the topic, I had some issue while mounting the mailbox in exchange server 2019. To fix that issue I had to run some PowerShell commands. But it can not load the remote exchange ps1 command module. Because the system has disabled the run this script.The exact message was, remote exchange ps1 can ...
SSRS (SQL server reporting service) Integration with SharePoint 2019. Part 3.

SSRS (SQL server reporting service) Integration with SharePoint 2019. Part 3.

Windows
SSRS (SQL Server Reporting Service) integration on SharePoint 2019.Part 3 SharePoint 2019 SSRS Integration Part 1SharePoint 2019 SSRS Integration Part 2 In the previous section, we have installed and configured the SSRS (SQL server reporting service) for SharePoint 2019. In this section, we will deploy the Microsoft report viewer web part as a farm solution. Import the generated reports to the SharePoint site from the SSRS server. You can download the report viewer web part from here. In the first step, we need to deploy the report viewer web part as a farm solution in SharePoint 2019. Run SharePoint management shell as administrator and with this PowerShell command. Add-SPSolution LiteralPath "PathOfYourSolution/ReportViewerWebPart.wsp" After the P...
SSRS (SQL Server Reporting Service) integration with SharePoint 2019. Part 2.

SSRS (SQL Server Reporting Service) integration with SharePoint 2019. Part 2.

Windows
SSRS (SQL Server Reporting Service) integration on SharePoint 2019. Part 2 SharePoint 2019 SSRS Integration Part 1 Officially SSRS Integrated mode is deprecated in SQL Server 2017 and SharePoint 2019, Now It is not a part of the SQL Server 2017. However, organizations could continue to use SSRS versions 2017 in SharePoint 2019. This is not supported in SharePoint 2019, which means that integrated mode isn't an option at all with SharePoint 2019.But the good news is, there is some workaround to integrate SSRS 2017 with SharePoint 20149 using the report viewer web part. In the first part of this topic, We have installed and configured the SSRS 2017 (SQL server reporting service). In this part, we will configure Data Source for SharePoint...
SSRS (SQL Server Reporting Service) integration with SharePoint 2019. Part 1.

SSRS (SQL Server Reporting Service) integration with SharePoint 2019. Part 1.

Windows
SSRS (SQL Server Reporting Service) integration on SharePoint 2019. Part 1 Officially SSRS Integrated mode is deprecated in SQL Server 2017 and SharePoint 2019, Now It is not a part of the SQL Server 2017. However, organizations could continue to use SSRS versions 2017 in SharePoint 2019. This is not supported in SharePoint 2019, which means that integrated mode isn't an option at all with SharePoint 2019.But the good news is, there is some workaround to integrate SSRS 2017 with SharePoint 20149 using the report viewer web part. This topic is divided into three parts.The first part is to install and configure SSRS (SQL server reporting service) on the SQL server 2017.The second part is, configure DataSource for the ShareP...
How to Install/Upgrade to PHP 7.4 on Ubuntu VestaCP or vesta

How to Install/Upgrade to PHP 7.4 on Ubuntu VestaCP or vesta

Linux
How to upgrade the php version to php7.4 in VestaCP or Vesta on Ubuntu. VestaCP or vesta is the most recommended, free, and open-source hosting application. Till this post, it uses a 7.2 version of PHP. In this post, I will install or upgrade php7.4 in vesta. First, let's check the current PHP version. # php -v The output of the command will be looks like this. The second method to verify the PHP version is, create a phpinfo.php file in the root directory and add this line without quote "<?php phpinfo(); ?>". Restart the apache2 service and refresh or browse the web page. Your URL will be http://example.com or IP_address/pfpinfo.php We have tested and verified the PHP version. The current version is 7.2Let's install and configure the php7.4 on the vesta.Instal...
Install Asterisk 16 Core on Centos 8.

Install Asterisk 16 Core on Centos 8.

General
How to Install Asterisk 16 LTS Core on Centos 8? Asterisk is a powerful, popular, and opensource digital PBX system. It is bundled with free PBX application or software. Which means free PBX is installed or configured on the top of the asterisk. All the functions are asterisk function but free PBX is only the GUI interface for the users. This is a step by step guide to install asterisk 16 LTS (core, without free PBX) on centos 8 core. Change your systems host-name to "asterisk" and update the system to the latest security patch and upgrades. By default, Centos host-name is localhost.localdomain. $ sudo hostnamectl set-hostname asterisk$ sudo dnf update -y Set SELinux policy from enforcing to the permissive mode by running command and editing the SELinux configuration file...
Change the size of email attachments in roundcube on vestacp or vesta

Change the size of email attachments in roundcube on vestacp or vesta

Linux
How to change the email attachment size limit in roundcube on vestacp? Roundcube is the most used web-based email client. Vesta uses the roundcube as a default email client. The roundcube default email attachment size is 5.0 MB. We already know that file upload size or attachment size should be defined in the PHP configuration (php.ini) file. I have already configured the php.ini file for phpMyAdmin and it is set to 20 MB. It is working fine for the database or phpMyAdmin. But the still the same issue in the roundcube. Please follow this link to change upload size in the database or phpMyAdmin and edit the php.ini file. Below are the images, which I have made changed in php.ini files. Working fine with phpMyAdmin. And It should work with roundcube too. But modi...