Hola txpiron!
Can you draw a network diagram, it is unclear the relationship of the debian server to the MT device.
Do you wish the clients on the MT device to be able to reach devices connected to the debian server?
Do you wish the clients on the MT device to be able to use the internet via the debian server.
IN terms of Wireguard settings.
The information you need from the debian server to put in Mikrotik settings.
a. public IP = endpoint IP (to put on peer settings)
b. listening port on the debian server (to put on peer settings)
c. public key from the debian server ( to put on peer settings)
The Debian Server device will need
a. public key generated by the MT wireguard settings
b. The IP address of the MT wireguard interface
What is the allowed IP or allowed IPs you have put on Debian Server Peer settings?
Hello again,
The Debian server runs the wireguard server role. It's working fine because i can connect with it using mi laptop or mi mobile phone. I want that the role of wireguard client in order to establish a PTP connection. Y fill the Wireguard menu in the Mikrotik with the same data as i used in mi laptop connection:
[Interface]
PrivateKey = PrivateKey
ListenPort = 47968
Address = 10.8.8.3/24
DNS = 192.168.81.240, 192.168.81.241
MTU = 1280
[Peer]
PublicKey = PublicKey
PresharedKey = PresharedKey
AllowedIPs = 0.0.0.0/1, 128.0.0.0/1, ::/1, 8000::/1
Endpoint = domain:port
PersistentKeepalive = 25
Those data are in the wireguard.conf that i've imported in my laptop or my phone, but mikrotik can notconnect