<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">I’ve been using wireguard as a peer-to-peer VPN on linux for many years now (thanks Jason!) </div><div class="">Recently I’ve been using wireguard-go on Freebsd. I noticed that there are a difference.</div><div class=""><br class=""></div><div class="">I used to add an IP address to the wg interface on both sides, which is a good starting point to verify that I got the VPN up and running. Ping responses on both local and remote IP address tells me everything is ok.</div><div class=""><br class=""></div><div class="">However on Freebsd ( wireguard version <span style="color: rgb(0, 0, 0);" class="">1.0.20200121 ) with same config, local ping does not respond?!, remote works from either side but not local ping on the wg interface IP address.</span></div><div class=""><span style="color: rgb(0, 0, 0);" class=""><br class=""></span></div><div class=""><font color="#000000" class="">I verified Freebsd behavior by creating a tun interface with ifconfig, added an IP address and that local IP address responds to ping...</font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><br class=""></span></font></div><div class=""><font color="#000000" class="">I actually get two different scenarios, either no ping response or a response that the ping packet where sent trough the tunnel and bounced back:</font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><br class=""></span></font></div><div class=""><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">root@bsd1:~ # ping 192.168.9.1</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">PING 192.168.9.1 (192.168.9.1): 56 data bytes</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">92 bytes from 192.168.9.2: Redirect Host(New addr: 192.168.9.1)</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Vr HL TOS Len ID Flg off TTL Pro cks Src Dst</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 4 5 00 0054 cdcd 0 0000 40 01 1989 192.168.9.1 192.168.9.1 </span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(0, 0, 0); min-height: 15px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">64 bytes from 192.168.9.1: icmp_seq=0 ttl=63 time=4.401 ms</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">92 bytes from 192.168.9.2: Redirect Host(New addr: 192.168.9.1)</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Vr HL TOS Len ID Flg off TTL Pro cks Src Dst</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""> 4 5 00 0054 21c7 0 0000 40 01 c58f 192.168.9.1 192.168.9.1 </span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class="">I’m confused. Is this expected behavior? Can someone please explain.</div><div class=""><br class=""></div><div class="">Thanks</div><div class="">Peter</div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>