Can't follow other instances from peertube instance

They stay Pending forever.
In settings-system-debug I get the following message, which I really don’t know how to fix:

IP address

PeerTube thinks your web browser public IP is **10.0.1.1**.

If this is not your correct public IP, please consider fixing it because:

* Views may not be counted correctly (reduced compared to what they should be)
* Anti brute force system could be overzealous
* P2P system could not work correctly

To fix it:

* Check the `trust_proxy` configuration key

May it have to do something with it?

Here is the log (password:‹ peertube ›)

My instance info:

Features found on this instance|PeerTube version|7.2.2|
| — | — |
|Default sensitive content policy

can be redefined by the users|Warn users|
|User registration|Requires approval by moderators|
|Video uploads|
|Transcoding in multiple resolutions|yes|
|Automatic transcription|no|
|Video uploads|Requires manual validation by moderators|
|Video quota|5 GB|
|Live streaming|
|Live streaming enabled|yes|
|Transcode live video in multiple resolutions|no|
|Max parallel lives|1 per user / 1 per instance|
|Video Import|
|HTTP import (YouTube, Vimeo, direct URL…)|no|
|Torrent import|no|
|Channel synchronization with other platforms (YouTube, Vimeo, …)|no|
|User Import/Export|
|Users can export their data|yes|
|Users can import their data|yes|
|Search|
|Users can resolve distant content|yes|
|Plugins & Themes|
|Available themes|dark-evolution|
|Plugins enabled|auth-ldap livechat hardware-transcode-vaapi|

Have you checked https://example.org/admin/settings/system/debug to see if it sees your public IP-Address??

IF it do not recognize your public IP, then retry this documentation Architecture | PeerTube documentation to check that the trust_proxy are matching your connection from the frontend to peertube.

Standard values are

# Proxies to trust to get real client IP
# If you run PeerTube just behind a local proxy (nginx), keep 'loopback'
# If you run PeerTube behind a remote proxy, add the proxy IP address (or subnet)
trust_proxy:
  - 'loopback

And the note: PeerTube do not « Allow » RFC1918 addresses as valid. (See: Peertube Federation error: The IP of the domain is reserved - #2 par AndreyKAZ)

Yes, I checked it! in fact it is what I posted at the beggining of the post,

PeerTube thinks your web browser public IP is **10.0.1.1**.

which obviously isn’t
might it be because I have a wireguard VPS configuration with a remote machine (that gives me the public IP) in order to enable port forwarding?

so, I am not sure what to do… I replaced loopback with my public IP
now I get

PeerTube thinks your web browser public IP is **127.0.0.1**.