Answer the question
In order to leave comments, you need to log in
How to redirect root tracker announcers in Nas4Free?
As you know, Roskomnadzor blocked access to rutracker announcers, as a result of which trackers do not connect, distributions are "red", downloading is carried out only via DHT. On Linux, this is done with one line in the terminal:
iptables -t nat -A PREROUTING -p tcp -m tcp --dport 80 -d 195.82.146.120/30 -j DNAT --to-destination 163.172.167.207:3128
Answer the question
In order to leave comments, you need to log in
Unless announcements not on DNS initially go?
Isn't it easier to write in the /etc/hosts file in this case?
This setting is related to NAT. Are there NAT options in the Nas4Free interface?
Alternatively, the same setting can be made on the NAT of your router.
You need to do DST NAT, the colleague above answered you correctly.
On IPFW, you can try this:
${cmd} add nat 1 tcp from <local_subnet_or_IP> to 195.82.146.120/30 80
${cmd} nat 1 config if <external_interface> redirect_port tcp 195.82.146.120:80 163.172.167.207:3128 \
redirect_port tcp 195.82.146.121:80 163.172.167.207:3128
\
redirect_port tcp 195.82.146.122:80 163.172.167.207:3128
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question