2024-07-22 07:55:05 +00:00
|
|
|
[Unit]
|
|
|
|
Description=youtubeUnblock
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
StandardError=journal
|
|
|
|
StandardOutput=journal
|
|
|
|
StandardInput=null
|
2024-08-05 22:00:32 +00:00
|
|
|
ExecStartPre=iptables -t mangle -A OUTPUT -p tcp -m tcp --dport 443 -m connbytes --connbytes-dir original --connbytes-mode packets --connbytes 0:19 -j NFQUEUE --queue-num 537 --queue-bypass
|
2024-07-22 07:55:05 +00:00
|
|
|
ExecStart=$(PREFIX)/bin/youtubeUnblock 537
|
2024-08-07 07:14:42 +00:00
|
|
|
ExecStop=iptables -t mangle -D OUTPUT -p tcp -m tcp --dport 443 -m connbytes --connbytes-dir original --connbytes-mode packets --connbytes 0:19 -j NFQUEUE --queue-num 537 --queue-bypass
|
2024-07-22 07:55:05 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|