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
7
votes
2 answers

How to achieve double NAT port forwarding via upnp programmatically

I am trying to achieve double NAT working with UPNP. My PC connection is as follows: Internet -> Router 1 -> Router 2-> PC I have successfully done port forwarding on the Router 2, but not able to do on router 1. Due to which packets from the…
Pawan Kumar
  • 231
  • 4
  • 11
7
votes
2 answers

What are the best options for NAT port forwarding?

I'd like to make it easy for users to forward a port on their NAT to their local machine for my C++ app. I'd like to make this work on OSX & Windows. Linux would be a great bonus, but Linux users are probably more comfortable forwarding ports…
twk
  • 16,760
  • 23
  • 73
  • 97
6
votes
4 answers

udp hole punch and port restricted cone NAT

I would like to understand how udp hole punching works when two hosts each behind the port restricted cone NAT establish connection. As I understood, it happens in several stages and involves three hosts. Host A and host B are behind the port…
Art Spasky
  • 1,635
  • 2
  • 17
  • 30
6
votes
2 answers

TCP hole punching on iPhone

I have done a bit of reading, and although I'm new to iPhone networking I was wondering if a TCP hole punch is possible for connecting two iPhones through NAT. I also read some helpful things about uPnP and hairpinning but I'm not to familiar with…
Skyler
  • 63
  • 1
  • 5
6
votes
1 answer

How to IP whitelist a Kubernetes cluster

So I have a kubernetes cluster running in Google Cloud. And from pods inside the cluster I need to access an external DB which has IP whitelisting configured. It seems that I need a static, shared IP for the cluster's outgoing traffic, what's the…
xiaolong
  • 3,396
  • 4
  • 31
  • 46
6
votes
1 answer

Using a static IP for both ingress/egress in Kubernetes

I have a program which I'm trying to run in a Kubernetes cluster. The program is a server that speaks a non-standard UDP-based protocol. The protocol mostly consists of short request/reply pairs, similar to DNS. One major difference from DNS is that…
6
votes
1 answer

Best practices for .Net WCF NAT Traversal

I'm looking for suggestions or a solution for peer-to-peer NAT traversal in .Net. Say I have a chat application and two clients need to connect but both are behind NAT: For home scenarios, uPNP is probably ok since only a cable modem or consumer…
znelson
  • 919
  • 1
  • 10
  • 24
6
votes
2 answers

Vagrant/virtualbox no SSH connection and timeout (Windows)

I a trying to setup this machine: https://github.com/ByteInternet/hypernode-vagrant When I do vagrant up i get following error: Timed out while waiting for the machine to boot. Full context of the error: $ vagrant up Bringing machine 'hypernode' up…
Akif
  • 398
  • 9
  • 22
6
votes
1 answer

AWS: Security Group to allow access internet-facing Load balancer to be accessed from private instances

My question is an extended version of this. In my case the security group has to restrict the access to Load Balancer 1. It has to have some white listed IPs. So, which IPs can I put here that can allow access of Load Balancer 1 from Auto Scaling…
6
votes
1 answer

Create Tcp connection for clients behind NAT

Which software libraries does exist for such task for Linux, Windows OS? Does it exist some info in RFC how people should do it? I'm interesting how can I create functionality for my C++ project like presented here in that software:…
Konstantin Burlachenko
  • 5,233
  • 2
  • 41
  • 40
6
votes
2 answers

ftp access from AWS VPC private subnet behind a NAT instance

I have created a VPC with public and private subnets on AWS. All app servers are in private subnets and all outbound requests have to be through an internet-facing NAT instance. At the moment, our project requires the app servers to access a ftp…
Sebastien Liu
  • 121
  • 1
  • 5
6
votes
1 answer

How to implement NAT traversal using STUN/ICE on my Raspberry Pi

I am trying to setup an implementation on my raspberry pi that is able to break through behind NAT routers so that I can connect to it remotely regardless of which network it is residing behind. I've tried out pagekite.me which is great as a…
David C
  • 3,659
  • 5
  • 34
  • 46
6
votes
0 answers

iOS objective c socket p2p connection with peers behind NAT

I have to implement socket communication in iOS (Objective-C) between two peers located behind NAT (in different networks). Are there any techniques allowing me to achieve this? Basically I 'm looking for some STUN, TURN implementation, that would…
Leonid
  • 603
  • 2
  • 7
  • 13
6
votes
4 answers

HLS(HttpLiveStreaming) vs RTP(Real-time Transport Protocol) on UDP for mobile P2P?

I'm testing Audio/Video P2P connection between mobile devices. Studying WebRTC, I've noticed NAT traversal(uses STUN server) and UDP-hole-punching is the key to make P2P possible. On the other hand, I've noticed HLS(HttpLiveStreaming) on iOS devices…
user1028880
6
votes
1 answer

Virtualbox -- configuring two VMs to talk to each other / host and internet

Host: Windows 7 running lastest VBox + Extension pack Vm1: lubuntu 3.10 Vm2: Ubuntu server 12.04.3 Problem: Can't get VMs talk/ping each other AND ping the internet at the same time NAT: VMs have same IP, using ping/ssh is like checking…
user1922732
  • 69
  • 1
  • 4