2019-06-21 19:14:17 +00:00
|
|
|
{
|
2021-05-18 13:20:23 +00:00
|
|
|
hosts = ''
|
|
|
|
203.0.113.1 example.com
|
|
|
|
'';
|
|
|
|
|
2019-06-21 19:14:17 +00:00
|
|
|
iptables = ''
|
|
|
|
# vpn with default interface name (tun/tap)
|
|
|
|
iptables -A OUTPUT -d 192.0.2.15 -j ACCEPT
|
|
|
|
|
|
|
|
# vpn with non-default interface name
|
|
|
|
iptables -A OUTPUT -d 192.0.2.67 -j ACCEPT
|
|
|
|
iptables -A OUTPUT -o cute-vpn -j ACCEPT
|
|
|
|
'';
|
|
|
|
|
|
|
|
vpn-config = "config /var/vpn/changeme.ovpn";
|
|
|
|
vpn-username = "changeme";
|
|
|
|
vpn-password = "changeme";
|
|
|
|
|
|
|
|
# for redshift
|
2020-06-03 18:28:15 +00:00
|
|
|
latitude = 42.42;
|
|
|
|
longitude = 42.42;
|
2019-06-21 19:14:17 +00:00
|
|
|
}
|