Skip to content

Instantly share code, notes, and snippets.

@bradmkjr
Created January 15, 2019 04:38
Show Gist options
  • Save bradmkjr/9be5f72abddd29bc7dfe5281a9a56eb4 to your computer and use it in GitHub Desktop.
Save bradmkjr/9be5f72abddd29bc7dfe5281a9a56eb4 to your computer and use it in GitHub Desktop.
stand by, i want to send you something
9:38 ifconfig > displays network information
iwconfig > displays wireless network information
iwlist scan > lists wireless access points
/etc/rd.d/network ifup interface
/etc/rd.d/network ifdown interface
/etc/rd.d/iptables {start|stop|restart}
ufw enable > enables the firewall [package Community: ufw]
ufw default allow/deny > allows/denies all incoming traffic
ufw status > displays firewall status and rules
ufw allow/deny port > allows/denies incoming traffic on the specified port
ufw allow/deny from ip > allows/denies incoming traffic from specified IP address
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment