yes but there is one thing
so probably he got wrong answer
eg.
which means he is using some proxy or other things returng html code instead ip addr
Bash:
setcfg rtorrent bind_interface_public_ipv4_addr \$(\
curl -sL --connect-timeout 2 --interface \\\", (cfg.interface.bind), \\\" http://ipinfo.io/ip || \
curl -sL --connect-timeout 2 --interface \\\", (cfg.interface.bind), \\\" http://obj.qnapclub.pl/app/net/ip.php || \
curl -sL --connect-timeout 5 --interface \\\", (cfg.interface.bind), \\\" http://icanhazip.com || \
curl -sL --connect-timeout 5 --interface \\\", (cfg.interface.bind), \\\" http://ipinfo.io/ip || \
curl -sL --connect-timeout 10 --interface \\\", (cfg.interface.bind), \\\" http://obj.qnapclub.pl/app/net/ip.php || \
curl -sL --connect-timeout 10 --interface \\\", (cfg.interface.bind), \\\" http://ifconfig.co || \
echo -n 127.0.0.1) -f /etc/config/qpkg.conf \
&& echo -n $(getcfg rtorrent bind_interface_public_ipv4_addr -f /etc/config/qpkg.conf)\\\
eg.
Bash:
curl -sL --connect-timeout 2 http://ipinfo.io/ip
Similar threads
- Question
- Replies
- 3
- Views
- 1K
- Replies
- 2
- Views
- 1K
- Replies
- 2
- Views
- 1K
- Replies
- 10
- Views
- 3K
Users search this thread by keywords
- forum
- wireguard
- rtorrent.conf
- qnapclub