Installation and configuration of Ubuntu firewall

Ubuntu Install UFW firewall sudo apt-get install ufw For general users, only the following settings are required: sudo apt-get install ufw sudo ufw enable sudo ufw default deny The above three commands are safe enough. If you need to open some services, you can use sudo ufw allow. Enable sudo ufw enable sudo ufw default deny #Aft ...

Posted on Fri, 10 Jul 2020 12:13:14 -0400 by mckinney3

Java agent pattern explanation

1, What is agent mode The proxy mode provides a proxy for other objects to control access to this object. In some cases, one object is not suitable or can not directly refer to another object, while the proxy object can mediate between the client and the target object, which is characterized by the ...

Posted on Thu, 18 Jun 2020 03:09:41 -0400 by CodeMama

Centos7 deployment keepalived high availability architecture

brief introduction The function of Keepalived is to detect the state of the server. If a web server goes down or fails to work, Keepalived will detect it and remove the failed server from the system. At the same time, other servers will be used to replace the server's work. When the server works normally, Keepalived will automatically add the ...

Posted on Tue, 16 Jun 2020 03:33:43 -0400 by altergothen

Precautions for wechat domain name sealing

We often encounter our own regular website links, which are intercepted by wechat for no reason. Everyone is worried about this problem. There are many technologies of domain name anti sealing, two-dimensional code anti sealing and wechat anti red circulating on the network, but the effect is not ideal. ...

Posted on Fri, 12 Jun 2020 00:46:25 -0400 by wood1e

Mgmt of CP_ CLI tool and SMC CLI usage

Because the upgrade of the customer's version is not successful, considering the manual addition of policies, host information and NAT, this paper studies the following preparation to write the customer's firewall information into a script (ps: from 2000 customer firewall policies, so I think the lazy ...

Posted on Wed, 10 Jun 2020 23:03:14 -0400 by goaman

Centos7 builds frp intranet penetration server

brief introduction The purpose of NAT penetration is to enable packets with a specific source IP address and source port number to be correctly routed to the intranet host without being shielded by the NAT device. When the computer is in the LAN, the computer nodes of the outer network and the inner network need to connect the communication th ...

Posted on Wed, 10 Jun 2020 00:32:57 -0400 by Zetusko

Set up frp intranet penetration server

brief introduction The purpose of NAT penetration is to enable packets with a specific source IP address and source port number to be correctly routed to the intranet host without being shielded by the NAT device. When the computer is in the LAN, the computer nodes of the outer network and the inner n ...

Posted on Tue, 09 Jun 2020 04:41:38 -0400 by richcrack

linux basic services (DHCP)

DHCP Article catalog DHCP What is DHCP How DHCP works Three allocation mechanisms of DHCP Set up DHCP What is DHCP DHCP, the dynamic host configuration protocol, is a local area network protocol. It uses UDP protocol to work. It automatically assigns IP addresses to internal local area netwo ...

Posted on Tue, 09 Jun 2020 02:54:58 -0400 by Volte6

Installing mysql (Mariadb) in linux

My environment is the VMware virtual machine centos7. It's easier to install mysql in win environment, but it's hard to remember various commands when installing in linux. So I sorted out the installation process of Mariadb, Some centos7 has installed MariaDB by default. You can check whether you ha ...

Posted on Sat, 06 Jun 2020 00:46:49 -0400 by sledge4

iptabales configure forwarding vsftpd service, configure SNAT, DNA T

Firewall Configuration Forwarding vsftpd Service Firewall Configuration Forwarding vsftpd Service 1) Turn on passive mode of vsftpd service [root@centos03 ~]# vim /etc/vsftpd/vsftpd.conf pasv_enable=YES pasv_min_port=24500 pasv_max_port=24600 2) Write firewall rules [root@centos01 ~]# iptables -I FO ...

Posted on Fri, 05 Jun 2020 22:46:04 -0400 by cac_azure03