Ben Stienstra

Linux, Unix, network, radio and more...

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 revision Previous revision
usb_armory_kali [2018/02/11 17:04]
admin
usb_armory_kali [2018/02/11 17:04] (current)
admin [Forward traffic from USB Armory]
Line 25: 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
usb_armory_kali.txt ยท Last modified: 2018/02/11 17:04 by admin