Un advertiment o warning.
https://pictogrammers.com/library/mdi/
This is my bold text
Java lalala
Windows lalala
Vagrantfile per a tenir un «client» linux passant per una gateway Kali i poder inspeccionar el trànsit amb Wireshark.
# -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure("2") do |config| config.vm.define "client" do |client| client.vm.box = "ubuntu/jammy64" client.vm.network "private_network", ip: "192.168.56.100" client.vm.provider "virtualbox" do |vb| # Display the VirtualBox GUI when booting the machine vb.gui = true # Customize the amount of memory on the VM: vb.memory = "4096" end end config.vm.define "gateway" do |gateway| gateway.vm.box = "kalilinux/rolling" gateway.vm.network "private_network", ip: "192.168.56.10" gateway.vm.provider "virtualbox" do |vb| # Display the VirtualBox GUI when booting the machine vb.gui = true # Customize the amount of memory on the VM: vb.memory = "4096" end end end
Seguint aquest article:
Per canviar la default gateway al client:
route add default gw 192.168.56.10 netstat -rn
Per fer de gateway a Kali:
modprobe iptable_nat echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE iptables -A FORWARD -i eth1 -j ACCEPT
Heading 1 | Heading 2 | Heading 3 |
---|---|---|
Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 |
Row 2 Col 1 | some colspan (note the double pipe) | |
Row 3 Col 1 | Row 3 Col 2 | Row 3 Col 3 |