Skip to content

Commit

Permalink
Update used_ips.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Aziz87 authored Jun 2, 2023
1 parent f2875b8 commit fc5bc6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion used_ips.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
grep '^.**s[ ]*=' config/wg0.conf| awk -F '[ /]' '{print $3}' | sort -n | uniq -c | awk '$1!=256 {print ""$2""}'
grep '^[ ]*AllowedIPs[ ]*=' config/wg0.conf| awk -F '[ /]' '{print $3}' | sort -n | uniq -c | awk '$1!=256 {print ""$2""}'

0 comments on commit fc5bc6c

Please sign in to comment.