Openvpn-as learn-address

Post Reply
mobios
OpenVpn Newbie
Posts: 3
Joined: Wed Jun 12, 2019 6:45 am

Openvpn-as learn-address

Post by mobios » Fri Jun 14, 2019 12:00 pm

Hello,

Ubuntu: 18.04
openvpn-as 2.7.4-777bcfe6-Ubuntu18

i have following problem:

I want set dynamically iptables rules and wanna use the learn-address feature.
if i set:
learn-address /scripts/openvpn/learn-address.sh

the openvpn server search always under /run/openvpn_as//scripts/openvpn/learn-address.sh
What i want to say is that openvpn-as always searches for files under /run/openvpn_as. Why?

The /run/openvpn_as folder will always deleted after reboot (so my script too)

How can i with the openvpn_as 2.7.4-777bcfe6-Ubuntu18 use the feature learn-address?

Best regards
mobios

Post Reply