In certain situations it is desirable to bind the send/receive sockets
for the DHCP address allocation to a particular interface. With this
patch the strongswan.conf option charon.plugins.dhcp.interface can be
used to restrict the DHCP communication to a configurable interface.

Signed-off-by: Thomas Egerer <[email protected]>
---
Hello *,

I found that the dhcp plugin tries to allocate an IP-address on the
wrong interface and since I cannot modify the routing rules of the
system strongswan is running on, the only sensible solution to
solve this problem is binding send/receive socket to a particular
interface.

Cheers,

Thomas

 src/libcharon/plugins/dhcp/dhcp_socket.c | 43 ++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)


_______________________________________________
Dev mailing list
[email protected]
https://lists.strongswan.org/mailman/listinfo/dev

Reply via email to