You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to OpenWrt 24.10-rc4, using the exact same swanctl configuration as 23.05 my clients are no longer getting a DHCP address. This is tested on both Android/Strongswan app as well as Windows IPsec VPN. IPv6 static addresses are still being assigned.
I can tell that the updown scripts in /etc/hotplug.d/ipsec are only being called with IPv6 events, i.e. PLUTO_VERB='up-client-v6' and PLUTO_VERB='down-client-v6', I'm not sure if there's some configuration I'd need to change or if there's something more nefarious going on here.
I'm attaching my config here for now while I dig into this; I've still not isolated which part of the config or where I should be looking deeper into at the moment.
dhcp {
# Always use the configured server address.
force_server_address = yes
# Derive user-defined MAC address from hash of IKE identity and send client
# identity DHCP option.
# identity_lease = no
# Interface name the plugin uses for address allocation.
# interface =
# Whether to load the plugin. Can also be an integer to increase the
# priority of this plugin.
load = yes
# DHCP server unicast or broadcast IP address.
server = <br-lan.lan subnet broadcast>
# Use the DHCP server port (67) as source port when a unicast server address
# is configured.
# use_server_port = no
}
Edit 1: added the connection and dhcp plugin config.
Edit 2: clarified that this affects both Android and Windows
The text was updated successfully, but these errors were encountered:
lowjoel
changed the title
strongswan: dhcp plugin not issuing addresses to clients
strongswan: dhcp plugin not issuing addresses to clients after upgrading to 24.10-rc4
Jan 22, 2025
No idea what the DHCP issue is about (you probably have to provide more details, config, logs, packet captures). But that the updown script is only called for IPv6 makes sense if no IPv4 address is assigned to the client.
Yeah, I'm trying to understand what's going wrong, I have some digging in to do myself. At this point I can't figure out if I'm the only one impacted (=I did something stupid) or if others are seeing it. I'm currently working to distill my setup to a minimal reproduceable case (I couldn't yet yesterday)
Just added the config that I'm looking at right now.
After upgrading to OpenWrt 24.10-rc4, using the exact same swanctl configuration as 23.05 my clients are no longer getting a DHCP address. This is tested on both Android/Strongswan app as well as Windows IPsec VPN. IPv6 static addresses are still being assigned.
I can tell that the updown scripts in /etc/hotplug.d/ipsec are only being called with IPv6 events, i.e.
PLUTO_VERB='up-client-v6'
andPLUTO_VERB='down-client-v6'
, I'm not sure if there's some configuration I'd need to change or if there's something more nefarious going on here.I'm attaching my config here for now while I dig into this; I've still not isolated which part of the config or where I should be looking deeper into at the moment.
/etc/swanctl/conf.d/users.conf
/etc/strongswan.d/charon/dhcp.conf
Edit 1: added the connection and dhcp plugin config.
Edit 2: clarified that this affects both Android and Windows
The text was updated successfully, but these errors were encountered: