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

Confusion Post FedoraCore Upgrade: NAT / port forwarding trouble, and POSTROUTING MASQUERADE has unexpected influence on forwarding ports

Following a gateway / firewall system's hardware failure, a younger version of Fedora Core (17) was installed on new hardware, and the old 'iptables' and system-config-firewall files from /etc/sysconfig were used (and nothing else). Old version of…
Richard T
  • 1,206
  • 12
  • 29
0
votes
1 answer

How can I solve http_port 3129 intercept with squid?

My system: uname -a FreeBSD server.local.jmorenov.com.co 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 pkg info | grep squid squid-3.2.7 …
wmoreno3
  • 1
  • 1
  • 3
0
votes
2 answers

NAT with iptables: need help understanding

i am trying to learn NAT with iptables but i ran into some confusions. i am having two virtual machines with ips 18.43 lets say B and 18.42 C running webservers on port 80. i need to NAT every traffic coming on B:80 to C:80 (Do not want to use any…
Kevin Parker
  • 757
  • 1
  • 13
  • 32
0
votes
1 answer

Passing traffic to a service behind firewall

I am running nginx on port 8080, now I like to make it accessible from the internet, for that I open a port on my Router, next I add some rules to my PF, but a sniff from wireshark I see port unreachable: 2013-01-16 19:15:57.376545 IP…
SIFE
  • 121
  • 3
0
votes
2 answers

Multiple users can't access server's shared drive under NAT

The setup is Server -computer -computer Router -computer -computer -computer -computer If multiple computers underneath the router try to access the drive at the same time, it says the network name can't be found.
Avery3R
  • 101
  • 3
0
votes
1 answer

Strange error from apache trying to bind to an unspecified IP

I am getting a strange error message from Apache when I try to start the server . * Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name,…
blas
  • 5
  • 6
0
votes
5 answers

Any hardware/software routers that support Full Cone NAT?

i'm trying to get Teredo to function on my machine. Most routers, it seems, refuse to forward packets from any host other than the one i specifically connected to first. Teredo requires full Cone NAT in order to function. Does any router, hardware…
Ian Boyd
  • 5,293
  • 14
  • 60
  • 82
0
votes
1 answer

Apache available on LAN but get timeout over internet

I have a LAN network and a server runs on 192.168.1.90 The apache listen parameter is set to 192.168.1.90:80 I have enabled NAT to forward all http port 80 request from the web to the server at 192.168.1.90 for a different machine 192.168.1.3 I can…
blas
  • 5
  • 6
0
votes
1 answer

NAT Virtual Host setting in router not working

been working on this for past 1 week now, no break. So I have this local network with IP range 192.168.1.1 to 192.168.1.255 I have a apache server running on 192.168.1.90 on port 80 So I set up a NAT Virtual host in my router. Router setting Then I…
blas
  • 5
  • 6
0
votes
1 answer

iptables error on pptp

root@pptp [~]# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE iptables: Unknown error 18446744073709551615 This is an openVZ box. Is there a way to bypass that? This is the MASQUERADE that is giving problems I am assuming. new to iptables so…
Mike Janson
  • 277
  • 1
  • 5
  • 10
0
votes
1 answer

iptable nat forwarding

I am having three linux PCs ( A B and C )in a LAN . I want to keep A as a client and send request to B . B in turn should forward the request to C and C should return back to B and finally B to A . In short A should get the content of C through B…
Logesh
  • 11
  • 2
0
votes
1 answer

Cisco ASA 5505 - InterVLAN NAT Exemptions Implementation not working

Short version is we cannot communicate between our subnets. We have a Cisco ASA 5505 we are using for our network router. We have a Netgear L2 switch behind that with 10 vlans. Each VLAN is on its own subnet. (10.0.10.x/24, 10.0.11.x/24, etc) So…
Brandon Bearden
  • 129
  • 1
  • 1
  • 8
0
votes
2 answers

Can a NAT close out VPN connections?

I have a client running on a VPN behind a NAT. The client becomes inaccessible after a while if it is not "active". The VPN software is PPTP and the OS of the client if Debian. I'm unsure about the exact cause of what makes it inaccessible or if…
Scoop
  • 173
  • 8
0
votes
1 answer

Cisco ASA 8.2 ACL For NAT

Sadly I have gone back in time to ASA 8.2(5)33 which I am not so familiar with. I have configured NAT between two interfaces but traffic isn't passing becasue I can't get the ACL to work; (The full config which isn't very big is here but to keep…
jwbensley
  • 4,202
  • 11
  • 58
  • 90
0
votes
2 answers

NAT and NGINX on the same server

I'm setting up a VPC cluster for my collaborative todo list application www.getdoneapp.com. To have my servers on the private network I need a NAT server so my servers on the private network can connect to the internet to receive updates and what…
Morten
  • 135
  • 1
  • 4
1 2 3
99
100