NAT Manager Plugin provides an ability to manage public/private IP addresses for proper working behind NAT.