bittorrent peer ip appears as router.lan

Hi, I own a hAP ac²
When I check the peer list in qbittorrent, I see mostly “router.lan” or 192.168.1.1
I don’t know which setting in the router config is causing that

" causing that" … ??? causing what ?

router.lan name: the internal DNS server
router as IP address : maybe some src-nat rule ?

sorry, what i meant is: the ip of 192.168.1.1 that you can see multiple times on the peer list, isn’t my router
it should show each peer’s ip, but for some reason it shows my router’s ip

maybe it’s some firewall rule, i am not sure. my firewall rules are the default rules of hap ac²: (this picture is from mikrotik’s official twitter, but i have the same rules)

Most likely it’s some NAT rule … so how does NAT section of IP firewall look like?

here is the nat section: edit: action tab of rule 2 and 3 is: action dstnat, to ip addresses 192.168.1.2

The rule 0 (srcnat masquerade looks suspicious to me with its setting “Out. Int… = all”. From the screenshot it’s hard to tell, but I guess it is “Out Interface List” and setting to all is not right. If settings on your RB are largely default, then you should change that setting to “out interface list = WAN”.
A note: when you change it, all torrent connections will break, but should build up again.

@MKX : you are a bit faster than me :slight_smile: … indeed this all interface NAT rule is the typical manual entry, if the default is not used (which correctly contains WAN as out interface list)

(could have been a NAT action in the upstream router also)

rule 0 is:
chain: srcnat
out interface: all
and on action it’s masquerade
thats all.

so i’ll change out interface to “wan”
anything else?

edit: when i change the out interface from all to wan, my browser firefox cannot browse
edit 2: oops, it confused out interface list with out interface
setting single out interface to pppoe-out1 (yes i am using pppoe) made it work again

@Fighter: it’s hard to see what’s configured and how from screenshots. Even though it seems to work for you now please post full config. From GUI open terminal window and run command /export hide-sensitive. Copy-paste the output here, but enclose it in [__code] [/code] environment.

no need, it was the “all” setting
changing to out interface “pppoe-out1” fixed that
everything is alright now

thank you very much bpwl and mkx