1
0
mirror of https://github.com/Waujito/youtubeUnblock.git synced 2025-01-01 20:09:56 +00:00
youtubeUnblock/youtubeUnblock.service
Vadim Vetrov 477304ab53
Fix
2024-08-07 10:14:42 +03:00

14 lines
566 B
Desktop File

[Unit]
Description=youtubeUnblock
[Service]
StandardError=journal
StandardOutput=journal
StandardInput=null
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
ExecStart=$(PREFIX)/bin/youtubeUnblock 537
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
[Install]
WantedBy=multi-user.target