Questions tagged [nat-traversal]

NAT traversal is a general term for techniques that establish and maintain Internet protocol connections traversing network address translation (NAT) gateways.

NAT traversal is a general term for techniques that establish and maintain Internet protocol connections traversing network address translation (NAT) gateways.

SOCKS is the oldest NAT traversal protocol.

Read more about NAT traversal at Wikipedia..

72 questions
1
vote
0 answers

fastest way of sending messages to clients from a server

I want to make an application that sends thousands of messages per second. These would be very small messages only a few characters each but also would be very rapid potentially 10-20 per second per client. The messages will be sent only from the…
Nick Red
  • 396
  • 3
  • 17
1
vote
2 answers

c# being done with a remote computer sending and receiving data using stunserver

I can not send data stunserver remote computer using the two. Data comes from local computers, but data on remote computers is not going to come. I'm using my program, stunserver public void run() { UpdateText("Now Listening.."); …
mcvater
  • 11
  • 3
0
votes
1 answer

PHP, Java Servlet, or C# WebService as NAT Intermediary Server

Instead of renting a server on Amazon and other hosting companies (which would cost many dollars / month), is it possible to setup a Java Servlet, C# WebService, or a simple PHP website (with socket or whatever networking functionalities PHP has)…
Jason
  • 6,878
  • 5
  • 41
  • 55
0
votes
2 answers

Live Peer to Peer Swarm

If I have a client application running on multiple internet connections (behind routers and such) who connect to a server. Lets say there are 5, and 3 of them are told about the existence of each other by the server, could those 3 connect to each…
topherg
  • 4,203
  • 4
  • 37
  • 72
0
votes
0 answers

Easy way to transfer data globally in a Peer-to-Peer network using C#

Since a few weeks I am desperately trying to create an application that can transfer data in a peer to peer network, among other things. After trying multiple libraries (as mentioned below) I never had any success. There were either problems with…
D1i2m3
  • 3
  • 3
0
votes
0 answers

C# TCP NAT traversal using STUN

I'm trying to make NAT Traversal using STUN (https://stunprotocol.org/) As I understand, I need to follow these steps: Bind TCP Client to some local port Connect to STUN, receive external IP & Port Start TCP server at the same local port, without…
Andrew
  • 129
  • 9
0
votes
0 answers

BitTorrent / P2P NAT Traversal?

I am using Transmission BitTorrent client and Retroshare from behind a NAT firewall with port-forwarding/UPnP disabled. However, I still seem to be able to accept incoming connections with these programs, and I am curious how this is possible. In…
DBear
  • 312
  • 2
  • 9
0
votes
0 answers

How to implement UDP Hole Punching?

So I am trying to create a p2p file sharing application in Golang. I am running a globally accessible server for the purpose of sharing IP addresses of 2 clients. When both the clients have each other's IP addresses, they can use hole punching to…
0
votes
1 answer

Shellhub connect to device using SSHID

I have installed shellhub and configured the ssh port to 2222 for shellhub because i have ssh-server running on port 22 i tried to connect to one of my devices using its SSHID using the command bellow : ssh mgpu@mgpu.e8-39-35-30-bc-a9@myshellhub.com…
Abderrazzak Nejeoui
  • 1,496
  • 12
  • 9
0
votes
1 answer

Open network, unable to connect to my devices (two linux laptops and Android smartphone, ), preferably SHH

I will be staying at a hotel with open wifi for some time. My main laptop (Linux Mint 19.3) has a keyboard problem needing replaced as many keys are not working. In the meantime, I would like to connect to my main laptop through SSH with an…
th0m
  • 1
0
votes
0 answers

P2P multiplayer android NAT traversal solutions/libraries?

I'm writing a multiplayer android game, in which the reliability of connection between peers doesn't matter, as the only multiplayer aspect of it is informative (each group of players get the same puzzle ad the P2P connections are used to inform…
0
votes
0 answers

Direct Client-Server connectivity between two devices with CG-NAT

I want to connect two devices that are in different locations but connected to internet, a computer running windows 10 and a smartphone android. The application is a simple UDP socket to transmit data between them, but I have different…
rul3s
  • 332
  • 1
  • 2
  • 18
0
votes
3 answers

Is it possible to force a source port on a NetConnection?

I'm new to ActionScript, but I'm trying to decipher a pre-existing project and make some modifications as I go. I have a section of code that starts with creating a new NetConnection and then streaming a media file from an external source. I see in…
jocull
  • 20,008
  • 22
  • 105
  • 149
0
votes
5 answers

Need help for udp hole punching

Hey I'am working on a project to create a p2p network in java. I have built the n/w using UDP for the local lan and I am working on sending the UDP datagram across the internet. I came across this concept called UDP hole punching but cannot seem to…
anonymous123
  • 1,271
  • 6
  • 19
  • 43
0
votes
1 answer

run shell script on client remotly from server

I have one server and multiple clients. The server wants to run shell script on each device it wants to. Absolutely it's not possible via simple socket because we may have thousands of devices. Also server and devices should be always connected via…
Beaumind
  • 876
  • 1
  • 6
  • 13