I got a wireguard server with dual wan, one of which is a huawei hilink modem with 192.168.8.1 interface, how do i access the web interface, when im connecting from a wireguard peer, i can access lan and wan (internet) without an issue, but i cant figure out connecting to this modem...
These are my firewall rules for wireguard:
config rule
option name 'internet'
option family 'ipv4'
option dest 'wan'
list dest_ip '0.0.0.0/0'
option target 'ACCEPT'
option src 'wg'
list proto 'all'
list src_ip '10.9.0.4'
list src_ip '10.9.0.5'
config rule
option name 'wg2lan'
option family 'ipv4'
option src 'wg'
option dest 'lan'
option target 'ACCEPT'
list proto 'all'
list src_ip '10.9.0.5'
list src_ip '10.9.0.6'
This is how the interface looks like, i can access 192.168.8.1 from the local network the server is on, but i cannot acccess it through wireguard from outside, is that what ure asking?
192.168.8.100 is accessible both from lan and wireguard and its just luci.
I got both my wan interfaces in one firewall zone, so this rule applies to both of them i would think, im also using mwan3 if this matters, and the wanb is just a failover, but still i can access the modems interface from lan anytime, and i can ping the modem from the router or lan without an issue, the only issue is, i cannot access it from wg..