ใคร มี ip จริง ว่าง สักตัว 2 ตัว ช่วย ลอง set STUN server หน่อย ครับ
preechaaesanan
Posted : 2007-11-14 21:35:21
ศิษย์น้อยฝึกวิชา
Sex :
Post : 173
สมาชิกลำดับที่ : 1916
รบกวน หน่อยครับ
ติดตั้ง ที่
/usr/ports/net/stund
---->setting up <-------------
Setting Up a STUN Server for Using with SIP Server
1. Introduction
~~~~~~~~~~~~~~~~~~~~~~
This document introduces an example of setting up a STUN server for use with the OnDO SIP Server.
2. Installing a STUN server on a Linux Server
~~~~~~~~~~~~~~~~~~~~~~
Start a STUN server
a) If the machine has two public IP addresses (2 NICs), issue the command
#./server -h IP_address_1 -a IP_address_2 -b
b) If the machine has only one public IP address, issue the command
#./server -h IP_address -b
Note: It is better to have two IP addresses (2 NICs) on the server so that UAs can know the NAT type correctly that they use. But having only one IP address seems to be enough for the UAs to know its global IP address and port number that the NAT opens for them.
IP : (222.123.144.63)
kittipong
Posted : 2007-11-15 10:02:42 IP : (125.25.50.125)
กำหนดตัวเดียวก็ได้นี่ครับ ลองดูหรือยัง
Comment : 1
preechaaesnana
Posted : 2007-11-15 10:29:10 IP : (222.123.136.33)
ไม่รู้ จะ config port มัน ตรงไหน สั่ง Run ก็ ไม่มี อะไร โชว์ ให้เห้น ว่ามันกะลัง ทำงาน ที่ผม ทดสอบ ด้วย DDNS นะครับ
Comment : 2
kittipong
Posted : 2007-11-15 12:27:38 IP : (125.25.50.125)
สั่ง ps -ax | more ดูครับว่าเห็น process ของ stund หรือเปล่า ถ้ามีแสดงว่าทำงานแล้ว
ส่วนเครื่อง sip client ก็ให้กำหนด stun มาที่ ip ของ เครื่องเซิร์ฟเวอร์นั้น เท่านั้นเองครับ
Comment : 3
little
Posted : 2007-12-09 10:03:40 IP : (202.91.19.204)
ผมติดตั้งแล้วตรงขั้นตอน #./server -h IP_address_1 -a IP_address_2 -b มันขึ้นว่า command not found ครับ
Comment : 4
kittipong
Posted : 2007-12-09 18:45:03 IP : (192.168.1.64)
IP1 และ IP2 เป็น ipaddress ครับ ไม่ใช่คำนั้น
Comment : 5
little
Posted : 2007-12-09 22:37:20 IP : (202.91.18.204)
ขอบคุณครับอาจารย์ ผมลองใส่ IP address ดูแล้วครับแต่ก็ยังไม่ได้อ่ะครับ ยังขึ้นข้อความ
./server: Command not found.
รบกวนอีกครั้งครับ
Comment : 6
kittipong
Posted : 2007-12-10 09:20:33 IP : (117.47.94.88)
ก็ใน directory ที่คุณทำงานอยู่ไม่มีไฟล์ server ครับ ตามที่ error เขาบอกนั้นล่ะ