Ací es mostren les diferències entre la revisió seleccionada i la versió actual de la pàgina.
| Següent revisió | Revisió prèvia | ||
|
playground:playground [2021/09/29 09:40] 127.0.0.1 edició externa |
playground:playground [2023/10/05 09:33] (actual) enric_mieza_sanchez |
||
|---|---|---|---|
| Línia 1: | Línia 1: | ||
| ====== PlayGround ====== | ====== PlayGround ====== | ||
| + | |||
| + | ===== Caixes - Wrap ===== | ||
| + | |||
| + | |||
| + | <WRAP important> | ||
| + | Un advertiment o // | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== icons ===== | ||
| + | |||
| + | https:// | ||
| + | |||
| + | {{mdi> | ||
| + | {{mdi> | ||
| + | |||
| + | {{mdi> | ||
| + | {{mdi> | ||
| + | |||
| + | {{mdi> | ||
| + | {{mdi> | ||
| + | {{mdi> | ||
| + | |||
| + | ===== Tab Box plug-in ===== | ||
| + | |||
| + | < | ||
| + | |||
| + | |||
| + | <tabbox Versió Linux> | ||
| + | |||
| + | Java lalala | ||
| + | |||
| + | <tabbox Versió Windows> | ||
| + | |||
| + | Windows lalala | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | ===== Vagrant ===== | ||
| + | |||
| + | Vagrantfile per a tenir un " | ||
| + | |||
| + | <file ruby Vagrantfile > | ||
| + | # -*- mode: ruby -*- | ||
| + | # vi: set ft=ruby : | ||
| + | |||
| + | Vagrant.configure(" | ||
| + | |||
| + | config.vm.define " | ||
| + | client.vm.box = " | ||
| + | client.vm.network " | ||
| + | client.vm.provider " | ||
| + | # Display the VirtualBox GUI when booting the machine | ||
| + | vb.gui = true | ||
| + | # Customize the amount of memory on the VM: | ||
| + | vb.memory = " | ||
| + | end | ||
| + | end | ||
| + | |||
| + | config.vm.define " | ||
| + | gateway.vm.box = " | ||
| + | gateway.vm.network " | ||
| + | gateway.vm.provider " | ||
| + | # Display the VirtualBox GUI when booting the machine | ||
| + | vb.gui = true | ||
| + | # Customize the amount of memory on the VM: | ||
| + | vb.memory = " | ||
| + | end | ||
| + | end | ||
| + | |||
| + | end | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== Mes coses ===== | ||
| + | |||
| + | Seguint [[https:// | ||
| + | |||
| + | Per canviar la default gateway al client: | ||
| + | <file bash change_default_gateway.sh> | ||
| + | route add default gw 192.168.56.10 | ||
| + | netstat -rn | ||
| + | </ | ||
| + | |||
| + | Per fer de gateway a Kali: | ||
| + | <file bash gateway.sh> | ||
| + | modprobe iptable_nat | ||
| + | echo 1 > / | ||
| + | iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE | ||
| + | iptables -A FORWARD -i eth1 -j ACCEPT | ||
| + | </ | ||
| + | |||
| + | |||
| + | ====== Imatges ===== | ||
| + | |||
| + | |||
| + | {{: | ||
| + | |||
| + | |||
| + | {{ : | ||
| + | |||
| + | {{scrum: | ||
| + | |||
| + | ====== Taules ===== | ||
| + | |||
| + | ^ 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 | | ||