Project

General

Profile

Actions

Bug #11494

closed

Wireguard interface sends ICMP Redirect when routing between two peers

Added by Blaine Palmer about 3 years ago. Updated about 1 year ago.

Status:
Rejected
Priority:
Low
Assignee:
-
Category:
WireGuard
Target version:
-
Start date:
02/21/2021
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Force Exclusion
Affected Version:
2.5.0
Affected Architecture:
All

Description

When PFSense is used to route traffic between two WireGuard peers, it send ICMP Redirect when both peers are on the same WireGuard interface.

Example topology

Home PFSense
- LAN 172.20.20.0/24
- WG0 172.20.50.10/32

Concentrator PFSense
- WG0 172.20.50.1/24

MacOS Client
- WG0 172.20.50.20/32

Abridge Concentrator WG Config

  1. Peer: ConcentratorToHome
    [Peer]
    AllowedIPs = 172.20.20.0/24, 172.20.50.10/32
  1. Peer: ConcentratorToMacbook
    [Peer]
    AllowedIPs = 172.20.50.20/32

In this scenario, with traffic being allowed from 172.20.50.20 (MacBook Source) -> 172.20.50.1 (Concentrator router #1) -> 172.20.50.10 (Home router #2) -> 172.20.20.0/24 (destination) you will see something like the following

64 bytes from 172.20.20.1: icmp_seq=0 ttl=63 time=68.083 ms
92 bytes from 172.20.50.1: Redirect Host(New addr: 172.20.20.1)

I believe this is occurring because from Concentrator's perspective, the source and destination all route through the same interface. In most situations I think this behavior is correct, however in the case of WireGuard where multiple peers exist on the same interface I think ICMP Redirect should not be sent.

Actions

Also available in: Atom PDF