Hello,
I'm developping a web server which will run behind a NAT . To make it
easy-to-use , I'd like to implement NAT traversal automatically . And
I'd like to have the web browsers outside visit my web server directly
(I mean the mapped address on my NAT,without the help of a proxy that
has a public IP,for bandwidth concern). Can I achieve that with the help
of PJNATH and just one or some STUN servers? Is the usage of PJNATH
limited to P2P applications?
--
蔡火胜
13267053475
hxcan@packetscout.com mailto:hxcan@packetscout.com
北京网探科技有限公司
You map port 80 in the NAT router to port 80 of your your web browser
and it should work. What are you trying to achieve really?
On 02/10/2012 04:46 PM, ??? wrote:
Hello,
I'm developping a web server which will run behind a NAT . To make it
easy-to-use , I'd like to implement NAT traversal automatically . And
I'd like to have the web browsers outside visit my web server directly
(I mean the mapped address on my NAT,without the help of a proxy that
has a public IP,for bandwidth concern). Can I achieve that with the
help of PJNATH and just one or some STUN servers? Is the usage of
PJNATH limited to P2P applications?
--
???
13267053475
hxcan@packetscout.com mailto:hxcan@packetscout.com
??????????
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Hi,
you can use PJNATH to traverse NAT only for UDP transports.
STUN has been designed to map UDP transports only.
You'd be able to find your public IP address by just creating a temporary
UDP socket and sending Binding request to a STUN server.
But however, you cannot find the mapped port of your web server with STUN,
since it uses a TCP socket.
Interestingly, there is something called STUN for TCP(STUNT). you can check
this http://nutss.gforge.cis.cornell.edu//libnutss/0.1.0/index.html out
instead, which might suit your needs.
Regards,
Sundar
2012/2/10 蔡火胜 hxcan@packetscout.com
Hello,
I'm developping a web server which will run behind a NAT . To make it
easy-to-use , I'd like to implement NAT traversal automatically . And I'd
like to have the web browsers outside visit my web server directly (I mean
the mapped address on my NAT,without the help of a proxy that has a public
IP,for bandwidth concern). Can I achieve that with the help of PJNATH and
just one or some STUN servers? Is the usage of PJNATH limited to P2P
applications?
--
蔡火胜
13267053475
北京网探科技有限公司
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Thank you , I'll try it .
于 2012年02月10日 18:11, Sundar Subramaniyan 写道:
Hi,
you can use PJNATH to traverse NAT only for UDP transports.
STUN has been designed to map UDP transports only.
You'd be able to find your public IP address by just creating a
temporary UDP socket and sending Binding request to a STUN server.
But however, you cannot find the mapped port of your web server with
STUN, since it uses a TCP socket.
Interestingly, there is something called STUN for TCP(STUNT). you can
check this
http://nutss.gforge.cis.cornell.edu//libnutss/0.1.0/index.html out
instead, which might suit your needs.
Regards,
Sundar
2012/2/10 蔡火胜 <hxcan@packetscout.com mailto:hxcan@packetscout.com>
Hello,
I'm developping a web server which will run behind a NAT . To make
it easy-to-use , I'd like to implement NAT traversal automatically
. And I'd like to have the web browsers outside visit my web
server directly (I mean the mapped address on my NAT,without the
help of a proxy that has a public IP,for bandwidth concern). Can I
achieve that with the help of PJNATH and just one or some STUN
servers? Is the usage of PJNATH limited to P2P applications?
--
蔡火胜
13267053475
MSN:fedcba1988@126.com <mailto:MSN:fedcba1988@126.com>
hxcan@packetscout.com <mailto:hxcan@packetscout.com>
北京网探科技有限公司
_______________________________________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org <mailto:pjsip@lists.pjsip.org>
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
What's the update on this topic. I'm pondering a similar problem.
Has anyone been successful with implementing pseudo-tcp-over-udp (either from libnice or gtalk jingle)
Please let's revive this discussion. I posted a similar question a day ago. But we can use this thread.
-Auro
From: 蔡火胜 hxcan@packetscout.com
To: Sundar Subramaniyan sundar.subramaniyan@gmail.com
Cc: pjsip list pjsip@lists.pjsip.org
Sent: Friday, February 10, 2012 2:29 AM
Subject: Re: [pjsip] TCP traversal for a web server behind a NAT , is that possible?
Thank you , I'll try it .
于 2012年02月10日 18:11, Sundar Subramaniyan 写道:
Hi,
you can use PJNATH to traverse NAT only for UDP transports.
STUN has been designed to map UDP transports only.
You'd be able to find your public IP address by just creating a
temporary UDP socket and sending Binding request to a STUN server.
But however, you cannot find the mapped port of your web server
with STUN, since it uses a TCP socket.
Interestingly, there is something called STUN for TCP(STUNT). you
can check this out instead, which might suit your needs.
I'm developping a web server which will run behind a NAT .
To make it easy-to-use , I'd like to implement NAT traversal
automatically . And I'd like to have the web browsers
outside visit my web server directly (I mean the mapped
address on my NAT,without the help of a proxy that has a
public IP,for bandwidth concern). Can I achieve that with
the help of PJNATH and just one or some STUN servers? Is
the usage of PJNATH limited to P2P applications?
--
蔡火胜
13267053475
MSN:fedcba1988@126.com
hxcan@packetscout.com
北京网探科技有限公司
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
--
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org