Remember to enable UPnP on your router!
go get -u github.com/DeNetPRO/turbo-upnp
import upnp "github.com/DeNetPRO/turbo-upnp"
//initializes internet gateway device
device := upnp.InitDevice()
// forward port
description := "test"
port := 9999
device.Forward(port, description)
// close port
device.Close(port)
// get your public ip
ip := device.PublicIP()