WireGuard IPv4 Routing HELP
I'm trying to learn wireguard. And need some help, i'm a beginner at networking.
[Interface] Address = 192.168.1.1/24 ListenPort = 51820 PrivateKey = key [Peer] PublicKey = key AllowedIPs = 192.168.1.2/32, AdditionalIP/32 Endpoint = ServerB:51820
[Interface] Address = 192.168.1.2/24, AdditionalIP/32 ListenPort = 51820 PrivateKey = key [Peer] PublicKey = key AllowedIPs = 192.168.1.1/32 Endpoint = ServerA:51820
I want to use the AdditionalIP/32 which belongs to Server A on Server B
I can ping both 192.168.1.x from servers, also AdditionalIP.
However, I cant access to ServerB with AdditionalIP.
root@ServerA:~# ip ro show dev wg0 AdditionalIP scope link 192.168.1.0/24 proto kernel scope link src 192.168.1.1 root@ServerB: 3: wg0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state UNKNOWN group default qlen 1000 link/none inet 192.168.1.2/24 scope global wg0 valid_lft forever preferred_lft forever inet AdditionalIP/32 scope global wg0 valid_lft forever preferred_lft forever When ping AdditionalIP from outside. Request timed out. Reply from 10.0.1.174: Destination host unreachable. Request timed out.