Entradas

Mostrando entradas de noviembre, 2021

How to connect two Asterisk PBXs using a SIP Peer/User Trunk Pairing

Imagen
Thanks to:  https://www.telecomworld101.com/   Session Initiation Protocol (SIP)) is a signalling protocol used for setting up and tearing down Voice over Internet Protocol (VOIP)  calls . Voice over Internet Protocol makes the transition from traditional conference calls to  conference calling  via the world wide web. A SIP call uses two protocols: SIP and RTP. Real Time Protocol (RTP) is used for the transfer of the actual voice data. If you want to find out more about SIP visit Wikipedia's  SIP page . The first step in setting up an SIP trunk is to draw a picture of what you need to do. Here's an example of a simple PBX to PBX  connection  that will be using a User/Peer pairing to form a SIP trunk. The two PBXs are name 106 and 111 after their IP host address. They could very well be named Montreal and New York. PBX 106 has all their extensions starting with 3xxx while PBX 111 has all of their extensions starting with 2xxx. This will be handy when making  outbound routes . T

How to Create SQL Server Backup Job

Imagen
Thanks to:  https://www.kodyaz.com/   All SQL Server database administrators  create SQL Server backup job  to take database backup of their SQL Servers. It is of course possible to execute SQL Server backup scripts periodically, or to execute t-sql backup commands from a scheduled SQL Server job, but Microsoft SQL Server 2008 R2 has advanced Maintenance Plan options to manage sql backup tasks for you. In this SQL Server tutorial, I'ld like to explain  how to create SQL Server backup job  in order to take sql backup of databases on a SQL Server instance using a SQL Server Maintenance Plan. I believe sql programmers and database administrators will like to use this SQL Server 2008 backup method. Please note that the screenshots are from my development computer running  Microsoft SQL Server 2008 R2 Developer Edition . I want to list a list of SQL Server tutorial articles which are demonstrating different methods of SQL Server backup : SQL Backup - SQL Server Backup Database Tool   MS

How Public Web Server in Foritgate

Imagen
Thanks to:  https://community.fortinet.com/ Description This article describes how to use Virtual IPs (VIPs) to configure port forwarding.  This configuration allows users on the Internet to connect to the server protected behind a firewall, without knowing the server’s internal IP address and only through chosen ports. Solution Diagram: 1) Creating three VIPs. Go to  Policy & Objects -> Virtual IPs -> Create New -> Virtual IP. Enter the External IP Address/Range. Next, enter the mapped IP Address/Range. Enable Port Forwarding and add a VIP for TCP port 80, webserver-http. While this example maps port 80 to port 80, any valid external service port can be mapped to any listening port on the destination. Next, create a second VIP for TCP port 21, webserver-ftp. Finally, create a third a VIP for TCP port 22, webserver-ssh. 2) Adding VIPs to a VIP group. Go to  Policy & Objects -> Virtual IPs -> Create New -> Virtual IP Group. Create a VIP group, in this example,

How to Redirect HTTP to HTTPS in Nginx With HTTP/301 Code

Imagen
 Thanks to:  https://www.cyberciti.biz/ I have setup  nginx as a secure reverse proxy server . How do I redirect all http://example.com/ requests (traffic) to https://example.com/ under nginx web server? How do I configure Nginx to redirect HTTP To HTTPS? You can easily rewrite/redirect all http requests to https with Nginx web server. The syntax is as follows. You need to add the following in location or server directives. This quick guide explain how to redirect the HTTP traffic to HTTPS in Nginx. Nginx Redirect HTTP To HTTPS Now that you configured and installed an SSL certificate for Nginx, it is time to drop all HTTP traffic and send users to HTTPS version. Edit nginx.conf file: sudo vi /etc/nginx/nginx.conf if ($host ~* ^(example\.com|www\.example\.com)$ ){   rewrite ^/(.*)$ https://example.com/$1 permanent; } OR better use the following rewrite: rewrite ^ https://$server_name$request_uri? permanent; Or use new syntax (recommended): return 301 https://$server_name$req