I'm looking to setup iptables rules that redirects traffic (in this case, smtp traffic) to a hidden service on a different server. I've done this before with an OpenVPN connection, but now I want to be able to do so for hidden services.
The issue I'm running into is that iptables doesn't see the MapAddress IP that i set in torrc. What would be the best way of routing incoming traffic to a .onion hidden service?