You are not logged in.

#1 2021-12-23 14:53:23

Lilitu-Blackstar
Member
Registered: 2021-12-23
Posts: 51

pure lan no gateway?

i am also wondering if there is a way to turn off internet to a whole cluster of servers to run purely as lan.   i regularly am asked for a gateway by clients when settings static IP and told to set one in the DHCP server , DNS server as well.  is there a way to set some configuration that has no gateway?  its not a large issue outside of slow resolution in web browsers during first use while it tries to check sources prior to pihole, or etc/hosts  Ideally i want to move back to the stone age, and not get internet in my next apartment

Offline

#2 2021-12-23 15:04:51

progandy
Member
Registered: 2012-05-17
Posts: 5,279

Re: pure lan no gateway?

I'd suggest you set up a dummy gateway and dns server that simply replys NXDOMAIN for everything except your desired local domains. (maybe you can set up your pihole that way)

Last edited by progandy (2021-12-23 15:06:50)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3 2021-12-23 15:08:07

Lilitu-Blackstar
Member
Registered: 2021-12-23
Posts: 51

Re: pure lan no gateway?

thanks ill look into dummy gateways and do some research <3

Offline

#4 2021-12-23 15:10:44

progandy
Member
Registered: 2012-05-17
Posts: 5,279

Re: pure lan no gateway?

In most cases, you should be able to leave the gateway blank, though. A DNS server that e.g. disables firefox from trying DoH might still be a good idea, if you do not want to explicitly disable or configure that for each device: https://support.mozilla.org/en-US/kb/ca … ion-dnsnet

If you need a gateway, look if it is possible to set it up with iptables/nftables to reject instead of drop packets, that way the timeout should not occur.

Last edited by progandy (2021-12-23 15:15:47)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

Board footer

Powered by FluxBB