Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
problem on /usr/local/opnsense/scripts/openvpn/ovpn_event.py
« previous
next »
Print
Pages: [
1
]
Author
Topic: problem on /usr/local/opnsense/scripts/openvpn/ovpn_event.py (Read 688 times)
amastrangelo
Newbie
Posts: 7
Karma: 0
problem on /usr/local/opnsense/scripts/openvpn/ovpn_event.py
«
on:
November 02, 2023, 10:06:30 am »
good morning,
I experience a problem with openvpn OTP:
the problem is when this file is executed:
/usr/local/opnsense/scripts/openvpn/ovpn_event.py
specifically this routine:
elif params.script_type == 'learn-address':
if os.fork() == 0:
sys.exit(subprocess.run(
['/usr/local/opnsense/scripts/filter/update_tables.py', '--types', 'authgroup']
).returncode)
That procedure is called from this file
/usr/local/opnsense/scripts/filter/update_tables.py
when executed the cpu is saturated, with the python process running at 100% and packet loss is experienced making the vpn unusable.
For now I solved it by changing the name "learn-address" to something that doesn't exist.
I would like to know how I can solve the problem
Thank you
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
problem on /usr/local/opnsense/scripts/openvpn/ovpn_event.py