1
0

Add hosts

This commit is contained in:
dump_stack() 2021-05-18 13:20:23 +00:00
parent c1f1ddeacf
commit 7061d676ec
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
2 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,8 @@ in {
networking.wireless.enable = true; networking.wireless.enable = true;
imports = [ ./wireless-networks.nix ]; imports = [ ./wireless-networks.nix ];
networking.extraHosts = secrets.hosts;
networking.firewall = { networking.firewall = {
enable = true; enable = true;
extraCommands = '' extraCommands = ''

View File

@ -1,4 +1,8 @@
{ {
hosts = ''
203.0.113.1 example.com
'';
iptables = '' iptables = ''
# vpn with default interface name (tun/tap) # vpn with default interface name (tun/tap)
iptables -A OUTPUT -d 192.0.2.15 -j ACCEPT iptables -A OUTPUT -d 192.0.2.15 -j ACCEPT