Bug #11864
closedOpenVPN stays bound to previous IP address after interface changes
100%
Description
Setup:
OpenVPN listening on UDP IPv4 on a VIP or physical interface.
- While OpenVPN is running, change the IP address on the interface
- Check Diagnostics / Sockets - the OpenVPN process is still listening on the old IP
Likely related:
https://redmine.pfsense.org/issues/9660
Updated by Marcos M over 5 years ago
- Subject changed from OpenVPN stays binded to previous IP after its inteface changes to OpenVPN stays bound to previous IP after its inteface changes
Updated by Viktor Gurov over 5 years ago
Currently only DHCP, SNMP, Gateways Monitoring, RRD Graphing and Syslog services are restarted on interface changes.
We need to create a generic function that checks all system services: OpenVPN, IPsec, L2TP VPN, PPPoE Server, DNS Resolver, IGMP Proxy, uPnP and Captive Portal, to re-binds them to correct IP address.
Updated by Viktor Gurov about 5 years ago
We have to create a function `restart_interface_services($interface, $ipproto)` to restart all interface and IPv4/IPv6 related services and also use it to fix #3132
Updated by Viktor Gurov over 4 years ago
fix:
https://gitlab.netgate.com/pfSense/pfSense/-/merge_requests/522
we need to create a separate TODO to check/restart all related services on interface change (+ IPsec, uPnP, Captive Portal etc.)
Updated by Jim Pingle over 4 years ago
- Status changed from New to Pull Request Review
- Assignee set to Viktor Gurov
- Target version set to CE-Next
- Plus Target Version set to 22.05
Updated by Viktor Gurov over 4 years ago
- Status changed from Pull Request Review to Feedback
- % Done changed from 0 to 100
Applied in changeset commit:9bb98111d2e216462e67abbc7513e4204ad7123e.
Updated by Jim Pingle over 4 years ago
- Target version changed from CE-Next to 2.7.0
Updated by Marcos M over 4 years ago
- Status changed from Feedback to Resolved
Tested on 22.05.a.20220227.0100; working correctly now.
Updated by Jim Pingle over 4 years ago
- Subject changed from OpenVPN stays bound to previous IP after its inteface changes to OpenVPN stays bound to previous IP address after interface changes
Updating subject for release notes.
Also available in: Atom