peer.peerBean().serverPeerAddress(serverAddress);
LOG.info("we were having the wrong interface, change it to: {}", serverAddress);
} else {
// now we know our internal IP, where we receive
// packets
final Ports ports = peer.connectionBean().channelServer().channelServerConfiguration().portsForwarding();
if (ports.isManualPort()) {
final PeerAddress serverAddressOrig = serverAddress;
serverAddress = serverAddress.changePorts(ports.tcpPort(),
ports.udpPort());
serverAddress = serverAddress.changeAddress(seenAs.inetAddress());
//manual port forwarding detected, set flag
serverAddress = serverAddress.changePortForwarding(true);
peer.peerBean().serverPeerAddress(serverAddress);
peer.peerBean().serverPeerAddress().internalPeerSocketAddress(serverAddressOrig.peerSocketAddress());