From: Sébastien V. <vi...@cl...> - 2009-09-10 05:11:23
|
Hi, In order to test TurnServer in a real environment, you have to build a testbed. You need 3 PC (1 turnserver, 1client and 1 peer). But for a quickly test, you can use only one PC with all programs. You can use the src/test_client_* as client programs and src/test_echo_server as peer program. First copy extra/turnserver.conf.template to extra/turnserver.conf, configure turnserver.conf, (setup listen_address / listen_addressv6) and run turnserver. Then run src/test_echo_server 8086 (8086 will be the listening echo server port). Finally run src/test_client_udp client-addr turnserver-addr peer-addr peer-port (replace *-addr by correct value, it accepts IPv4/IPv6 address or DNS name). If you run all programs in single computer, you have to do (suppose your address is 192.168.0.1) [Terminal 1] src/turnserver -c extra/turnserver.conf [Terminal 2] src/test_echo_server 8086 [Terminal 3] src/test_client_udp 192.168.0.1 192.168.0.1 192.168.0.1 8086 src/test_client_tcp 192.168.0.1 192.168.0.1 192.168.0.1 8086 Note if you want to use TLS you have to create SSL certificate and setup turnserver.conf accordingly Regards, -- Sebastien Vincent Srikanth Rajagopalan a écrit : > Hi, > > Could someone help me with how to test if the TURN server is working > with the test scripts given. I have only used STUN as of now and would > like to make sure it can work as a relay. > > Thanks, > Srikanth Rajagopalan > > > ------------------------------------------------------------------------ > See the Web's breaking stories, chosen by people like you. Check out > Yahoo! Buzz > <http://in.rd.yahoo.com/tagline_buzz_1/*http://in.buzz.yahoo.com/>. > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > ------------------------------------------------------------------------ > > _______________________________________________ > Turnserver-users mailing list > Tur...@li... > https://lists.sourceforge.net/lists/listinfo/turnserver-users > |