How to bind Freeradius outbound traffic to a network interface?
With Freeradius Virtual-server construct, there is a possibility to select
a Virtual-server instance based on a network interface (eth0 vs wlan0).
But when Virtual-server-eth0 uses an LDAP, is it possible to bind the
outgoing LDAP requests to eth0 and likewise, outbound LDAP requests
initiated from Virtual-server-wlan0 to be bound to wlan0?
- Server hosting Freeradius has 3 interfaces Eth0, wlan-corp, wlan-misc
- VS-wlan-corp - listening on interface "wlan-corp"
--- loads module ldap-wlan-corp: LDAP_IP_X (Reachable only via wlan0)
- VS-wlan100 - listening on interface wlan100
--- loads module ldap-wlan100: LDAP_IP_Y (Reachable only via wlan100)
Above LDAP is just an example, same holds true for AD, proxy or any
outbound communication initiated by Freeradius.