Use ICE through the Internet

Hello guys. I'm starting to use ICE. I would like to know how is it possible to use ICE Middleware in different LAN. I suppose that in the same LAN, there is no problem at all. But, how can I use a Server and a Client in different LAN and still work?

I was reading the Manual, and I saw the Hello World example. I'm pretty sure that in different LAN it might not work. What do I have to change in the code to make it work?

When your client and server are on separate networks, you may have one or more firewalls between them, and sometimes routers doing NAT. In this case, you'll need to configure these firewalls to allow Ice communications to go through. For more information on firewall and NAT traversal with Ice, see: