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

2
votes
3answers
22 views

Cisco ASA NAT - internal host see its public ip

I have a server hosted by a provider which uses Cisco ASA to do nat. The problem I have is that the internal server that is nat-ed with a public ip will see its public ip as source ip. This basically ...
0
votes
0answers
31 views

Chaining two containers with docker

I have two containers that I have chained them together, so traffic that comes to container 2, first passes by container 1. I set container 2 --net=none. Host --- Container 1 --- Container 2 this is ...
0
votes
0answers
28 views

Router to Firewall to Internal network NAT with Single Public IP [migrated]

In an effort to learn more about networking I have picked up some old Cisco equipment for home use. I have a 2811 router, a PIX 515e firewall, and a switch (don't remember the model). My incoming ...
-1
votes
1answer
23 views

Don't have access to the internet through L2TP/IPsec VPN [on hold]

I'm trying to setup a VPN for my personal use. I followed this tutorial and everything is fine. made a connection in my client using shared key and L2TP/IPsec, it can connect to the server, and I can ...
1
vote
2answers
34 views

NAT a single IP using 2nd WAN Internet

I have a mikrotik RB750 (6.22) acting as a gateway for my LAN. Here is the basic configuration: Ether1-WAN1 (1.1.1.10/24) IPs are hidden for privacy Ether2-WAN2 (2.2.2.20/24) Ether5-LAN ...
0
votes
0answers
34 views

Why can't I SSH to this AWS NAT instance in a public subnet?

For experimentation purposes, I’m trying to setup an AWS EC2 inside a VPC that has both public and private subnets as described in this tutorial. However, when I try to SSH in step #2, it fails ...
0
votes
1answer
19 views

How to find how a port has been forwarded from main server to hypver v vm

I must appologise for being a novice in server administration but I have somehow been given the responsibility and I have spent a long time reading up on this. The issue I have is that the previous ...
0
votes
0answers
6 views

OpenVPN on Windows: clients don't see network behind server [migrated]

I set up my openvpn server on Windows 7 pc. Client is connecting to server succesfully, so my port is forwarded to openvpn server. I'am able to ping 10.8.0.1 address from client. And that's all, but I ...
0
votes
0answers
38 views

Use Openswan / IPSec on Ubuntu server to connect to existing Openswan VPN - NAT broken

I have an existing Openswan VPN, all working fairly well with Windows, Mac and Phones. [Office 192.168.0.0/24]---[VPN A.B.C.D]----[Internet]---[Home Routers (NAT), Dynamic IPs]----[Workstations] Now ...
0
votes
1answer
22 views

iptables port forwarding from public ip but not from 127.0.0.1

i have an issue with my network setting and i need a port forwarding a bit advanced. I need : - All packets that arrive on my public_ip on port 54321 to be forward on port 12345 but i don't want any ...
0
votes
0answers
34 views

Asterisk behind NAT sets wrong Contact Header

I'm using SIP with asterisk 13.1.0 behind a statically configured NAT. The servers private_ip differs from the public_ip, where I can reach it. I've already set these options in the sip.conf file. ...
0
votes
2answers
33 views

Port forward for SSH works to one system but not another

I have two systems sitting on a NATed network. When I forward port 22 to system A, I am able to connect directly. When I forward port 22 to system B, I am not able to connect. I am, however, able to ...
1
vote
1answer
29 views

IP forwading amazon ec2 another server IP

I use this command in windows azure (NAT), to redirect all requests to another server with other IP iptables -t nat -A PREROUTING -i eth0 -d 10.240.154.15 -j DNAT --to-destination 192.188.47.63 ¿ ...
1
vote
1answer
41 views

How to forward ports to DMZ using iptables and separate modem

I have a network that looks like this: ADSL VLAN 2 VLAN 3 ------[Modem]----------[firewall]----------[intranet PC] | | ...
0
votes
1answer
39 views

Linux firewall, ADSL bonding, two default routes

I am trying to set up a Linux firewall (ubuntu 14.04) to use two bonded ADSL lines for load balancing purposes. I found by searching the forum link to this: ...
0
votes
1answer
26 views

Is there any solution to change the source IP from outgoing WAN A to receiving WAN B?

I am configuring a office router for crossing the GFW in China. I want to use WAN A(actually a low bandwidth VPN tunnel) only to send package to target servers (YouTube for example). And change the ...
1
vote
1answer
25 views

How to make connections answer from the same gateway they entered in RouterOS?

I have a MikroTik RouterOS 6.23 device, and my network is as follows: Router | |-- bridge1_LAN (wlan1 + ether1) (192.168.0.210) -- LAN (192.168.0.0/24) | Here is where computers are. Those ...
0
votes
2answers
49 views

iptables: static ephemeral port maps

I have a VPN on my Linux server which does IPv4 NAT, example: iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -s 10.8.0.0/24 -j ACCEPT iptables -t nat -A ...
0
votes
1answer
71 views

NAT doesnt work on CentOS 7(Firewalld)

I have configured nat to make my CentOS 7 into a router. I have used firewalld to do this. But unfortunately it doesnt work. I have no idea which causes the issue. I tried the same configuration in ...
0
votes
0answers
4 views

Can not connect home network devices from internet // Cablecom deferring my requests [migrated]

I reciently moved to Switzerland. I was trying to set my home network configuration as I'm used to (SSH Access to my box, VPN Server, ...) I did the configuration on the router and I was even able to ...
0
votes
1answer
50 views

Possible for Socket communication between 2 internet-connected GSM modems?

I have 2 internet-connected 4G modems connected to 2 separate computers and I'd like to send/receive data between them with sockets (UDP) using the modems' packet-switched 4G Internet connection, not ...
1
vote
1answer
60 views

NAT Rule changes from ASA software 8.0 to 8.4

I have an Access Rule and a NAT rule that works fine with on the Security Appliance Software Version 8.0 The rule is as follows: However, I am having trouble making the same rule work on an ASA ...
0
votes
0answers
67 views

Set up pfSense on AWS VPC?

I am attempting to setup pfSense as a nat box for internal servers on a VPC. I have followed the guides posted for configuring access and have followed the AWS instructions for setting up and ...
0
votes
0answers
22 views

Reverse proxy server that accepts connections from HTTP server - does it exist?

I'm the developer of an embedded hardware device which contains a lightweight HTTPS server. The problem is that I wish for the embedded device's web server to be accessed from outside when placed ...
0
votes
2answers
112 views

NAT to two different servers on the same port via hostname with Mikrotik RB2011

I have a Mikrotik RB2011 router, running RouterOS which connects to the internet via a static IP. In my lan I have two different servers, one that is on IP 192.168.89.11 and another on 192.168.89.12 ...
0
votes
0answers
21 views

Microtik router intervlan routing with NAT

I have setup as below: MTik Router RB450G(ether1) --> (fa0/1) Cisco Switch (fa0/2) --> Maipu Router, Internet Router MTik Router(ether2) --> My PC In fa0/1 , there are two VLANS trunked: ...
1
vote
0answers
24 views

Inbound redirects using ProxMox to NAT VM not working

I have configured ProxMox on a Hetzner Root Server. Its configured using their image under "Virtualisation". Once it was installed I could create a VM and its configured using NAT. This server gets an ...
0
votes
0answers
65 views

Amazon VPC NAT performance problems

I have a set of servers inside an Amazon VPC, whose job is to get image files from S3 and process them. The S3 downloads would frequently stall, sometimes for over 2 minutes, but all would eventually ...
0
votes
0answers
55 views

OpenVPN server cannot ping client (routing/iptables issue?)

I am not sure exactly where the issue is here. I'm fairly sure that this is some NAT or iptables issue on the OpenVPN server but am lacking the networking know-how to fix the issue. The crux of the ...
1
vote
1answer
47 views

Expose a machine on the far side of a VPN

We're using a VPN to connect a remote office to our main office, and a machine in the remote office needs to expose port 22 to the outside internet. Complications: The main office has a fixed IP ...
0
votes
0answers
23 views

Blindly bridging wireless client with MAC NAT

This is the usual "I want to bridge wifi with ethernet" question, but I need something specific here. My Linux box has a wlan0 interface which is in station mode, with MAC aa:aa:aa:aa:aa:aa, and a ...
0
votes
1answer
22 views

getting to server on internal network with the external address

I have a network behind a nat with exchange server. Mobile device are configured to access exchange using its real address (the single ip that the entire office hides behind) When the mobile device ...
0
votes
0answers
40 views

ASA 5515-X: Policy based NAT for dedicated uplink

We have bought a Cisco ASA 5515-X and we have the following scenario. Current situation: GigabitInterface 0/0, IP via DHCP, ISP1, Coax, 100M up / 12M down, medium latency GigabitInterface 0/1, ...
-2
votes
1answer
31 views

Why Use a NAT Instance? [closed]

Consider the following VPC: Public subnet with app servers and a separate NAT instance. Private subnet with database server. What benefits do we gain by using a stand alone NAT? EDIT: Why use ...
0
votes
0answers
21 views

Routing and RAS with multiplice public IP-Adresses

I have two public ips, e.g. (1) = 111.111.111.1111 and (2) = 222.222.222.222 on one NIC of a Windows Server 2012 R2 Server. I'm using "Routing and RAS" to forward some ports by NAT rules to Hyper-V ...
1
vote
1answer
28 views

Apache presents wrong certificate when accessed via load balancer [duplicate]

I've got a server that has two SSL certificates set up, one for internal access where it is accessed along the lines of host.my-local.net and other for external access where it is accessed similar to ...
-2
votes
2answers
27 views

Could I have 2 nat on vpc [closed]

There is a vpc on amazon that has two subnets. The outer one has internet access and the inner one using NAT server to connect to internet. Inner subnet have plenty of servers for development and ...
3
votes
1answer
113 views

Internet access from private VPC subnet?

My brain is a little bit fried trying to figure this out but I can't seem to get private subnets to connect to the internet to grab updates for example. Basically all I want is web access for these ...
1
vote
3answers
109 views

Forward Traffic in & out, NAT iptables

I have a box setup as DHCP Server with NAT ipv4 forwarding enabled. Currently the box uses eth0 to connect to a local network and has access to the internet, it has another 3 interfaces, eth1, eth2 ...
0
votes
1answer
55 views

Cisco static NAT not working on LAN side

I have a web server in my private network that has the ip address 192.168.1.134. I need to allow users to access this web server from both the internet and the private network. The public ip address ...
2
votes
2answers
446 views

OpenWRT Barrier Breaker - Router does not route

I've upgraded my TP-Link 1043 router to OpenWrt 14.07. Everything is perfect, Wifi and LAN are bridged, LAN machines can access each other by name, I can SSH into the router, and the router can access ...
1
vote
1answer
60 views

Force Cisco ASA to change source port NAT

I have a 2 devices, a Cisco ASA and sitting behind it another device. Both the Cisco and the other device have IPsec tunnels but to different locations. I need to ensure that the source port of the ...
3
votes
2answers
380 views

Amazon EC2 VPC: NAT instance download speed performance drop

I have a set of servers inside Amazon EC2 in VPC. Inside this VPC I have a private subnet and a public subnet. In the public subnet I have set up a NAT machine on a t2.micro instance that basically ...
0
votes
2answers
63 views

How to redirect a packet with iptables that match a certain pattern? (eg a QUERY command with UDP)

I have a certain packet that I want at all times to be redirected to a specific ip on my virtual network interface. As for now my iptables is setup like this: (the commands, I use \ as for now to ...
0
votes
1answer
32 views

How to route an IP Whitelist to one VM and all other to a second VM on proxmox?

Is it possible on linux to have a whitelist of IP's that are allowed to reach a specific VM on the internal NAT? eg (public ip (proxmox) --> My VM for whitelisted IP's (192.168.0.1)), and if the ...
2
votes
2answers
327 views

Make CentOS 7.x a port forwarding NAT device

I would like to make CentOS a port forwarding NAT machine using iptables. This is the first time I've tried this and I think i might need a little help. This is the configuration i'm trying to ...
1
vote
1answer
66 views

Are iptables prerouting (DNAT) packet changes visible to subsequent chains?

I was reading Rusty Russell's NAT Howto when I came across this section: 6.2. Destination NAT This is done in the PREROUTING chain, just as the packet comes in; this means that anything else on ...
1
vote
1answer
193 views

My iptable rules do not allow VPN connections

I have installed OpenVPN on my Archlinux server and modified my iptable rules to allow incoming traffic on port 1194 and forward it to the tun0 interface. When I disable/stop the iptables, the OpenVPN ...
1
vote
1answer
176 views

AWS EC2 Ubuntu 14.04 Instance smtp port forwarding from 25 to 2025

I am trying to step up port forwarding from port 25 to port 2025 on the same AWS EC2 Ubuntu 14.04 instance using iptables. I am using port 2025 to receive income emails using Alfresco. The first step ...
3
votes
2answers
168 views

Static public IP issue on Cisco ASA 5512x

This is our scenario: We have an Cisco ASA 5512x and we have 2 different Internet connections from different ISPs connected with it. ISP A is being used for the users browsing traffic(normal ...