PFSense(Opnsense) zapret
скопировано отсюда, но изменено для себя pkg-static clean -ay; pkg-static install -fy pkg pfSense-repo pfSense-upgrade pkg update && \ pkg install git nano mkdir /opt && \ git clone https://github.com/bol-van/zapret.git /opt/zapret cp /opt/zapret/binaries/freebsd-x64/tpws /usr/local/sbin && \ chmod +x /usr/local/sbin/tpws rm -rf /opt/zapret Скрипт для запуска nano /usr/local/etc/rc.d/tpws && chmod +x /usr/local/etc/rc.d/tpws #!/bin/shSERVICE_NAME=”tpws”SERVICE_CMD=”/usr/local/sbin/tpws”pidfile=”/var/run/${SERVICE_NAME}.pid”is_service_running() { pgrep -f […]