All posts in Linux

Cài OpenVPN trên CentOS7

Bảo mật an toàn thông tin là một trong những yếu tố quan trọng nhất trên môi trường Internet. Nếu hệ thống máy tính có lỗ hổng bảo mật, hacker bên ngoài có thể truy cập và điểu khiển traffic từ máy tính và website. Và đó cũng là lí . . . Read more

Firewall centos 7

firewall-cmd –zone=public –add-port=80/tcp –permanent firewall-cmd –zone=public –add-port=443/tcp –permanent firewall-cmd –reload

IP Tables flush and some rules

51 Run the following. It’ll insert the rule at the top of your iptables and will allow all traffic unless subsequently handled by another rule. iptables -I INPUT -j ACCEPT You can also flush your entire iptables setup with the following: iptables -F iptables -X iptables -t nat -F iptables . . . Read more