Questions tagged [nat]

Network Address Translation (NAT) is a method of connecting multiple computers to the Internet (or any other IP network) using one IP address.

Network Address Translation (NAT) is a method of connecting multiple computers to the Internet (or any other IP network) using one IP address.

NAT is also known as IP masquerading.

RFC 2663 - IP Network Address Translator (NAT) Terminology and Considerations

1160 questions
12
votes
2 answers

Python UPnP/IGD Client Implementation?

I am searching for an open-source implementation of an UPnP client in Python, and more specifically of its Internet Gateway Device (IGD) part. For now, I have only been able to find UPnP Media Server implementations, in projects such as…
oparisy
  • 2,056
  • 2
  • 16
  • 17
12
votes
4 answers

How do I make a TCP server work behind a router (NAT) without any redirection configuration needed

The scenario is the following. I have two machines A and B: A: Client (behind NAT) B: Server (behind NAT) I want B to be able to listen on any given port, so that A can send packets to B through that specific TCP port and receive any response. If…
Chetane
  • 240
  • 1
  • 3
  • 10
11
votes
2 answers

Bridge Network on Docker vs Bridged Network on VMWare/VirtualBox seems to be very different. Why?

TL;DR - Why does Docker call it's default networking as Bridge Networking when it seems to be a lot like NAT Network. Let start by looking at how - 1) VMWare or VirtualBox handles networking for virtual machines. Say the Host IP is some random…
samshers
  • 1
  • 6
  • 37
  • 84
11
votes
2 answers

How to make 2 clients connect each other directly, after having both connected a meeting-point server?

I'm writing a toy meeting-point/relay server listening on port 5555 for two clients "A" and "B". It works like this: every byte received by the server from the firstly-connected client A will be sent to the secondly-connected client B, even if A…
Basj
  • 41,386
  • 99
  • 383
  • 673
11
votes
2 answers

How to do port forwarding on VMWare Player 14.1.2 (Ubuntu 18.04 guest, Windows 10 host)?

I have a VMWare Player (14.1.2 build-8497320) running a Ubuntu 18.04 guest on a Windows 10 host. The Ubuntu guest has a LAMP stack that runs a few web applications. I am using NAT to connect the Ubuntu guest to the Windows host's network. I can…
ARV
  • 6,287
  • 11
  • 31
  • 41
11
votes
1 answer

Make a connection between two computers behind NAT

I'm trying to establish a connection between two computers behind NAT. I can't open any port. I would like to use a broker who will be on the internet and who will be able to communicate with the two others. After, I would like to establish a tunnel…
Mathieu Lepage
  • 159
  • 1
  • 5
11
votes
1 answer

UDP/TCP hole punching vs UPnP vs STUN vs?

I try to make a P2P Program and need help with getting through the NAT of the clients. I have read many questions here on stackoverflow, but i never got what the drawbacks and benefits of all the Methods to get through a NAT are. How many routers…
user2422196
  • 297
  • 3
  • 13
11
votes
3 answers

How to bypass firewall and NAT with reverse SSH Tunnel

I'm trying to generate an SSH server in a machine behind a router. First I tried to bind the SSH to my public IP address: ssh -R 10002:localhost:22 Then I'm prompted with a password request, however my username password doesn't seem to…
rfc1484
  • 9,441
  • 16
  • 72
  • 123
10
votes
4 answers

Can I use kafka over Internet?

Is kafka suitable for Internet-use? More precisely, what I want is to expose kafka topics as "public interface", then external consumers (or producers) can connect to it. Is it possible? I hear there are problems if I want to use the cluster in both…
ntysdd
  • 1,206
  • 2
  • 9
  • 19
10
votes
1 answer

How to connect to peers in obtained from bittorrent

I'm looking to build a bittorrent client in Ruby (although language is not important over here). I read a BEP specification which says querying at /announce (without DHT support) to tracker would give a list of peers currently connected for a given…
Ratatouille
  • 1,372
  • 5
  • 23
  • 50
10
votes
1 answer

For how long a router keeps records in the NAT and can they be reused forwarding requests from other hosts?

There is an answer explaining in simple terms how a router works translating requests from the local network to outside and back (https://superuser.com/questions/105838/how-does-router-know-where-to-forward-packet) what is not clear - for how long a…
alex.49.98
  • 609
  • 5
  • 13
10
votes
3 answers

SIP registration using Ozeki SDK not working

i'm trying to build a simple VoIP application using c# so i found that the Ozeki SDK is the simple way to do that but when i'm trying to registration SIP account using the SIPAccount class from the Ozeki SDK and my local IP it fail always and this…
Fadi
  • 2,320
  • 8
  • 38
  • 77
10
votes
2 answers

Connect to HBase running in Docker

I cannot connect to HBase running in Docker on Windows (banno/hbase-standalone image). However, I can connect to locally installed HBase. banno/hbase-standalone image is run using: docker run -d -p 2181:2181 -p 60000:60000 -p 60010:60010 -p…
Maksim Sorokin
  • 2,334
  • 3
  • 34
  • 61
10
votes
3 answers

Communicating directly between two mobile devices

I'm mostly interested in a general answer for mobile, but something android specific would be acceptable. Given 2 mobile devices, how can I get a connection between them. I'm new to mobile development, and I'm not sure what kind of NAT mobile…
Cruncher
  • 7,641
  • 1
  • 31
  • 65
10
votes
4 answers

Android: NAT Traversal?

It appears to me that newer Android devices run behind a NAT, where the local address is an internal carrier or LAN address and the public address is the router or carrier assigned external address. Nevertheless, newer phones don't return the same…
bgroenks
  • 1,859
  • 5
  • 34
  • 63
1 2
3
77 78