Questions tagged [nat]

In computer networking, network address translation (NAT) is the process of modifying network address information in datagram (IP) packet headers while in transit across a traffic routing device for the purpose of remapping one IP address space into another.

Most often today, NAT is used in conjunction with network masquerading (or IP masquerading) which is a technique that hides an entire IP address space, usually consisting of private network IP addresses (RFC 1918), behind a single IP address in another, often public address space. This mechanism is implemented in a routing device that uses stateful translation tables to map the "hidden" addresses into a single IP address and readdresses the outgoing Internet Protocol (IP) packets on exit so that they appear to originate from the router. In the reverse communications path, responses are mapped back to the originating IP address using the rules ("state") stored in the translation tables. The translation table rules established in this fashion are flushed after a short period unless new traffic refreshes their state.

As described, the method enables communication through the router only when the conversation originates in the masqueraded network, since this establishes the translation tables. For example, a web browser in the masqueraded network can browse a website outside, but a web browser outside could not browse a web site in the masqueraded network. However, most NAT devices today allow the network administrator to configure translation table entries for permanent use. This feature is often referred to as "static NAT" or port forwarding and allows traffic originating in the "outside" network to reach designated hosts in the masqueraded network.

Because of the popularity of this technique (see below), the term NAT has become virtually synonymous with the method of IP masquerading.

Network address translation has serious drawbacks on the quality of Internet connectivity and requires careful attention to the details of its implementation. As a result, many methods have been devised to alleviate the issues encountered. See the article on NAT traversal.

2002 questions
0
votes
1 answer

NAT / Port Forwarding with iptables firewall

I've got the following setup: firewall (iptables) eth0 internal interface, 192.168.2.10 ppp0 external interface, public_ip (IP masquerading) server1 (192.168.2.11), service 1 (port 443) server2 (192.168.2.12), service 2 (port 443) client1…
Matthias Wuttke
  • 123
  • 1
  • 9
0
votes
1 answer

IOS Port Forwarding and NAT involving a VPN

We have a Cisco 1921 router running IOS 15.1 at one of our branches which is connected via a L2L IPsec VPN to a ASA5510 running ASA 8.2 at our headquarters. The network looks something like this: 192.168.14.0/24 - RT - Internet - ASA -…
Mtz
  • 13
  • 1
  • 5
0
votes
3 answers

IOS Nated port forwarding

I have cisco ios router with ios C1900 Software (C1900-UNIVERSALK9-M), Version 15.2(4)M1. And I have setup Nat with port overload (one public IP). And there is a static mapping: ip nat source static tcp 192.168.1.42 7780 interface GigabitEthernet0/0…
damiankolasa
  • 101
  • 3
0
votes
1 answer

Restricted cone NAT

If two hosts X and Y are connected to the Internet with NAT. Both NATs are of cone-restricted type. Now assume there's a server Z which stores all translated public addresses of X and Y. Both X and Y can get each other's translated public IP address…
sc1013
  • 113
  • 2
0
votes
1 answer

NAT/PAT port and address selection

I am currently having some issues with TCP port reused too often (under 2 minutes) for a source NAT and I was wandering what is the algorithm used to select the IP and port for a SNAT. Here is some context: I have an entire network (10.0.0.0/8, tons…
0
votes
1 answer

Apache configuration to serve pages from other local machines behind NAT firewall

I have one public IP address linked to Apache on Ubuntu through a NAT modem. How do I configure Apache to serve pages from other machines which are also behind the same NAT modem? (I do not want to make these other machines directly accessible…
Frank
  • 1
  • 1
0
votes
3 answers

Cisco 2900 configuration

I agreed to help a non-profit figure out their network woes. Nothing had been documented and the folks that set the system up aren't available. Wires were cut and left hanging. The organization has a single wireless access point--something called…
0
votes
2 answers

Cisco NAT Config for DSL

So, we've had the two weeks from hell with a Verizon DSL install -- but after four man days of our time spent, they finally have that working. But, now I'm struggling with our LAN config. In short, I have a Verizon DSL connection with 5 static IPs.…
Neil Ticktin
0
votes
1 answer

Port forward (NAT) based on domain/URL

I currently have my Time Capsule to forward all inbound requests on port 80 to my Mac Mini which runs a web server with its local ip address of 192.168.1.8. I also have DNS set up so that if I go to example.com then it will send the request to my…
Joshua
  • 123
  • 1
  • 3
  • 9
0
votes
1 answer

Getting though firewall without VPN

I am trying to control geographically remote (Android) machines using VNC. Some of these machines are behind firewalls. I was planning on putting all these machines on a VPN and being done with it. Then I could log into the VPN and be able to…
Scoop
  • 173
  • 8
0
votes
1 answer

Port forwarding behaves differently from virtual server in D-Link router?

There are two pages in D-Link router to setup access to internal network from outside: Port Forwarding and Virtual Server. Both allows to map external port to internal one, except latter page also allows to change port. I found that if I have…
Suzan Cioc
  • 251
  • 1
  • 5
  • 13
0
votes
2 answers

ASA 5505 outside access for clients with dynamically assigned IPs, no outside access for clients with static IPs

We have an ASA configured to access the internet, which works fine for clients who have an IP address assigned by DHCP, but not for clients with manually assigned IPs. For instance, with the DHCP server configured to give IP addresses between…
John
  • 1
  • 2
0
votes
1 answer

Simple failover: Use NAT? (Network Address Translation)

We have a Windows Server 2008 server which needs very high uptime. We want failover in the event we need to take it offline for some reason, ex: hardware update, software update, etc. It runs mostly FTP (and a few other less critical services). It…
SilentSteel
  • 217
  • 1
  • 11
0
votes
1 answer

Additional external IP address is not reachable when acitvating NAT

I am running a Windows Server 2008 R2 with 3 nics (2 with external IPs, 1 with internal IP). The two external IPs are associated with two web sites running on that server. The third nic is for communication with a backend server. Everything is…
0
votes
1 answer

Simple iptables port forwarding with masquerading not working

I'm trying to set up a simple VPN server on EC2 (Ubuntu 12.04) with the Android example ToyVpnServer. Its instructions: // There are several ways to play with this program. Here we just give an // example for the simplest scenario. Let us say that…
Yang
  • 1,665
  • 6
  • 21
  • 35
1 2 3
99
100