8 lines
370 B
Bash
Executable File
8 lines
370 B
Bash
Executable File
#!/usr/share/env bash
|
|
iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT --to-port 12345
|
|
iptables -t nat -A OUTPUT -p tcp --dport 443 -j REDIRECT --to-port 12345
|
|
|
|
redsocks2 -c /etc/redsocks.conf
|
|
/services/aniworlddownloader_venv/bin//aniworld --web-ui --no-browser --web-expose --web-port 3000 --output-dir /var/aniworld/downloads &
|
|
|
|
while true; do sleep 1000; done |