NATPTransport is a transport for Unity Mirror. NATPTransport using relay server to punch through NAT.
- TCP
- UDP (Coming soon)
- SSL (Coming soon)
- WebSocket (Coming soon)
$sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft- prod.rpm
$sudo yum install dotnet-sdk-3.1
$cd /home/user/NATP_Server
$dotnet build
$nano /home/user/NATP_Server/NATP_Server/App.config
- External_IP_Address: Server external IP address
- Port: Server listening on
- Users: List of users have authority to create room on server
$/home/user/NATP_Server/NATP_Server/bin/Debug/netcoreapp3.1
$sudo ./NATP_Server
- Import Mirror
- Import NATPTransport.unitypackage
- Use NATPTransport as transport
- Input the public IP address (server external-ip), User/Password (added in App.config)
- Input room tag
- enjoyed