Access a single static address in different IP range from LAN

Started by lignumaqua, June 16, 2024, 12:10:28 AM

Previous topic - Next topic
I'd appreciate help with what I hope is a simple question.

I'm getting a Tesla Powerwall installed which has a fixed IP address of 192.168.91.1. This cannot be changed. It will be connected to my Wi-Fi for connection to the Tesla cloud but I'd also like to be able to access this from within my LAN which is at 192.168.0.1/23.

Can I set up a static route and give the 192.168.91.1 address an alias IP within my normal LAN range?

I know I could do this on a computer using, for example, something like : sudo ip route add 192.168.91.1 via 192.168.0.100

How do I do the same with OPNSense so that any computer on the LAN can access it?