Opened 4 years ago

Last modified 4 years ago

#1354 new Feature Wish

IV_HWADDR - test ipv6-only, document better

Reported by: Gert Döring Owned by:
Priority: major Milestone: release 2.6
Component: Generic / unclassified Version: OpenVPN git master branch (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords: routing, push-peer-info, MAC lookup
Cc: Antonio Quartulli

Description

IV_HWADDR=<mac address> -- the MAC address of clients default gateway

is definitely less than clear in the documentation - it tries to say "of the interface used to reach the default gateway".

Besides this, it might be broken if there is no IPv4 default gateway, and IPv6 is used to reach the VPN server - so this should be turned into "the MAC address of the interface used to reach the VPN server", with a specific route lookup for IPv4, or the result of the (already specific) lookup for IPv6.

Change History (1)

comment:1 Changed 4 years ago by Gert Döring

15:05 <@ordex> b0rken
15:06 <@plaisthos> it is
15:06 <@plaisthos> or if the interface does not have a mac address
15:06 <@plaisthos> then IV_HWADDR is not set
15:06 <@cron2> well, yeah, it could be a PPP interface or such, or another

tunnel

Note: See TracTickets for help on using tickets.