more hosts, keychain, small stuff
This commit is contained in:
@@ -5,13 +5,13 @@ dpkg-reconfigure openssh-server
|
||||
ip addr replace dev eth1 10.192.40.2/29
|
||||
|
||||
# the "southbound" interface towards all the clients that we are DHCP server for
|
||||
ip addr replace dev eth2 192.168.0.1/24
|
||||
ip addr replace dev eth2 192.168.0.254/24
|
||||
|
||||
# "eastbound" gw<->jumphost1 eth3 and 172.16.200/23 behind jumphost1
|
||||
ip addr replace dev eth3 172.16.202.32/31
|
||||
# ip route replace 172.16.200/23 via 172.16.202.33
|
||||
|
||||
echo "nameserver 192.168.0.1" > /etc/resolv.conf
|
||||
echo "nameserver 192.168.0.254" > /etc/resolv.conf
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
@@ -25,8 +25,10 @@ echo "nameserver 192.168.0.1" > /etc/resolv.conf
|
||||
/usr/local/bin/online-users.sh
|
||||
) > /online-users.txt & # ← background the whole subshell
|
||||
|
||||
(/usr/sbin/sshd -D) &
|
||||
|
||||
# launch dnsmasq (automatically backgrounds)
|
||||
dnsmasq --no-daemon
|
||||
(dnsmasq --no-daemon --log-facility=/dns.log --log-queries) &
|
||||
# dnsmasq --no-daemon
|
||||
|
||||
/usr/sbin/sshd -D
|
||||
|
||||
|
||||
Reference in New Issue
Block a user