OpnFi-rs icon indicating copy to clipboard operation
OpnFi-rs copied to clipboard

Trying dual WAN - no luck

Open jeffgoh opened this issue 5 years ago • 7 comments
trafficstars

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?

jeffgoh avatar Mar 08 '20 13:03 jeffgoh

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

jrjparks avatar Mar 09 '20 18:03 jrjparks

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 ! ) Screenshot from 2020-03-14 11-53-09

jeffgoh avatar Mar 14 '20 03:03 jeffgoh

Very nice!

jrjparks avatar Mar 14 '20 07:03 jrjparks

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 ?

ashmodai6 avatar Mar 23 '20 15:03 ashmodai6

Is this project still kind of active ?

ashmodai6 avatar Jun 27 '20 22:06 ashmodai6

It's not a priority for me and I'm working on it when I have free time.

jrjparks avatar Jun 28 '20 12:06 jrjparks

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.

jeffgoh avatar May 16 '23 23:05 jeffgoh