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
18
votes
1 answer

virtualbox: what is the difference of --natdnsproxy1 and --natdnshostresolver1?

The virtualbox documentation did not explain it clearly. https://www.virtualbox.org/manual/ch09.html 9.11.5. Enabling DNS proxy in NAT mode The NAT engine by default offers the same DNS servers to the guest that are configured on the host. In some…
osexp2000
  • 2,910
  • 30
  • 29
18
votes
2 answers

How can I know if my computer is behind NAT?

I'm trying to understand NAT (Network Address Translation) . Can someone explain how can I determine if my computer is using a NAT (behind a NAT) , or if it using its own IP address ?
JAN
  • 21,236
  • 66
  • 181
  • 318
17
votes
2 answers

AWS best practice: shall I have a NAT gateway in each AZ?

Since NAT gateway only have redundancy within a single AZ, if I want to have a public/private pair of subnets in every AZ for the purpose of multi-AZ redundancy, I should have a NAT gateway in every AZ, shouldn't I? Otherwise, if I have only one…
user788454
15
votes
1 answer

Do I need a separate NAT gateway for each private subnet?

On AWS, let's say I have 3 private subnets in 3 different AZs and I want all of them to be able to access the internet through a NAT gateway. AWS guides suggest having separate NAT gateways and bastion hosts for each subnet (assuming they're needed…
lfk
  • 2,423
  • 6
  • 29
  • 46
15
votes
6 answers

VMWare - Virtual operating system static IP address

What is the best way to have a virtual operating system have a static IP address in VMWware. I would like to keep the IP address static since it is a virtual server.
Daniel Kivatinos
  • 24,088
  • 23
  • 61
  • 81
15
votes
4 answers

How is 'Inbound NAT rules' different from 'Load Balancing Rules' different from each other in Azure Load Balancer v2

Can someone explain to me what actually happens in the back-end to the load balancer (v2) for the two scenarios: Applying Inbound NAT rules. Applying Load Balancing Rules.
Ajov Crowe
  • 459
  • 3
  • 8
  • 17
14
votes
3 answers

Setup Cloud NAT for public GKE clusters

I'd like to setup a NAT gateway, using Cloud NAT, so that VMs/Pods in a public GKE cluster use static IP addresses. The issue I'm facing is that the NAT gateway seems to only be used if VMs have no other options, i.e: GCP forwards traffic using…
Sylvain
  • 3,202
  • 5
  • 27
  • 27
14
votes
2 answers

Why do we need a Private Subnet + NAT translation in AWS? Can't we just use a Public Subnet + a properly configured security group?

So the purpose of private subnets in AWS is for its instances to not be directly accessible from the outside world. There are however cases (successfully resisted the 'instances' pun) in which it's useful for the instances to have access to the…
13
votes
3 answers

UDP, NAT and setting up "connections"

I know the word "connection" isn't really appropriate when talking about UDP, but... How does a server (the one with the known IP) get its UDP packets through the Internet to a client that is behind NAT? For example: say a client connects and…
chardy
  • 1,233
  • 1
  • 10
  • 18
13
votes
2 answers

CodeBuild cannot find the 0.0.0.0/0 destination for the target internet gateway

I've been struggling with this for hours. So, I created my VPC, along with 4 different subnets. The first three are attached to a regular Internet Gateway. The last one is attached to a NAT Gateway (with 0.0.0.0/0 as Destination). My CodeBuild…
Marian Busoi
  • 1,047
  • 2
  • 9
  • 17
13
votes
3 answers

UDP Holepunching behind NAT

I am trying to implement a simple sketch of UDP-Holepunching in Java to test it's concept and use it in my C/C++ application later on. Concept: As from Wikipedia I understood the concept as this: Let A and B be clients behind an undefined…
Prior99
  • 619
  • 5
  • 13
12
votes
1 answer

Alternative to AWS Lambda + NAT gateway

Quickly introducing my scenario: I have a VPC that contains an API Gateway that redirects its calls to my Lambda functions and then they access both an RDS instance and external API calls (internet access). How it's structured Due to the fact that…
Guilherme Matuella
  • 2,193
  • 1
  • 17
  • 32
12
votes
1 answer

Twilio WebRTC TURN relay randomly stops working after a few minutes

I am using the Twilio Network Traversal Service as part of a native application I am working on to perform peer-to-peer remote desktop connections. We implement a subset of the WebRTC protocol stack that is equivalent to the WebRTC data channels…
awakecoding
  • 428
  • 5
  • 15
12
votes
2 answers

Behind NAT to behind NAT connection

I've come across an interesting problem. Basically I have 2 mobile phones that are both behind NATs. I want to communicate directly between the 2 devices using UDP. I know if I initiate a connection from the phones to a server then I can push data…
Goz
  • 61,365
  • 24
  • 124
  • 204
12
votes
4 answers

What percentage of users are behind symmetric NATs, such that "p2p" traffic needs to be relayed?

We're implementing a SIP-based solution and have configured the setup to work with RTPProxy. Right now, we're routing everything through RTPProxy as we were having some issues with media transport relying on ICE. If we're not mistaken, a central…
Newy
  • 38,977
  • 9
  • 43
  • 59
1
2
3
77 78