Iptables and forwarding
-
Bit of an unusual sitation but I have a few small rigs offshore mining pointing to a pool on my work places server. This has to change and I cannot get to the servers right now to reconfigure the miners.
I’m looking for an iptables rule that I can forward the traffic to another server I have rented and then on to a pool or p2pool.
I’m desperate to get this set up as soon as possibe to any help would be fantastic.
-
Hi There.
I’m sure someone could help. We don’t have a section for general system admin though. I would try posting in mining?
-
If the new server is on the same IP network than the old one, Check for IP-Masquerading in google or the IP-tables man pages.
Masquerading should be done on the Firewall.
If your new server is at a different site or IP network, I don’t think there is an easy solution.
If you are using host names to reach the server, make a static host entry in your /etc/hosts (linux) or hosts file somewhere under the windows directory, pointing to the new server’s ip address.