Difference between revisions of "Setup - Kali Linux"
From Vlsiwiki
(→Create a USB) |
(→Create Install Setup) |
||
Line 8: | Line 8: | ||
GUI install works fine. Default options | GUI install works fine. Default options | ||
+ | |||
+ | ==Account Setup== | ||
+ | |||
+ | Create a local account that does not match in name the SOE LDAP. E.g: jrenau vs renau | ||
+ | |||
+ | |||
+ | ==Basic Setup== | ||
+ | |||
+ | SSH Server (not for laptop, just desktop and servers) | ||
+ | |||
+ | apt-get install openssh-server | ||
+ | systemctl enable ssh.service | ||
+ | systemctl start ssh.service | ||
+ | |||
+ | == Firewall Setup== | ||
+ | |||
+ | Setup the firewall: | ||
+ | apt-get install ufw | ||
+ | ufw default deny | ||
+ | ufw reject auth | ||
+ | ufw limit ssh/tcp | ||
+ | ufw logging off | ||
+ | |||
+ | The next line is only needed the first time you install the package. | ||
+ | ufw enable | ||
+ | |||
+ | Follow it by enabling ufw with systemctl. | ||
+ | systemctl enable ufw.service | ||
+ | |||
+ | Finally, query the rules being applied via the status command. | ||
+ | ufw status |
Revision as of 19:26, 5 February 2020
Create Install Setup
Create a bootable USB from Kali linux
https://www.kali.org/docs/usb/kali-linux-live-usb-install/
Use default partition (single partition and swap around same as memory)
GUI install works fine. Default options
Account Setup
Create a local account that does not match in name the SOE LDAP. E.g: jrenau vs renau
Basic Setup
SSH Server (not for laptop, just desktop and servers)
apt-get install openssh-server systemctl enable ssh.service systemctl start ssh.service
Firewall Setup
Setup the firewall:
apt-get install ufw ufw default deny ufw reject auth ufw limit ssh/tcp ufw logging off
The next line is only needed the first time you install the package.
ufw enable
Follow it by enabling ufw with systemctl.
systemctl enable ufw.service
Finally, query the rules being applied via the status command.
ufw status