apt install -y netscript-ipfilter vim open-vm-tools sudo useradd steve -c “Borba, Steven J Jr” -m -G sudo -s /bin/bash sudo -usteve mkdir -p -m=0700 ~steve/.ssh echo “ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDm17k7lt1wuRsDGTs/xRCHtgy5byA2/EYmd0pJ0hmaYQns5D8XMXf6QsxQ6TBO1lkhZI8Nb1+V/An4Pc3M8R4Ftt5QIb8oyQqMOjRN8K8fFawK62eSgkDLmULb0Su3MFy9uSdbmDSaFGvK5dCNnUQKbViXLTHp7WFl/CR8NvD1ZCGtuU4FCQtpaLhL80AwwdcSXNXo5dKExG5XLSNHJdwk1lvEOMQz2VRqZbbvCgi2Aol+JWN97OLEnZBWhQjLksVwsbgHrgbtquwmQdjMX1WLBSgkhUo7i4+I0BgOdkdwSLdk7ZGq9a0syOIgvsaMkKt4T/fp/MAAiHtKgOGYsSTrcIcKm9BHbnuxjHPllKsivq22cTyguLQd/2hMdl/IWJhB675+C3v4uCKgm9RjSj72Iczmr1xODTEQNHO71v9Vxj3JVrk72umJMUCVYW0PxdfHDnihOwej39z45aLXz3UhrjUVHmWtFdhox7NThV7HYHlOVWaL9KLjJihPCDJ84/8= steve@sborba” | sudo -usteve tee ~steve/.ssh/authorized_keys sudo chmod 600 ~steve/.ssh/authorized_keys echo “net.ipv4.tcp_timestamps = 0 net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1” >> /etc/sysctl.conf sysctl -p […]
Steve Borba
My notes, I hope they help you, feel free to comment/add to them
Category: Technology
I am working on setting up Home Automation and a lot of people call it Smart Home, but I don’t like that, just like calling Machine Learning AI. Half of the reason for this is just to document what I have now. Now after saying that, I am going to list my current Home Automation […]
This is an example of a Management Certificate you could sign with your decrypt CA Then create a TLS Profile and Assign TLS Profile
Create the responder entity Create management Profile Assign to Interface Allow with security policy if needed (ocsp application)
First Generate a Root (this could be the CA you deploy using Global Protect or Group Policy or whatever you can) Then you would want to create an intermediate CA (this could be the decrypt CA) You should also create a new root that isn’t deployed to clients and use as untrusted CA.
Here is a Powershell Script to send a WOL packet (and I’ve had it work over a routed connection, but it depends if the router will broadcast if doesn’t have arp for the IP): function Send-WOL { <# .SYNOPSIS Send a WOL packet to a broadcast address .PARAMETER mac The MAC address of the device […]
There is so much in the suite to show I decided to come up with a list, and keep adding to it because I know I still forgot things we all what to do DNS Record(s) – can also to by IP Public Certificate for A record (more compatible – Let’s Encrypt is free) OTP […]
Lab files
I have been trying to wrap my head around where all the routing points are and where the IPs exist in an NSX enviroment, and clicking around in that awful flash gui is so slow! So I came up with this: And then I use this to look at it: $Info | Out-GridView $Info | […]
I’m tired of having to find where to do this (and I have been rebuilding my PC so it is fresh in my head) VMware: install-module VMware.PowerCLI,PowerNSX Azure: install-module Azure,AzureRM Search and install: Find-Module | Out-GridView -OutputMode Multiple | Install-Module Here is how to get powershell to complete like most cli’s (thank you Jeff): Set-PSReadlineKeyHandler […]