diff options
author | Peter Palfrader <peter@palfrader.org> | 2017-01-02 10:50:44 +0100 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2017-01-02 10:50:44 +0100 |
commit | a6e19f816e78d4ae2ed22988edf67a48d00c6b00 (patch) | |
tree | bcd6a0dfbdcecd50101636f0076dec51c2ce5145 | |
parent | a58a3b5980c350194c7013b56d1de590e37bc24e (diff) |
All hosts run at least openvpn 2.1
-rwxr-xr-x | Generate | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -700,7 +700,7 @@ hostlist.each{ |host| conffile.puts "comp-lzo" conffile.puts "keepalive 7 30" conffile.puts "verb 3" - conffile.puts "script-security 2" if host['openvpn'] == '2.1' + conffile.puts "script-security 2" conffile.puts "redirect-gateway def1" if host['default-via'] and host['default-via'] == peer['name'] conffile.close |