-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add VPN server IP to allowed addresses in TrafPol #105
Conversation
When the XML profile is updated, e.g., during a user's connection attempt, the TrafPol component restarts with the new settings of the XML profile. This can cause the VPN connection to fail when the user's connection request arrives in OC-Daemon and TrafPol has not resolved the IP address of the VPN server in the allowed hosts yet. So, add the IP address of the VPN server in the user's connection request to the allowed addresses in TrafPol to make sure access to the VPN server is allowed even when TrafPol is restarting. Signed-off-by: hwipl <[email protected]>
Test Result🙌 258 Tests pass Test Details🟢 TestAddrMonStartStop (0.00s) CoverageTotal coverage: 🟩🟩🟩🟥 79.1% Coverage Details
|
When the XML profile is updated, e.g., during a user's connection attempt, the TrafPol component restarts with the new settings of the XML profile. This can cause the VPN connection to fail when the user's connection request arrives in OC-Daemon and TrafPol has not resolved the IP address of the VPN server in the allowed hosts yet. So, add the IP address of the VPN server in the user's connection request to the allowed addresses in TrafPol to make sure access to the VPN server is allowed even when TrafPol is restarting.