Compare commits
2 commits
402eedfa2f
...
27d9892ff1
Author | SHA1 | Date | |
---|---|---|---|
|
27d9892ff1 | ||
|
b3d5aaba55 |
3 changed files with 25 additions and 1 deletions
21
README.md
Normal file
21
README.md
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# Ansible automation repo for kali linux VMs
|
||||||
|
# Usage
|
||||||
|
All necessary commands are included in the `install.sh` script. So, on a fresh Kali VM, do
|
||||||
|
```
|
||||||
|
git clone https://gitea.a-0.me/philip/kali-autosetup.git
|
||||||
|
cd kali-autosetup
|
||||||
|
sudo bash install.sh
|
||||||
|
```
|
||||||
|
Make sure to visit https://check.torproject.org afterwards to verify you are connected via the Tor network.
|
||||||
|
|
||||||
|
# Current functionality
|
||||||
|
- System settings
|
||||||
|
- set keyboard layout (default: de)
|
||||||
|
- set screen resolution (default: FullHD)
|
||||||
|
- Default gateway via TOR network
|
||||||
|
- Transparent proxy for TCP traffic
|
||||||
|
- Redirecting DNS queries through TOR
|
||||||
|
- Any other traffic is dropped.
|
||||||
|
|
||||||
|
# Future functionality
|
||||||
|
A lot.
|
|
@ -1,3 +1,4 @@
|
||||||
---
|
---
|
||||||
vm_net_interface_name: eth0
|
vm_net_interface_name: eth0
|
||||||
desired_keyboard_layout: de
|
desired_keyboard_layout: de
|
||||||
|
desired_screen_resolution: 1920x1080
|
|
@ -2,3 +2,5 @@
|
||||||
- name: Set keyboard layout
|
- name: Set keyboard layout
|
||||||
command: "setxkbmap -layout {{ desired_keyboard_layout }}"
|
command: "setxkbmap -layout {{ desired_keyboard_layout }}"
|
||||||
|
|
||||||
|
- name: Set screen resolution
|
||||||
|
command: "xrandr -s {{ desired_screen_resolution }}"
|
Loading…
Add table
Add a link
Reference in a new issue