#author("2023-12-30T13:11:08+00:00","default:iseki","iseki")
#author("2023-12-30T13:11:15+00:00","default:iseki","iseki")
** Patch for OpenSim in NAT(NAPT) [#k8b9a013]
- ''&font(Blue){[[日本語はここ>../Patch for OpenSim in NAT (J)]]};''
- ''&color(Blue){[[日本語はここ>../Patch for OpenSim in NAT (J)]]};''


*** Summary [#j0164da1]
- ''This patch is for OpenSim in NAT Router that has not NAT Loopback (Hairpin NAT) function.''
- For the OpenSim-0.8.1/0.8.2
- HyperGrid mode is only supported (It might works in other modes, but we have no time to validate all modes).
- It does not support all the features.
- To effect the fullest, you must apply the patch to all the servers in the grid.
- This patch rewritten core part of OpenSim. Even if malfunction of OpenSim and disappearance of inventories occur by applying this patch, ''we can't take responsibility''.
- ''&font(Red){Please use this at Your Own Risk!!};''


*** Functional restriction [#n73f1807]
- If this patch is not applied to Robust Server, you can not directory login to your own Region in NAT.
- If this patch is not applied to other Region Server, you can not teleport to your own Region in NAT from the other Region.


*** &font(Red){Attention}; [#i4a1fd9a]
- &font(Red){This Patch uses ''Token'' column of ''regions'' table of DB as to save private IP address.};


*** Download [#t409f0a7]

**** for 0.8.2 [#k212fde2]
- [[opensim_nat_0.8.2.patch>http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/OpenSim/opensim_nat_0.8.2.patch]]


**** for 0.8.1 [#icc6ae9f]
- [[opensim_nat_0.8.1-0.92.patch>http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/OpenSim/opensim_nat_0.8.1-0.92.patch]] (2015 3/27)
- [[opensim-0.8.1-nat-0.92-JOG.zip>http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/OpenSim/opensim-0.8.1-nat-0.92-JOG.zip]] (2015 3/27)
- [[opensim-0.8.1-nat-0.92-OSG.zip>http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/OpenSim/opensim-0.8.1-nat-0.92-OSG.zip]] (2015 3/27)


*** Settings [#zf455b05]

**** Regions.ini [#ec3bac23]
- Set private IP address of Server to ''InternalAddress''. Don't set 0.0.0.0
- Set domain name (FQDN) of Server to ''ExternalHostName''. Don't set SYSTEMIP or IP address.

- Example
 [Remote Test]
 RegionUUID = ccfaa21e-ed4a-4e2e-bcee-d8a3272a5fdc
 Location = 7992,8006
 InternalAddress = 192.168.27.7
 InternalPort = 9000
 AllowAlternatePorts = False
 ExternalHostName = sirius.star-dust.jp

**** hosts file [#i39a9c2b]
- &font(Red){You must describe ''hosts'' file}; that is ''at same PC with Viewer''
- Example
 192.168.27.7  sirius.star-dust.jp

- hosts file
-- Linux/Unix: /etc/hosts
-- Windows: C:\Windows\System32\drivers\etc\hosts
-- OSX: /private/etc/hosts

**** StandAlone Grid [#lbdad270]
- When setting of GridManager of Viewer, don't use 127.0.0.1. Please use FQDN in hosts file.


*** How to use in [[JOG>http://www.jogrid.net]] [#a114962a]
- Download Binary from here and describe Regions.ini and hosts file 
- Describe Regions.ini and hosts file 


*** How to use in OSGrid [#kfc2a6d1]
- Download Binary for OSGrid from here
- %%Download setting files (OpenSim.ini, GridCommon.ini, FlotsamCache.ini) from OSG%%
- Describe Regions.ini and hosts file


**** Attention [#q44e6d1f]
- As we can not apply the patch to Robust (Login) server in OSG, ''you can not log in directly to your own Region'' in the same NAT.
- ''You can not directory TP or move into your own Region'' in the same NAT from other Regions that are not applied the Patch.
- Since ''JOG Gate'' (9999,9886) has been patched,please TP to your region via the ''JOG Gate'' Region


*** How to use in your own managed grid. [#yaa1b127]
- Apply the Patch to all Servers in your own Grid. (include Robust Server)


** Bugs [#q04d4e32]

*** Go Home or Ctrl+Shift+H Bug in the OSGrid [#q6f5194f]
- In the OSGrid, if "Go Home" button or "Ctrl+Shift+H" is abnormal result from ''JOG Gate''
- Please search your Home Region and teleport to Home Region at ''JOG Gate''.
- Still when it's useless, please teleport to Home Region via ''JOGRID.NET:8002''

&ref(abnormal_return.png,40%);~


** Other Informations [#va5af4ae]

*** mechanisms [#e9eb1936]

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 ページ一覧 検索 最終更新   ヘルプ   最終更新のRSS