Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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.

0
votes
2answers
43 views

Is it possible to add FQDN to Server behind NAT or to a NAT itself?

I have multiple identical servers behind a NAT. I use the same IP and just change up the port to move between the server via port forwarding.The issue is that i am using self-signed certificates and ...
0
votes
1answer
29 views

Linux GRE Tunnel: Remote Address parameter

The Linux GRE tunnel as two parameters, local address and remote address. Suppose I have two routers, the left one is outside of a NAT and right one is inside NAT, then I want to create a GRE tunnel ...
0
votes
1answer
67 views

iptables Source NAT with Multiple NIC & Public IP Addresses Not Working

I just have a problem on the multiple NIC & IP addresses server. I've configured my Cent OS 7 server with an additional public IP address which belongs to eth1. When iptables source NAT enabled, ...
0
votes
1answer
24 views

ubuntu route traffic to specific remote port via another host

There are three servers: A, B and C. C exposes a service on port 8080 and a firewall rule allows connections from B only. I need to set up A and B so that A can access C too, through B. Please note:...
1
vote
0answers
30 views

iptables stopped translating DNS packets?

# iptables -t nat -S ... -A PREROUTING -d 217.xxxx/32 -p tcp -m tcp --dport 53 -j DNAT --to-destination 10.x.x.9 -A PREROUTING -d 217.xxxx/32 -p udp -m udp --dport 53 -j DNAT --to-destination 10.x.x.9 ...
0
votes
0answers
4 views

How can I trace an IP address (ipv4 or ipv6) back to my home network? [migrated]

I am trying to see if my Netflix account has been hacked. I can see the IP addresses that are streaming from the account. However, I'm not sure how to trace the IP address to see the source. I'm ...
0
votes
0answers
49 views

NAT with Hyper-V Internal switch: VM can't communicate with other machines

I have a machine running Windows Server 2016. The machine is hosting a Hyper-V VM, also running Windows. I would like to give the VM access to the network (i.e., connect to other machines on the ...
-1
votes
1answer
70 views

Can not NAT from IP routed via VPN

I have a linux server running Centos7 that uses a VPN to route to a public IP homed in a remote network. I want to NAT from an IP address on that remote network to a local subnet over a VPN connection ...
0
votes
0answers
54 views

Docker container hits iptables to proxy

I have two VPSs, first machine (proxy from now) is for proxy and second machine (dock from now) is docker host. I want to redirect all traffic generated inside a docker container itself over proxy, to ...
0
votes
1answer
36 views

Multiple Asterisk Servers Behind Single NAT

I'm debugging an issue we're having with VoIP SIP registration. After looking at packet dumps, I think the issue results from 2 subnets accessing the same web service and the router not knowing how to ...
0
votes
0answers
47 views

Is the Inside Global IP address the same as the Public IP Address? [NAT TABLES, Public IP, Private IP, Inside Global Address]

Is the Inside Global IP address the same as the Public IP address? Private IP addresses assigned to each device are translated using NAT to a Public address. Is that public address the same as the ...
0
votes
0answers
26 views

PfSense double nat and opening ports with ISP modem

At the office we I have a router/modem from my ISP which cannot be used in bridge mode, unfortunately. So I'll have to work with double NAT. Setup: (82.xx.xx.xx "wan" - ISP modem/router - 192.168.2....
0
votes
1answer
40 views

What is NAT port of an IP address?

I received a request from police to provide all available data of one of the users of my dating website. So, I sent them IP address, connection times, email address. Then I got another email with a ...
0
votes
0answers
38 views

pfsense and virtual IP addresses

I'm quite new to pfsense and network configuration in general, so I'm sorry if the question is too simple. I'm trying to set up an IPSec connection to a client machine, and to assign a hostname to a ...
0
votes
0answers
34 views

OpenWRT map-e configuration for DHCPv6?

Does anybody have an example OpenWRT MAP-E configuration that works with DHCPv6 provisioning? There is an example for a MAP-T from Cisco (using the Google cached page as the Cisco link seems down now):...
0
votes
1answer
28 views

iptables NAT for Dockerized VPN Server

I want to setup a vpn server on my VPS using Docker. Many VPN servers like OpenVPN need firewall NAT rules and other firewall rules to work. as official documents suggests: You may have heard ...
0
votes
1answer
83 views

End-End Encryption on SSH passing though 'untrusted' jump servers

I need to SSH between 2 "clients", both behind CGNATs, by using a third party server as a jump. This use case has been covered on this site already but: How do I make it so the SSH traffic is not ...
0
votes
0answers
58 views

IPsec with NAT between pfSense and Fortigate - no ping or access from both sides

We have an IPsec VPN tunnel with NAT between pfSense 2.3.4 and Fortigate up and running. The local networks are the same (overlapping), so we use NAT. pfSense is managed by us and Fortigate by a ...
0
votes
0answers
14 views

Debian IP Tables NAT Public To LAN And Vice Versa

I would like to perform NAT on packets leaving eth0 interface to go to ip 198.51.100.8 except those going to ip 192.0.2.4 I have come up with this: iptables -t nat -A POSTROUTING -s 192.168.0.17 -o ...
1
vote
1answer
27 views

Windows 98 routing issue [closed]

I have following network setup: Main router connecting to internet, with LAN address 192.168.1.254 Secondary router connected to first router, with LAN address 192.168.2.1 I have two PC's connected ...
0
votes
1answer
18 views

Forward port through VPN but keep source IP

I want to forward a port from my raspberry Pi to a server reachable through a VPN. I also want to be able to see the client IP from the server. The setup looks something like this: ...
1
vote
1answer
45 views

Should I put my DHCP Server on Bridged, Host Only or NAT?

For a project of school we have to build a Windows Server 2012 R2 Server on VMWare Workstation 14.0 that should serve as a DHCP Server. The DHCP Server should only be able to connect with his hosts ...
0
votes
0answers
40 views

1-1 NAT addressing on a Moxa EDR-810

I've been trying to configure one of these routers for a couple of weeks. I'm new to the configuration of routers, I've only set up 1 before this so its not going too well (Took me 2 weeks just to get ...
0
votes
1answer
57 views

Understanding routing with dual WAN

Ok, this might sound a little confusing but I will try to describe it nonetheless: I have in my LAN two routers that are running a HA-CARP setup connected to two DSL WAN lines. The CARP works as ...
1
vote
0answers
37 views

pfSense : How to do 1:1 NAT to server hosted at remote location linked through IPSec tunnel

We have 2 data centers at 2 different locations and are moving our services from location A to B without interruption. Both location have a PFSense Firewall configured with IPSec tunnel between each ...
0
votes
0answers
48 views

VPN point-to-point without open/forward port, is it possible?

Actually I have a software that is client-server based and running throught a VPN. The server is a computer and the client is an Android device, both running OpenVPN. Is there any way to do this ...
0
votes
0answers
35 views

Proxmox internet via NAT issue

This is the standard setup for NAT? So my VM's behind vmbr1 should be able to access internet via NAT. However there is an issue with my vm guests unable to connect to public ip addresses. Could ...
0
votes
0answers
39 views

Centos IP Routing and NAT failover with two WAN interfaces

I have a server with 4 interfaces. 2 WAN interfaces, 1 LAN interface, and one Management interface. The server runs Centos 7 Minimal. My interfaces are: ens161 = WAN1 ens192 = WAN2 ens193 = LAN1 ...
0
votes
1answer
119 views

Route IPv6 traffic through IPv4 tunnel

My current situatuion is that i want to use IPv6 but currently don't have any IPv6 address assigned. But I have a server with a dual stack interface including a public IPv4 and IPv6 address (only a /...
0
votes
0answers
78 views

virtual machine manager kvm NAT connection

At one time it worked - came back to project and nat not working. Suggestions on correct direction to troubleshoot in? XP guest can ping linux host C:\Doccuments and Settings\D>ping 192.168.122.1 ...
0
votes
0answers
20 views

can't access server from wan - nat and firewall configured - tcp retransmission

I'm running a nodejs hello world script on my computer. app.listen('8080', '0.0.0.0', () => { console.log(`${name} is listening on port 8080`); }); We have a ZyWall-usg-50 firewall, where I ...
0
votes
1answer
66 views

forward vpn server traffic to another server

I have set up 2 VPN servers in 2 different locations [ A:openvpn server(ubuntu) , B: PPTP Server-RouterOS Mikrotik ] What I want to do is to make A route all client traffic tthrough the pptp tunnel ...
1
vote
1answer
40 views

Nginx does not keep nat source port

I'm trying to join my application with a translation port (nat) with the following url https://myapp:11201/webapp but Nginx does not keep the port translated and redirects url to: https://myapp/webapp ...
0
votes
0answers
22 views

Windows Event Forwarding over NAT doesn't work where ports NOT having 1:1 mapping

I have: Collector, with HTTPS listener Non Domain Source Computer (That implies Source initiated subscription on Collector) Certificate based authentication for WinRM set up, because a requirement ...
2
votes
1answer
52 views

KVM guest can't connect to itself after DNAT

Network Description Virtual hosting environment (KVM): Guest: Ubuntu 14.04.5 LTS \n \l Linux ari 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 15:31:16 UTC 2013 i686 i686 i686 GNU/Linux Host:...
0
votes
1answer
193 views

Windows 10 pro as a NAT between two interfaces

I have a windows 10 pro host with multiple adapters on multiple subnets used by VMs and I would like to re-route incoming traffic from one of the subnets into the host's routing table. My hyper-V VMs ...
-1
votes
1answer
52 views

IPTables NAT Ubuntu redirect 2nd IP to another IP

i have got two servers : Server 1: IP1= 8.8.8.1 IP2= 8.8.8.2 Server 2: IP1= 8.8.8.3 i want to redirect every access to IP 8.8.8.2 to 8.8.8.3. Therefor I activated IP forward sysctl net.ipv4....
1
vote
1answer
38 views

In Vmware Workstation Guest, how to identify which network connection is hostonly and which is NAT?

I'm using Vmware Workstation for my lab environment. I added two network interface cards for a Guest OS. In the Guest Os (Win 2016 server), I can see there are two network connections. But how can I ...
0
votes
1answer
70 views

How to make iptables not SNAT locally generated packets

Most SNAT examples give following iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source 100.200.100.200 but, it appears that this apply not only to forwarded packets but also to packets coming ...
0
votes
1answer
36 views

Splunk web login through NAT

Good afternoon, I'm trying to get a Splunk instance setup to be accessed from outside the firewall it is NAT'd behind. Currently, I have the port forwarding rule in for 8000->8000. I can access the ...
0
votes
0answers
21 views

IPTables DNAT from inside/Masquerading

i have the following setup: vmbr0 is my WAN with Public IP, vmbr1 my LAN with Private IP's. Now i do DNAT for certain ports on vmbr0 to an IP inside the LAN: -A PREROUTING -i vmbr0 -p tcp -m tcp --...
0
votes
0answers
47 views

Routing between 2 routers with NAT (RRAS)

I'm trying to figure out how to configure RRAS in order to allow my PfSense router to access a downstream routed network. The Windows RRAS router is connected to a port on the PfSense router. I can ...
0
votes
0answers
62 views

VirtualBox - NAT network and own DHCP server

please, I need advice on network setup - especially NAT network in VirtualBox.. result: only one network adapter SERVER (Windows Server 2016) - static address - 192.168.0.4 KLIENT (Windows 10) - ...
0
votes
0answers
23 views

iptables/NAT: forward port to interface based on destination port

I have an OpenVZ node (we will call it Server-1) where DNS port (53) is blocked, so we cannot lookup hostnames/domains on the node or inside the containers. This is a firewalled server that needs to ...
0
votes
1answer
48 views

Routing between 3 interfaces in 3 separate networks

Prologue Greetings network engineers out there! I would appreciate your help in following scenario. I did some research, and I figured out only two solutions. And because one of them is not suitable ...
0
votes
0answers
17 views

SonicWall WAN to LAN connection

Please note that I'm an absolute novice with all things network related, so please be patient with how basic this question probably is. We have a SonicWall TZ600, which I am trying to configure NAT ...
1
vote
1answer
167 views

NAT Issue with VPN

I've got an Ubuntu server running StrongSwan. I can successfully connect and route all traffic over the VPN with a laptop client and iPhone client. What I need to do is connect an M2M router which ...
0
votes
0answers
11 views

pptpd and no response from client

how can i (which option and how allows to control) disable pptpd / ppp to watch for client presence (in short - i do not want for ppp/pptpd to check if client is allive to shutdown / cleanup tunnel - ...
0
votes
0answers
31 views

'502 bad gateway nginx error' and 'connect() failed (111: Connection refused) while connecting to upstream' in logs [duplicate]

After moving my website files & database from Hetzner VQ virtual server to CX virtual server I am getting ‘502 bad gateway nginx error’ when trying to open www.1luxuryphones.com in a browser, and ...
0
votes
1answer
47 views

forward all traffic from a virtual IP to a vm inside lan

I'm trying to set up a specific NAT but i'm a bit stuck here. My setup is as follow : 3 dedicated with one nic each, which run a few VM, interconnected with tinc in the subnet 10.100.0.0/16 1 VPS ...