tcpdump -i eth_в_мир -vnn udp port 7777 -c 100
search --no-floppy --fs-uuid --set=root e1f33aea-1e07-4cec-9c93-9c9df153ff66
up "/etc/openvpn/route-bee.sh up"
down "/etc/openvpn/route-bee.sh down"
$ cat /etc/openvpn/route-bee.sh
#!/bin/bash
[ -x /sbin/ip ] || exit 0
case $1 in
up)
/sbin/ip route add 10.10.1.0/24 via 10.10.1.2 dev tun1 table beeline
/sbin/ip route add 10.10.1.0/24 via 10.10.1.2 dev tun1 table soyuz
;;
down)
/sbin/ip route del 10.10.1.0/24 via 10.10.1.2 dev tun1 table beeline
/sbin/ip route del 10.10.1.0/24 via 10.10.1.2 dev tun1 table soyuz
;;
esac
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
gdb /usr/sbin/apache2 -c /tmp/apache-coredumps/core \
--eval-command='set pagination off' \
--eval-command='bt full' \
--eval-command='quit' >> /tmp/apache-coredumps/gdb-bt.log