Skip to content

Instantly share code, notes, and snippets.

@totoCZ
Last active March 12, 2023 22:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save totoCZ/637c9d9b9eb3b34fc635f4eebf23fcaa to your computer and use it in GitHub Desktop.
Save totoCZ/637c9d9b9eb3b34fc635f4eebf23fcaa to your computer and use it in GitHub Desktop.
open ports
ss -tulpen | grep -vEe "\s+127[.]|::1|172\."

ansible all -m shell -a 'ss -tulpen | grep -vEe "\s+127[.]|::1|172\."'

needs to add 10.xx, fe80..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment