OpnFi-rs
OpnFi-rs copied to clipboard
Trying dual WAN - no luck
I managed to change the USG-XG-8 to report in as a UGW3 (USG-3P) or UGW4 (USG-PRO presumably) - and I got WAN2 to report in, but it shows up as LAN2. Any ponters?
Not really at the moment, I can try when I have some free time. The Unifi stuff is closed source so a lot of what I'm doing is trial and error. If you do figure it out before I can please share or submit a pull request on https://github.com/jrjparks/unofficial-unifi-guide
UGW3 not yet (dual personality port probably needs some indicator) but I got the UGW4 to do dual WAN nicely. Will do a PR on your UUG shortly. Love what you've done - been wanting to get the full dashboard but not a fan of USG (not even address group for port-forwarding ! )

Very nice!
Fantastic work James ! Jeffrey would you mind sharing the changes you made to the code to report more than one WAN IP (I have three on my pfsense). I understand that the piece using sysinfo will actually not work on pfsense currently correct ?
Is this project still kind of active ?
It's not a priority for me and I'm working on it when I have free time.
Fantastic work James ! Jeffrey would you mind sharing the changes you made to the code to report more than one WAN IP (I have three on my pfsense). I understand that the piece using sysinfo will actually not work on pfsense currently correct ?
Sorry - just seeing this now as I'm now fixing stuff that broke with the latest version of Unifi SDN (that irksome "primary internet failed" when it didn't, and also the 100% Internet utilization (when actual is less than 10%) - even though the stats are correct.
3 x WAN won't work in USG4 emulation mode. You'd need to emulate an USG-XG-8 and I don't have any sites that require more than dual WAN. Also, I'm not sure if the networking code for BSD is exactly the same as for Linux (we're a Linux only shop) so you might need some work there. This protocol emulator + pfSense would make a nice combination, but given Netgate's lack of commitment to OpenSource, I'm inclined to stick with Linux but move towards nftables as the engine.