This repository has been archived on 2024-04-29. You can view files and clone it, but cannot push or open issues or pull requests.
vyos-config/config-parts/service.sh

28 lines
875 B
Bash
Raw Normal View History

2023-03-29 13:30:45 -05:00
#!/bin/vbash
# NTP server
delete service ntp allow-client
set service ntp allow-client address '127.0.0.0/8'
set service ntp allow-client address '10.0.0.0/8'
set service ntp allow-client address '172.16.0.0/12'
set service ntp allow-client address '192.168.0.0/16'
delete service ntp server
set service ntp server time.cloudflare.com
2023-03-29 13:30:45 -05:00
# SSH server
set service ssh disable-password-authentication
set service ssh port '22'
2024-02-20 06:50:50 -06:00
2024-04-13 18:16:33 -05:00
# UDP Broadcast-Relay
set service broadcast-relay id 1 description 'Sonos'
2024-04-13 18:24:18 -05:00
set service broadcast-relay id 1 interface 'eth2.20'
set service broadcast-relay id 1 interface 'eth2.30'
2024-04-13 18:16:33 -05:00
set service broadcast-relay id 1 port '1900'
# mDNS Repeater
2024-04-13 18:24:18 -05:00
set service mdns repeater interface 'eth2.20'
set service mdns repeater interface 'eth2.30'
2024-04-13 18:16:33 -05:00
2024-02-20 06:50:50 -06:00
# TFTP server
set service tftp-server directory '/config/tftpboot'
set service tftp-server listen-address 10.1.1.1