[Opensim-users] NAT and standalone opensim

ursula.matova at klintcentral.net ursula.matova at klintcentral.net
Tue Apr 8 07:54:30 UTC 2008


Hi Thomas,

I use that at Home, Standalone OpenSim, behind my "home made" firewall.
I'm not at home for now. But I'll try to remind my configuration and to give you some informations. ( And I'll check this evening if needed ).

First, I have created a dyndns entry, ( myserver.dyndns.org ) that refers to my public IP ( my Firewall public IP ),

Then, when I setup my Regions XML files : I use "server.dyndns.org" for the external IP address, and your local IP ( the one of your opensim server ) for the internal IP address.
In OpenSim.ini also update URL for ports 8001, 8002, ... 8004 to "server.dyndns.org".

Once done, 

You have to setup Firewall Rules and NAT.

My Firewall is NetBSD using IPF/IPNat.

In my IPNat config file, you have to "RDR" incoming packets from any outside to your local opensim server. Do that for ports 8000 TCP , 8001 TCP , 8002 TCP , .... 8004, 9000 UDP & TCP and for your external network card.

In order to be able to connect to your OpenSim from "Inside", you also have to add a similar line for your internal network card.

Then, you also have to add some rules for these ports in your firewall rules.

Restart everything and should work.

Sorry, it's not very clear and my english is bad this morning. :)

Let me know if it works.

Regards,

Ursula.

Mekota, Thomas (NSN - DE/Muenich) <thomas.mekota at nsn.com> a écrit :

> Hello everybody,
> 
> I'm still struggling with my standalone OpenSim and NAT.
> 
> As long as I put the external IP address in the regions file everything works fine and I can access the region.
> 
> As soon as I put in the host name (DNS entries exist) in the region file, the client starts up normally, but
> 
> stops at the 'region handshake' and tells me after the timeout unable to connect …
> 
> Within Wireshark I can see a lot of packets going back and forth until the region handshake starts.
> 
> 
> I feel very stupid right now, but does anybody have an idea where my mistake is?
> 
> 
>  
> 
>  
> 
> Mit freundlichem Gruß / Best regards 
> 
> Thomas Mekota

___________________________________
NOCC, http://nocc.sourceforge.net





More information about the Opensim-users mailing list