[2024-12-06 00:37:54] ERROR [Network] Unable to connect to https://mikanani.me/RSS/MyBangumi?token=xxxxxx Please check your network settings
[2024-12-06 00:37:54] WARNING: [Network] Failed to get torrents: https://mikanani.me/RSS/MyBangumi?token=xxxxxx
我有一台国外的linux远程主机,网络应该没问题,但不懂如何设置,问gpt学了一下
先下载squid
sudo apt update
sudo apt install squid
配置squid文件
sudo nano /etc/squid/squid.conf
添加以下内容
acl localnet src 0.0.0.0/0
auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive on
acl authenticated proxy_auth REQUIRED
http_access allow authenticated
http_access deny all
http_port 3128
然后创建账号密码
sudo apt install apache2-utils
sudo htpasswd -c /etc/squid/passwd user
[2024-12-06 00:37:54] ERROR [Network] Unable to connect to https://mikanani.me/RSS/MyBangumi?token=xxxxxx Please check your network settings
[2024-12-06 00:37:54] WARNING: [Network] Failed to get torrents: https://mikanani.me/RSS/MyBangumi?token=xxxxxx