Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


usb_armory_kali

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
usb_armory_kali [2017/07/13 06:54] – [Forward traffic from USB Armory] adminusb_armory_kali [2021/10/09 15:14] (current) – external edit 127.0.0.1
Line 1: Line 1:
-{{tag>[linux kali usb armory]}}+
 =====Kali on USB Armory===== =====Kali on USB Armory=====
-~~TOC~~ 
  
 {{::usbarmory.jpg?direct&600|}} {{::usbarmory.jpg?direct&600|}}
Line 26: Line 25:
 echo "net.ipv4.conf.eno1.forwarding = 1" >> /etc/sysctl.d/50-forwarding.conf echo "net.ipv4.conf.eno1.forwarding = 1" >> /etc/sysctl.d/50-forwarding.conf
 sysctl -p</code> sysctl -p</code>
-  * Add direct rules to firewalld. The ''--permanent'' option to keep these rules across restarts. Interface ''eno1'' is the interface connected to the rest of the network.<code>+  * Add direct rules to firewalld. The ''%%--%%permanent'' option to keep these rules across restarts. Interface ''eno1'' is the interface connected to the rest of the network.<code>
 firewall-cmd --permanent --direct --add-rule ipv4 nat POSTROUTING 0 -o eno1 -j MASQUERADE firewall-cmd --permanent --direct --add-rule ipv4 nat POSTROUTING 0 -o eno1 -j MASQUERADE
 firewall-cmd --permanent --direct --add-rule ipv4 filter FORWARD 0 -i enp0s20f0u1 -o eno1 -j ACCEPT firewall-cmd --permanent --direct --add-rule ipv4 filter FORWARD 0 -i enp0s20f0u1 -o eno1 -j ACCEPT
Line 52: Line 51:
   * Login and resize filesystem:<code>resize2fs /dev/mmcblk0p1</code>   * Login and resize filesystem:<code>resize2fs /dev/mmcblk0p1</code>
  
 +
 +{{tag>[linux kali usb armory]}}
usb_armory_kali.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1