diff --git a/playbooks/files/conf/router/dnsmasq.conf.add b/playbooks/files/conf/router/dnsmasq.conf.add new file mode 100644 index 0000000..095f756 --- /dev/null +++ b/playbooks/files/conf/router/dnsmasq.conf.add @@ -0,0 +1,12 @@ +enable-tftp +dhcp-match=set:bios,60,PXEClient:Arch:00000 +#dhcp-boot=tag:bios,undionly.kpxe,,192.168.77.108 +dhcp-boot=tag:bios,ipxe.pxe,,192.168.77.108 +dhcp-match=set:efibc,60,PXEClient:Arch:00007 +dhcp-boot=tag:efibc,ipxe.efi,,192.168.77.108 +address=/ldap-server.loc/nas.loc/192.168.77.106 +address=/mqtt.loc/mqtt.lan/192.168.77.106 +address=/lalalal.loc/192.168.77.106 + +ipset=/iplists.firehol.org/ipdeny.com/ipapi.co/api.db-ip.com/api.bgpview.io/asn.ipinfo.app/speedguide.net/otx.alienvault.com/github.com/raw.githubusercontent.com/astrill.com/strongpath.net/snbforums.com/bin.entware.net/nwsrv-ns1.asus.com/pool.ntp.org/1drv.ms/asuswrt-merlin.net/asuswrt.lostrealm.ca/big.oisd.nl/Skynet-WhitelistDomains # Skynet +ipset=/codeload.github.com/diversion.ch/entware.diversion.ch/entware.net/fwupdate.asuswrt-merlin.net/localhost.localdomain/maurerr.github.io/mirrors.bfsu.edu.cn/oisd.nl/onedrive.live.com/pgl.yoyo.org/pkg.entware.net/small.oisd.nl/someonewhocares.org/sourceforge.net/urlhaus.abuse.ch/Skynet-WhitelistDomains # Skynet diff --git a/playbooks/router_setup.yml b/playbooks/router_setup.yml new file mode 100644 index 0000000..6acdf02 --- /dev/null +++ b/playbooks/router_setup.yml @@ -0,0 +1,10 @@ +- hosts: router + name: Setup router + ignore_unreachable: false + become: True + tasks: + - name: Upload service config + ansible.builtin.copy: + src: config/dnsmasq.conf.add + dest: /jffs/configs/ +