<commit_before>mode server
writepid /var/vcap/sys/run/openvpn/openvpn.pid
client-config-dir /var/vcap/jobs/openvpn/etc/ccd
ca /var/vcap/jobs/openvpn/etc/ca.crt
cert /var/vcap/jobs/openvpn/etc/server.crt
key /var/vcap/jobs/openvpn/etc/server.key
dh /var/vcap/jobs/openvpn/etc/dh.pem
<% if_p('openvpn.crl_pem') do %>
crl-verify /var/vcap/jobs/openvpn/etc/crl.pem
<% end %>
cipher <%= p('openvpn.cipher') %>
keysize <%= p('openvpn.keysize') %>
proto tcp
port <%= p('openvpn.port') %>
comp-lzo
group nogroup
user nobody
status /var/vcap/sys/log/openvpn/status.log
dev tun0
local <%= p('openvpn.local') %>
server <%= p('openvpn.server') %>
<% p('openvpn.push_routes').each do | route | %>
push "route <%= route %>"
<% end %>
<% p('openvpn.routes').each do | route | %>
route <%= route %>
<% end %>
push "persist-tun"
push "ping 15"
push "ping-restart 60"
keepalive 15 60
topology subnet
persist-key
persist-tun
<% if_p('openvpn.extra_config') do | v | %><%= v %><% end %>
<commit_msg>Move status log to ./sys/run/openvpn/status<commit_after>mode server
writepid /var/vcap/sys/run/openvpn/openvpn.pid
client-config-dir /var/vcap/jobs/openvpn/etc/ccd
ca /var/vcap/jobs/openvpn/etc/ca.crt
cert /var/vcap/jobs/openvpn/etc/server.crt
key /var/vcap/jobs/openvpn/etc/server.key
dh /var/vcap/jobs/openvpn/etc/dh.pem
<% if_p('openvpn.crl_pem') do %>
crl-verify /var/vcap/jobs/openvpn/etc/crl.pem
<% end %>
cipher <%= p('openvpn.cipher') %>
keysize <%= p('openvpn.keysize') %>
proto tcp
port <%= p('openvpn.port') %>
comp-lzo
group nogroup
user nobody
status /var/vcap/sys/run/openvpn/status
dev tun0
local <%= p('openvpn.local') %>
server <%= p('openvpn.server') %>
<% p('openvpn.push_routes').each do | route | %>
push "route <%= route %>"
<% end %>
<% p('openvpn.routes').each do | route | %>
route <%= route %>
<% end %>
push "persist-tun"
push "ping 15"
push "ping-restart 60"
keepalive 15 60
topology subnet
persist-key
persist-tun
<% if_p('openvpn.extra_config') do | v | %><%= v %><% end %>

{'fraction_non_alphanumeric': 0.20262096774193547, 'fraction_numerical': 0.009072580645161291, 'mean_word_length': 4.293333333333333, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1358574', 'n_tokens_mistral': 930, 'n_tokens_neox': 831, 'n_words': 150}