Using nginx to port forward instead of iptables.

Fixes #537.