Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:dpi:dpi_components:platform:faq:first_install:install_remote_start [2021/07/22 17:28] – ↷ Links adapted because of a move operation lexx26 | en:dpi:dpi_components:platform:faq:first_install:install_remote_start [2021/12/08 11:14] (current) – removed edrudichgmailcom | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 1 We have got a server. What shall we do to install the VAS Experts DPI? ====== | ||
- | {{indexmenu_n> | ||
- | * Make sure that your appliance meets [[en: | ||
- | |||
- | * Install CentOS 8.3: [[http:// | ||
- | |||
- | <note warning> | ||
- | <note tip>It is enough to automatically install CentOS by the installator. If stand-by is needed and if there are two disks it is permissible to combine them into RAID1 (software or hardware-software). [[.first_install: | ||
- | |||
- | * Create the new user **vasexpertsmnt** (choose the password by yourself). | ||
- | |||
- | useradd vasexpertsmnt | ||
- | passwd vasexpertsmnt | ||
- | usermod -aG wheel vasexpertsmnt | ||
- | |||
- | * **Open sudo (or su).** | ||
- | |||
- | visudo | ||
- | |||
- | Uncomment the string | ||
- | |||
- | ## Allows people in group wheel to run all commands | ||
- | %wheel | ||
- | |||
- | * Set up the ssh access restrictions: | ||
- | |||
- | < | ||
- | |||
- | iptables -A INPUT -m conntrack --ctstate RELATED, | ||
- | iptables -A INPUT -p tcp -s 45.151.108.0/ | ||
- | iptables -A INPUT -p tcp -s 94.140.198.64/ | ||
- | iptables -A INPUT -p tcp -s 78.140.234.98 -m tcp --dport 22 -j ACCEPT | ||
- | iptables -A INPUT -p tcp -s 5.200.43.10 -m tcp --dport 22 -j ACCEPT | ||
- | iptables -A INPUT -p tcp -s 193.218.143.187 -m tcp --dport 22 -j ACCEPT | ||
- | iptables -A INPUT -p tcp -s 93.100.47.212 -m tcp --dport 22 -j ACCEPT | ||
- | iptables -A INPUT -p tcp -s 93.100.73.160 -m tcp --dport 22 -j ACCEPT | ||
- | iptables -A INPUT -p tcp -s 77.247.170.134 -m tcp --dport 22 -j ACCEPT | ||
- | iptables -A INPUT -p tcp -s 91.197.172.2 -m tcp --dport 22 -j ACCEPT | ||
- | iptables -A INPUT -p tcp -s 46.243.181.242 -m tcp --dport 22 -j ACCEPT | ||
- | iptables -A INPUT -p tcp -s 78.140.234.98 -m tcp --dport 22 -j ACCEPT | ||
- | iptables -A INPUT -p tcp -s 93.159.236.11 -m tcp --dport 22 -j ACCEPT | ||
- | iptables -A INPUT -p tcp --dport 22 -j DROP | ||
- | service iptables save | ||
- | |||
- | If you are using firewalld: | ||
- | |||
- | firewall-cmd --permanent --zone=public --add-rich-rule=' | ||
- | firewall-cmd --permanent --zone=public --add-rich-rule=' | ||
- | firewall-cmd --permanent --zone=public --add-rich-rule=' | ||
- | firewall-cmd --permanent --zone=public --add-rich-rule=' | ||
- | firewall-cmd --permanent --zone=public --add-rich-rule=' | ||
- | firewall-cmd --permanent --zone=public --add-rich-rule=' | ||
- | firewall-cmd --permanent --zone=public --add-rich-rule=' | ||
- | firewall-cmd --permanent --zone=public --add-rich-rule=' | ||
- | firewall-cmd --permanent --zone=public --add-rich-rule=' | ||
- | firewall-cmd --permanent --zone=public --add-rich-rule=' | ||
- | firewall-cmd --permanent --zone=public --add-rich-rule=' | ||
- | firewall-cmd --permanent --zone=public --add-rich-rule=' | ||
- | firewall-cmd --reload | ||
- | firewall-cmd --zone=public --remove-service=ssh --permanent | ||
- | |||
- | <note warning> | ||
- | * Send us server IP, SSH port, vasexpertsmnt and password to email: sd@vas.expert. | ||
- | <note warning> |