howto/openvpn.md
... ...
@@ -56,6 +56,7 @@ dev <INTERFACE_NAME>
56 56
persist-key
57 57
persist-tun
58 58
cipher aes-256-cbc
59
+resolv-retry infinite
59 60
float
60 61
port <LOCAL_PORT>
61 62
ifconfig <LOCAL_GATEWAY_IP> <REMOTE_GATEWAY_IP>
... ...
@@ -82,6 +83,7 @@ comp-lzo
82 83
persist-key
83 84
persist-tun
84 85
cipher aes-256-cbc
86
+resolv-retry infinite
85 87
ifconfig <LOCAL_GATEWAY_IP> <REMOTE_GATEWAY_IP>
86 88
secret /etc/openvpn/<PEER_NAME>.key
87 89
```
... ...
@@ -168,6 +170,7 @@ route-delay 2
168 170
nobind
169 171
persist-key
170 172
persist-tun
173
+resolv-retry infinite
171 174
172 175
verb 3
173 176
```