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
0answers
117 views

CentOS 6.6 ignores iptables nat rules

I try to use iptables nat to forward incoming TCP traffic to another computer. I use following rules within nat table: -A PREROUTING -i eth3 -p tcp -m tcp --dport 8888 -j DNAT --to-destination ...
0
votes
1answer
88 views

c7200 IOS 15.x-x NAT/PAT issue

My problem may be just finger trouble, but after fighting with this for a day on what should have taken 5mins, I am getting fustrated. I am not Cisco Certified at any level, just a fair amount of ...
1
vote
2answers
92 views

TCP traffic on port 1433 blocked by NAT rules

We have a SQL server that is hosted on AWS, the SQL server it not directly accessible on the internet, it relies on a NAT box to route traffic to it. We are trying to set up a Linked SQL server from ...
1
vote
0answers
52 views

iptables keeps using old nat rules

I use iptables snat on my gateway to change local source ip addresses to external. The trouble is that after I change the rules (or even if I flush iptables nat table) gateway keeps using the old rule ...
0
votes
2answers
112 views

PFSense IPSEC VPN VLAN

We are integrating with a third party and they require the use of a L2L IPSec VPN for communication. I have successfully configured the IPSEC vpn and the tunel is up but now I cannot seem to have ...
0
votes
2answers
77 views

SIP Trunk for VOIP behind a SonicWALL

I appreciate this question is quite "out-there" but - has anyone had any success with VOIP over SIP behind a SonicWALL. We are having an issue with one-way audio inbound. Essentially, the person ...
1
vote
1answer
246 views

Which SSL certificate would I need for external AND internal domain names?

This is a school-network. Official (outside reachable domain name) is bgschwechat.ac.at (www.bgschwechat..., mail.bgschwechat... and ftp.bgschwechat..) Internally the windows domain is named ...
0
votes
0answers
34 views

L2TP daemon server multiple IP

I have VPS with 3 public IP - Debian 7. I would like to have 3 L2TP damemons (one ip each) NATing traffic to each ip. Something like this l2tp_multiple_public_ip_diagram. I have set up l2tp daemon for ...
1
vote
2answers
76 views

NAT-ing with iptables rewrites source IP in logs

I have the following infrastructure in place: internet [outside 81.x.x.x] router [inside 192.168.1.1] | [network 192.168.1.0/24] ...
1
vote
2answers
138 views

router: ping fails at specific time for 40 seconds

my network looks like this: ISP cable --- ISP modem/router (2 in 1) \ \--- my router --- wifi connection --- computer 1 \----------- cable connection ...
0
votes
0answers
90 views

iptables, outside and inside NAT; Return traffic going out incorrect gateway

Overview (TL;DR at bottom) I have a third party firewall/proxy appliance which is running Linux (Ubuntu), and its routing and firewall engine is backed by iptables and the Linux (source)routing ...
0
votes
1answer
59 views

Windows Server as a PPTP Gateway

I have a Windows Server 2012 server at work, which is currently used as a domain controller, and an internet gateway. The current internet connection uses a USB dongle, which appears like a standard ...
0
votes
0answers
166 views

FortiGate 310B public ip pool into internal port

I have a FortiGate 310B with WAN port with /27 public IP pool from the ISP. The WAN port is configured with primary IP 1.1.1.1/27 I would like to provide servers within the Internal port a public IP. ...
0
votes
0answers
180 views

Cisco ASA firewall blocking requests to internally hosted DNS server

I have a DNS server behind a Cisco ASA firewall. The Cisco firewall is performing NAT. When inside the network, I can NSLOOKUP directly to the server. When the client is external, requests time out. ...
-1
votes
2answers
53 views

Reaching Local Network which is under NAT with no public IP

I have a place called (lets say) REMOTE. REMOTE is connected to the Internet using 3G/4G Modem + Router. Unfortunately my mobile Internet provider does not give me public IP address. In REMOTE I have ...
0
votes
0answers
57 views

NAT and S2S VPN to Azure issue

I can connect to the VNet with on-premise WS2012 R2 RRAS S2S VPN connection successfully. The on-premise WS2012 R2 has two NICs, "External" and "Internal". "External" NIC is facing to a public IP ...
0
votes
0answers
37 views

NAT and DMZ Cisco ASR 1001

OHAI got weird situation on my two Cisco ASR 1001. First one is WAN router, the other one is CORE distribution inside the office. So I've got one public IP on my WAN, and got this particular line: ...
0
votes
0answers
82 views

Change source IP for packet incoming in VPN tunnel

The following configuration allows me to change the source IP from 192.168.0.0/24 to 172.16.0.100 when hosts going to 10.0.0.100 and it works. But I can't achieve this goal for the hosts incoming from ...
0
votes
1answer
90 views

Cisco IOS - Problems with NAT and port forwarding

I have a problem forwarding ports. I have configured a NAT pool of 1 address (192.168.5.2) and assigned that address to the WAN interface. I assigned networks to the access-list, and bind the two ...
4
votes
1answer
129 views

Forwarding a port on the loopback interface to a remote IP/port

I have two Docker containers that I'm trying to network together in a specific way. Container A is running a Redis server on port 6379. Container B is running an interactive shell and needs to access ...
1
vote
1answer
192 views

AWS public subnet autoscaling group with outbound NAT

I have seen this question : Static IP address for outgoing traffic from AWS autoscaling group but it doesnt seem to fit exactly what im trying to do. Here's the scenario: I have a autoscaling ...
2
votes
2answers
184 views

iptables drops packets after POSTROUTING

I have a malware analysis environment that will intercept traffic to arbitrary domains and Internet services using InetSim. I have a sandbox that has its DNS server set to the InetSim instance, and ...
1
vote
2answers
42 views

Trying to use source routing on two different interfaces

I have defined the following rules: -A POSTROUTING -j SNAT --to-source [publicip] -A POSTROUTING -j SNAT -d 192.168.0.0/24 --to-source 192.168.0.6 Basically, I want only the private network to go ...
3
votes
5answers
300 views

Router limits network performance but its CPU load isn't 100%

I'm using a PC Engines APU device running FreeBSD as a NAT router. The setup is very usual: one WAN connection and one LAN connection. Theoretically, WAN connection is 800/40 Mbit/s and the LAN one ...
2
votes
3answers
159 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
78 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 ...
1
vote
2answers
190 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
221 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
32 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
1answer
222 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
57 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 ...
1
vote
1answer
173 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
41 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
35 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
276 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
118 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
36 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
232 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
98 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
1k 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
1answer
149 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
397 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
352 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
50 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
962 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
68 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: ...
0
votes
0answers
168 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
206 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
71 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
52 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 ...