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 revisionBoth sides next revision
usb_armory_kali [2018/02/11 16:03] adminusb_armory_kali [2018/02/11 16:04] admin
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: 2021/10/09 15:14 by 127.0.0.1