Greg Troxel <g...@lexort.com> wrote: > Also, standard advice is to turn on debugging on both sides and read the > debug logs. > > It is possible that the peers are not ending up with a working tunnel, > and wireguard's security philosophy leads to silence (not a complaint).
Okay I've enabled sysctl -w net.wg.debug=3 Here's the output when I've connected from the macOS client and requesting a URL in Firefox (with no other data): Jan 14 17:50:54 starbeastie /netbsd: [ 319748.3043387] wg_overudp_cb:3692: enter Jan 14 17:50:54 starbeastie /netbsd: [ 319748.3043387] wg_overudp_cb: type=4 Jan 14 17:50:54 starbeastie /netbsd: [ 319748.3043387] wg_handle_msg_data:2907: data Jan 14 17:50:54 starbeastie /netbsd: [ 319748.3043387] wg_handle_msg_data: mlen=96, encrypted_len=80 Jan 14 17:50:54 starbeastie /netbsd: [ 319748.3043387] wg_handle_msg_data: outsize=64 Jan 14 17:50:54 starbeastie /netbsd: [ 319748.3043387] wg_update_endpoint_if_necessary: old=inet: 1.146.68.92:2152, new=inet: 1.146.68.92:2152 Jan 14 17:50:54 starbeastie /netbsd: [ 319748.3043387] wg_validate_inner_packet: af=2 Jan 14 17:50:54 starbeastie /netbsd: [ 319748.3043387] wg_pick_peer_by_sa: sa=inet: 10.2.0.42 Jan 14 17:50:54 starbeastie /netbsd: [ 319748.3043387] wg_pick_peer_by_sa:4295: success Jan 14 17:50:54 starbeastie /netbsd: [ 319748.3043387] wg_input:4588: Jan 14 17:50:54 starbeastie /netbsd: [ 319748.3043387] wg_handle_msg_data: time_uptime32=319748 wgs_time_last_data_sent=319740 Jan 14 17:50:54 starbeastie /netbsd: [ 319748.5143318] wg_overudp_cb:3692: enter Jan 14 17:50:54 starbeastie /netbsd: [ 319748.5143318] wg_overudp_cb: type=4 Jan 14 17:50:54 starbeastie /netbsd: [ 319748.5143318] wg_handle_msg_data:2907: data Jan 14 17:50:54 starbeastie /netbsd: [ 319748.5143318] wg_handle_msg_data: mlen=96, encrypted_len=80 Jan 14 17:50:54 starbeastie /netbsd: [ 319748.5143318] wg_handle_msg_data: outsize=64 Jan 14 17:50:54 starbeastie /netbsd: [ 319748.5143318] wg_update_endpoint_if_necessary: old=inet: 1.146.68.92:2152, new=inet: 1.146.68.92:2152 Jan 14 17:50:54 starbeastie /netbsd: [ 319748.5143318] wg_validate_inner_packet: af=2 Jan 14 17:50:54 starbeastie /netbsd: [ 319748.5143318] wg_pick_peer_by_sa: sa=inet: 10.2.0.42 Jan 14 17:50:54 starbeastie /netbsd: [ 319748.5143318] wg_pick_peer_by_sa:4295: success Jan 14 17:50:54 starbeastie /netbsd: [ 319748.5143318] wg_input:4588: Jan 14 17:50:54 starbeastie /netbsd: [ 319748.5143318] wg_handle_msg_data: time_uptime32=319748 wgs_time_last_data_sent=319740 Jan 14 17:50:54 starbeastie /netbsd: [ 319748.7843260] wg_overudp_cb:3692: enter Jan 14 17:50:54 starbeastie /netbsd: [ 319748.7843260] wg_overudp_cb: type=4 Jan 14 17:50:54 starbeastie /netbsd: [ 319748.7843260] wg_handle_msg_data:2907: data Jan 14 17:50:54 starbeastie /netbsd: [ 319748.7843260] wg_handle_msg_data: mlen=96, encrypted_len=80 Jan 14 17:50:54 starbeastie /netbsd: [ 319748.7843260] wg_handle_msg_data: outsize=64 Jan 14 17:50:54 starbeastie /netbsd: [ 319748.7843260] wg_update_endpoint_if_necessary: old=inet: 1.146.68.92:2152, new=inet: 1.146.68.92:2152 Jan 14 17:50:54 starbeastie /netbsd: [ 319748.7843260] wg_validate_inner_packet: af=2 Jan 14 17:50:54 starbeastie /netbsd: [ 319748.7843260] wg_pick_peer_by_sa: sa=inet: 10.2.0.42 Jan 14 17:50:54 starbeastie /netbsd: [ 319748.7843260] wg_pick_peer_by_sa:4295: success Jan 14 17:50:54 starbeastie /netbsd: [ 319748.7843260] wg_input:4588: Jan 14 17:50:54 starbeastie /netbsd: [ 319748.7843260] wg_handle_msg_data: time_uptime32=319748 wgs_time_last_data_sent=319740 Jan 14 17:50:54 starbeastie /netbsd: [ 319749.0343199] wg_overudp_cb:3692: enter Jan 14 17:50:54 starbeastie /netbsd: [ 319749.0343199] wg_overudp_cb: type=4 Jan 14 17:50:54 starbeastie /netbsd: [ 319749.0343199] wg_handle_msg_data:2907: data Jan 14 17:50:54 starbeastie /netbsd: [ 319749.0343199] wg_handle_msg_data: mlen=96, encrypted_len=80 Jan 14 17:50:54 starbeastie /netbsd: [ 319749.0343199] wg_handle_msg_data: outsize=64 Jan 14 17:50:54 starbeastie /netbsd: [ 319749.0343199] wg_update_endpoint_if_necessary: old=inet: 1.146.68.92:2152, new=inet: 1.146.68.92:2152 Jan 14 17:50:54 starbeastie /netbsd: [ 319749.0343199] wg_validate_inner_packet: af=2 Jan 14 17:50:54 starbeastie /netbsd: [ 319749.0343199] wg_pick_peer_by_sa: sa=inet: 10.2.0.42 Jan 14 17:50:54 starbeastie /netbsd: [ 319749.0343199] wg_pick_peer_by_sa:4295: success Jan 14 17:50:54 starbeastie /netbsd: [ 319749.0343199] wg_input:4588: Jan 14 17:50:54 starbeastie /netbsd: [ 319749.0343199] wg_handle_msg_data: time_uptime32=319749 wgs_time_last_data_sent=319740 Jan 14 17:50:54 starbeastie /netbsd: [ 319749.0843264] wg_overudp_cb:3692: enter Jan 14 17:50:54 starbeastie /netbsd: [ 319749.0843264] wg_overudp_cb: type=4 Jan 14 17:50:54 starbeastie /netbsd: [ 319749.0843264] wg_handle_msg_data:2907: data Jan 14 17:50:54 starbeastie /netbsd: [ 319749.0843264] wg_handle_msg_data: mlen=96, encrypted_len=80 Jan 14 17:50:54 starbeastie /netbsd: [ 319749.0843264] wg_handle_msg_data: outsize=64 Jan 14 17:50:54 starbeastie /netbsd: [ 319749.0843264] wg_update_endpoint_if_necessary: old=inet: 1.146.68.92:2152, new=inet: 1.146.68.92:2152 Jan 14 17:50:54 starbeastie /netbsd: [ 319749.0843264] wg_validate_inner_packet: af=2 Jan 14 17:50:54 starbeastie /netbsd: [ 319749.0843264] wg_pick_peer_by_sa: sa=inet: 10.2.0.42 Jan 14 17:50:54 starbeastie /netbsd: [ 319749.0843264] wg_pick_peer_by_sa:4295: success Jan 14 17:50:54 starbeastie /netbsd: [ 319749.0843264] wg_input:4588: Jan 14 17:50:54 starbeastie /netbsd: [ 319749.0843264] wg_handle_msg_data: time_uptime32=319749 wgs_time_last_data_sent=319740