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.

learn more… | top users | synonyms

0
votes
1answer
2k views

iptables forward rule not working in openwrt

I am trying to apply some iptables forwarding rules in openwrt. Here is my scenario - My server has two cards ath0 and br-lan. br-lan is connected to internet and ath0 to private network. The other ...
0
votes
1answer
129 views

Adding Multiple Interfaces to EC2 Ubuntu 12.04

I have a m1.medium Ubuntu 12.04 instance with two ENI's. I have a VPC setup with a private and public subnet. Private: 10.50.1.0/24 Public: 10.50.101.0/24 I initiated the instance on the private ...
0
votes
1answer
373 views

Issue with Nginx, http authentication and dynamic IP address

I am trying to get Nginx as a reverse proxy to authenticate users performing inbound http requests. My ISP provides me with a dynamic IP. I am not sure how to configure my ADSL router (NAT rules). ...
0
votes
1answer
97 views

Iptables & NAT retain original destination IP?

I've got a webfacing server that I've chopped up into guests, one of which is running apache with some pretty basic virtualhost config. I have redirection working, but my virtualhost config needs the ...
0
votes
1answer
560 views

Asterisk behind a firewall

we have a bit a sticky problem on our Asterisk server, which we are struggling to resolve, I'm hoping someone with more knowledge than me can help. We are running Asterisk 1.8.23.0 on Centos 6.4 and ...
0
votes
1answer
652 views

How do I configure routing from host system to virtual machine?

I have an Ubuntu host system that is running a MAC-VLAN virtual interface on top of eth0 interface, ipv4 routing is enabled. Also, this system has a Docker (LXC) container running: docker0 Link ...
0
votes
1answer
245 views

Forwarding everything from external DMZ ip to NAT ip using iptables

I know there are a lot of questions about this, but I still struggling to get it working. I have a firewall which has 3 external IPs. (IPs have been changed randomly for security) eth0 Link ...
0
votes
1answer
203 views

EC2 VPC without NAT?

Is it possible to have an EC2 VPC with a public subnet and a private subnet, but without having to have a NAT box? The servers on the private network would not need to talk to the outside world, just ...
0
votes
1answer
191 views

RRAS NAT Monitoring

I was wondering if I could monitor my RRAS (VPN) users TCP connection.I don't want to sniff data, however I need to log TCP port numbers and timestamps as well as corresponding users and local ...
0
votes
1answer
182 views

Natting / Port forwarding in cisco FWSM

I have requirement to PAT two different public IP [same port] to single load balancer local IP [VIP] in different ports using a Cisco FWSM. Ex: static(LB,outside) 10.0.0.1 www 192.168.100.1 8282 ...
0
votes
1answer
533 views

Running iptables NAT prerouting on second eth interface with different subnet

The situation: I need clients to be able to hit an HTTP server running on eth1 interface on a Linux box on port 8080. I don't want the clients to have to do anything special and I don't want to give ...
0
votes
1answer
159 views

Server Hosted at Data center Internal IP address on hyper-v guest OS

I have a hosted server that’s located at a data center that I pay for monthly (www.liquidweb.com). The server is running windows server 2012 standard. The server is used to host a SQL database and a ...
0
votes
1answer
127 views

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 ...
0
votes
1answer
857 views

IPTABLES nat maintaining source IP address with CSF

We have been using CSF on a virtualized (OpenVZ) environment successfully for a while combining venet and bridged interfaces so we can use public IPs + local addressed virtual systems. Kernel IP ...
0
votes
1answer
671 views

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 ...
0
votes
1answer
125 views

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. ...
0
votes
1answer
346 views

iptables POSTROUTING not working in local area

I used command iptables -t nat -I POSTROUTING -o $INTERFACE -p tcp -j SNAT --to-source $IP to make my server packets visible as $IP. But the problem is, that it didn't work inside local area, so ...
0
votes
1answer
245 views

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 ...
0
votes
1answer
475 views

Assign multiple IP addresses in NAT mode to the same VM

I'm aware that VirtualBox assigns the same IP to different VMs (by default 10.0.2.15), however I have a case where I have a VM with a single vNIC, and a Linux namespace inside the VM attempts to get ...
0
votes
1answer
139 views

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 ...
0
votes
1answer
61 views

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 . ...
0
votes
1answer
300 views

windows server 2008 nat routing

I have a server running Windows Server 2008 R2 with one Intel physical interface supporting VLANs. There are basically four tagged VLANs: three local ones (192.168.20.0/24 [tag: 20], 192.168.30.0/24 ...
0
votes
1answer
515 views

Virtualbox NAT 22 to 22 fail (HOST port 22 has no program listening)

I am using virtualbox 4.1.16 on a Ubuntu 12.04 x64 vm host and all NAT is working properly, like HOST 2222 -> Client 22 But I have changed my HOST sshd to listen on port 81 and restarted, so host ...
0
votes
1answer
488 views

asterisk far end nat traversal not working

We use a obfuscation software to encrypt/mangle both SIP/RTP which sits before asterisk. What happens is sometimes we don't get any voice. after some "rtp set debug" we found out that when received ip ...
0
votes
1answer
640 views

How to NAT virtual interfaces

I've created a virtual interface in Ubuntu with the following: sudo ifconfig eth0:0 192.168.1.99 netmask 255.255.255.0 up Now I need to be able to ping from the new virtual interface. ping -I ...
0
votes
1answer
686 views

Connecting to SQL Server Express 2008 behind a NAT

First off, apologies in advance for any misuse of networking terminology - I'm definitely not a networking guy. I'm renting an instance from Amazon's cloud and want to have it connect to my SQL ...
0
votes
1answer
342 views

PFSense new network, NAT and Firewalling

We have a PFSENSE installation with a few physical interfaces defined: 192.168.1.0/24 - LAN 192.168.2.0/24 - WIFI 192.168.3.0/24 - SERVERS 10.61.88.0/23 - New Requirement..... read on The new ...
0
votes
1answer
338 views

how to NAT site to site VPN web traffic?

I have 2 Cisco routers and they are connected via GRE over IPsec. All of the traffic from the first router is being routed to the 2nd router with a default route. I need to access internet from the ...
0
votes
1answer
445 views

How are NAT rules processed in Vyatta?

I am setting up a Vyatta router to replace my pfSense box that died. As I setting up the NAT rules I am not sure how they are processed. Are Vyatta's NAT rules processed in the order of the list ...
0
votes
1answer
499 views

iptables and NAT/port forwarding not working after server reboot

I'm new to NAT and iptables, I have my physical server running CentOS 6 with KVM installed, 2 more linux box is started as VM - VM2 and VM3, and their ip is 192.168.122.2 and 192.168.122.3 ...
0
votes
1answer
251 views

Connect networks with identical IPs via iptables+NAT: selecting outgoing network interface

I want to allow connectivity between two hosts which reside on two different networks. Each network is individually managed, so they may have conflicting IPs. My understanding is that NAT is the ...
0
votes
1answer
415 views

Cisco routers “loopback”

I have Cisco RV220W. I have configured with NAT, and its working good from outside. (From WAN) But when I is on LAN-side, and visit my ip-address, for instance http://83.213.21.32:80 I am beeing ...
0
votes
1answer
532 views

How to NAT a 192.168.x.x corporate domain on a Cisco ASA to not conlict with VPN remote users LANs

I'd successfully configured an IPSEC VPN as per this question:- How to disable dns doctoring for IPSEC VPN connections for ASA 5510 However I ran into the problem that remote users are often on a ...
0
votes
1answer
102 views

How do I prevent natd from accessing a specific external address?

I'm using Little Snitch, and it's telling me natd is accessing tonix.sytes.net (a torrent tracker) every second or so. I have been unable to backtrace which program is making the call, and if I ...
0
votes
1answer
56 views

Mail not sending on Server 2008 using NAT between 2 NIC's

I recently moved from a svr2003 domain to a new 2008 domain. The setup I had below allowed internet and also smtp configured in outlook to go via 192.168.1.1 nic 1 192.168.1 - wan sn 255.255.255.0 ...
0
votes
1answer
210 views

CISCO PAT 2 different outside ports, on one ip-address, to 1 inside port on one ip-address

I have a problem with our new corporate CISCO ASA5510 firewall. With our old firewall it was possible to do the following PAT: outside -> inside 1.1.1.1:22 -> 192.168.1.2:22 1.1.1.1:443 -> ...
0
votes
1answer
258 views

Trigger iptables masquerade before reaching service on gateway?

I have a STUN service running on the same machine that is the gateway for the LAN, I would like the results from the STUN service be the same for both internal and external machines. Currently since ...
0
votes
1answer
484 views

RDP to Windows XP guest on kvm constantly reconnecting after logon

ISSUE I have, after some days of "hard" work, managed to correctly configure kvm on a Centos 5.5 host. I have 2 VM running successfully. Since I only have one public IP address (for the kvm host) I ...
0
votes
1answer
421 views

After NAT how to setup VPN in windows server 2008 r2?

We have one windows server 2008 R2 with about 10 Hyper-V virtual machines. We've used wizard that comes when you enable RRAS to setup NAT, so that virtual machines can connect to internet (and to ...
0
votes
1answer
408 views

How do I fix Hyper-V Guest OS connectivity problems through RRAS/NAT?

I have a Hyper-V host machine with NAT set up for my guest virtual machine. At a client site, the host connects to a wireless network through a cert (and then there's a proxy to access the extranet). ...
0
votes
1answer
157 views

Using twice NATTing and dns_Alg

I am trying to use twice nat along with dns_alg to support a framework, and take its measurements. I have a private network 192.168.0.0/24 this network contains www,dns,dhcp etc for its own ...
0
votes
1answer
108 views

Restrict NAT in IOS to only one public IP

I've managed to enable port-forwarding on my Cisco 877 but I wasn't able to find a way to specify a single accepted IP from the outside. Any link to a Cisco documentation or commands to type in IOS ...
0
votes
1answer
117 views

Routing + NAT for two laptops

I have two PC's (two laptops). In one of them (on the laptop) installed Linux Mint 9. It has two interfaces (WAN via Cable and LAN via Wi-fi). I want to configure routing in it to provide access to ...
0
votes
1answer
241 views

How to connect to Wi-Fi device through another machine available through VPN?

We are developing app for device named iTach WF2IR, but we doesn't actually have that device, we will get one in 4 weeks or so. Meanwhile, we should make demo for that device in a week. So we decided ...
0
votes
1answer
761 views

ipnat.conf - map and rdr won't work!

I can't put my mind around it, before reboot I was able to ssh in from outside to my jail and right now I can't! I even rebuild the whole system and even that didn't help:( anyone have any ideas? ...
0
votes
1answer
285 views

Connections fail routinely from the internet to a ADSL router doing NAT

I have a Comtrend ADSL router that routinely fails to sustain connections via NAT (I try HTTP and SSH) to a machine in its internal network. I can connect for, say, half an hour and then the ...
-1
votes
1answer
26 views

Need help configuring NAT

First of all, the router I am using is a Cisco WRVS4400N. My company runs a software which handles the MySQL database of all of their products. The software now has an e-commerce module, so I have ...
-1
votes
1answer
87 views

can anyone show me how can i fix error with my NAT config

Can anyone help me with my packet tracer problem? My network 2 buildings (each building has 3 vlans) on the same side and it has 2 sides, between is internet. I finish with DHCP and now I try to ...
-1
votes
1answer
3k views

How do I set a static IP for a virtualbox guest that has a network adapter configured for NAT?

I am running Ubuntu 12.04 as a VirtualBox guest, but I'm having trouble configuring a static IP. I have the network adapter configured for NAT, because I can't assign static IPs on my Universities ...
-1
votes
1answer
271 views

iptables NAT Forward 443 Port DNAT,SNAT failing

I'm trying to setup a proxy server that handles http and forwards https to the webserver. Client > Proxy > httpd I added the rules: iptables -t nat -I PREROUTING -i eth1 -p tcp -m tcp --dport ...