This repository has been archived on 2022-02-20. You can view files and clone it, but cannot push or open issues/pull-requests.
bash-shell-network/238.kebler.net/function/gateway

14 lines
282 B
Bash

#!/bin/bash
# commands that run on 238 gateway router
function rdns() {
module_load ssh
ssh 238gater 'systemctl restart dnsmasq'
}
function ednsproxy() {
module_load ssh
ssh 238gate '/bin/bash -e "nano /opt/dnsmasq/proxy.238.kebler.net"'
#ssh 238gate 'cd /opt/dnsmasq/; ls -la'
}