Build Agent not connected using VPN

Hi there.
I run Teamcity 7.1 as a war-file using a tomcat server on a linux machine.
On my Macbook I have installed a build agent.
When I am at home everything works fine; the agent on my macbook pro is recognized by the teamcity installation.
When I am outside my home, I use VPN to connect my macbook with my home network. That also works fine, I can use any services from outside. Though I get a different IP for my macbook, but I thank that is ok. The thing is, that teamcity does not recognize the build agent that is installed on my macbook.
I already checked my router and I added TCP and UDP Port Forwarding for Port 9090, and when I telnet my dynamic dns (xxx.dyndns.org) with port 9090 it 'connects' in the terminal, but nothing happens.
When I read the log files of the build agent, it seams that the agent can establish a connection to the teamcity server, but the way back, from the teamcity server to my agent, seems not to work. I configured the buildagentProperties like:

#Generated properties (see buildAgent.dist.properties for description)
#Mon Aug 27 11:03:09 CEST 2012
name=macag
ownPort=9090
ownAddress=xxx.dyndns.org
serverUrl=http://www.myteamcityserver.de:8009/teamcity/
workDir=/Users/adriangrund/Development/buildagent/work
tempDir=/Users/adriangrund/Development/buildagent/temp
#User defined properties
#Mon Aug 27 11:03:09 CEST 2012
authorizationToken=faketoken
env.TEAMCITY_JRE=/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
systemDir=../system



Any ideas? Thank you a lot.

Please sign in to leave a comment.