Friday, December 13, 2024

Wednesday, December 11, 2024

Determine Your WAN IP with one Powershell command

 Since I get a lot of positive feedback from my short videos and articles......

Her is one PowerShell command to display your WAN IP:


(Invoke-RestMethod -Uri 'http://ipinfo.io/json').ip


the output will look something like this


another way is using wget

and your ip address will be in myip,txt

Monday, December 9, 2024

Testing My Edgerouter's load balancing

 


If you’ve ever attended any of my sessions, you probably heard me say 1,000,000 times “test, test, test!”

You probably also heard me say “you never learn much when things go right”

Both of these comments are very closely related.  The point is, if you’ve ever installed anything and never had an issue, you don’t learn too much.  I know that sounds odd but you have issues, you have to work your way through it and you learn a tremendous amount about the equipment and the configuration.


In this video, I walk you through a load balancing verification exercise I did for a client.  They have two Internet links and I wanted to be sure that when the connection failed the other would pick up the load accordingly.


I also wanted to find out how long it took for this process to happen as well as the various commands the helpdesk and use to figure out if this was in fact happening.


In this example, much like many examples the primary link has a faster speed than the backup link.  Many times the back up LINK ends up as the primary, and nobody ever notices is until someone mentions that things seem a bit slow.


As I mentioned in the video, it doesn’t matter if you’re the same equipment as I do, just pay attention to the methodology and tools that I use.


Link to hrping

 

Ubiquiti commands I used

show load-balance status

show ip route

traceroute 8.8.8.8

set interfaces ethernet eth8 disable

show load-balance status

show ip route

traceroute 8.8.8.8

delete interfaces ethernet eth8 disable

show load-balance status

show ip route

traceroute 8.8.8.8



Friday, December 6, 2024

How to Setup TCP Tunneling with Rustdesk

 

Why ‘Tunnel’?

In this example, tunneling is more of a relay or a proxy. I’m using my favorite remote desktop software called Rustdesk. With it, I can use its tunneling feature. That allows me to map a TCP Port on one side and I will end up on the far side of the remote PC's network.

I like this feature because during a network issue, having a lot of data and graphics redrawn on the screen, can take a while. when I use the tunneling feature, I can use my local web browser, terminal emulator or software and the tunneling acts like a vpn connection.


If this is hard to visualize, check out the short video.





Wednesday, December 4, 2024

NMAP no ping option


 Those of you who’ve been following me the over the years, I have gone on and on about “baselining and knowing your tools “.

I have to admit that some utilities out there are very well documented, but that doesn’t mean that you do not have the opportunity to learn about how your tools behave. When there is great documentation, the process is a lot easier and I simply test and verify the options provided. Even if the documentation is correct, you will find that you will learn about your favorite tool’s options.

Every time, I use my favorite tool or utility, I use that as an opportunity to learn something. Is is even more important if the software has received an update and now behaves differently.

In this example I am looking at and NMAP’s no ping option.

At first glance it sounds like a great option, but when we start looking into it we realize that by default, a lot of things are going on that we may not want to see happening.

In this video I walk you through the option how we validate what it’s doing and how we better control the way it behaves.



Popular post