Questions tagged [nat]

Network Address Translation, a technology used to translate a private IP address into a public IP.

476 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
0 answers
253 views

Avoid P2P issues with multi-level NATs with uPNP

What is the best solution to make a peer-to-peer application workable with multi-level NATs without having to manually open ports on the router? E.g. one application is using uPNP to traverse one NAT, ...
Flying Thunder's user avatar
1 vote
0 answers
2k views

How to write an nfttables snat rule?

Set-up: Linux (tried on LEDE, OpenWrt, Ubuntu 16) iptables disabled (kernel modules unloaded) nftables (tried v. 0.8, 0.8.2) chains and NAT are created according to official nftables wiki: % nft add ...
Dr. Andrey Belkin's user avatar
1 vote
0 answers
419 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 ...
Theveloper's user avatar
1 vote
1 answer
5k views

How to configure Apache Server to be publicly accessible when it is run on a laptop through Wi-Fi?

I am trying to set up a web server on my laptop that could be accessed publicly using my public ip(ex. http://123.45.678.910/), but I am stuck with port forwarding issue(or so I think). So this is my ...
endvvell's user avatar
  • 111
1 vote
2 answers
947 views

Openvpn issue with reconnection and multiple clients in the same NAT

I have a Openvpn server inside my home network allowing access from outside. The setup is working but I still have two problems with it. First when I loose VPN connection an try to reconnect ...
AGrzes's user avatar
  • 121
1 vote
0 answers
80 views

Windows Routing from one ipv4 to another ipv4

Im currently hosting game servers on a window VM and im wanting to add multiple ips to the windows VM which I have done successfully. Now to assign my game servers(on the windows VM) to the public ips ...
jcbjoe's user avatar
  • 43
1 vote
2 answers
2k views

Internet access on internal network with IPTables

On a private cloud I am setting up, I have a a few RHEL VMs, networks, and a router on openstack. My router is connected to the public internet and my gateway node is connected to the router and has ...
keysersoze's user avatar
1 vote
0 answers
2k views

Redirect HTTP traffic from LAN box to external proxy using iptables on my router

My goal is to transparently proxy all HTTP requests from a single IP (my laptop, 192.168.1.134) on my LAN to an external IP (internet VPS, lets say X.X.X.X) running a proxy server (specifically ...
ccampo's user avatar
  • 61
1 vote
0 answers
268 views

VM works in NAT mode but not bridged mode?

Virtual box running on Windows 10 x64 pro. I have an ubuntu server VM running in bridged mode and it has an active internet connection. However, when I try to run other VMs, while still running the ...
adamereptberhugery's user avatar
1 vote
0 answers
99 views

NAT rule doesn't work

I have the following situation on my host: vethZ 10.0.0.3 o | ----------------- --------|--o o--|----o o--- internet ...
ica's user avatar
  • 21
1 vote
1 answer
788 views

DNS hijacking workaround while still using local DNS server

I have a Mikrotik router (RB750) and my ISP uses transparent DNS proxy to hijack any DNS request to their server regardless of our chosen DNS. I have since found a workaround by dst NATing port 53 TCP ...
Martin's user avatar
  • 11
1 vote
0 answers
1k views

Port Forwarding Double NAT

Over the past few days , I am trying, without success, to do port forwarding in order to connect my Camera from remote (WAN) and not just from home (LAN). This is the IP of the camera : 192.168.1.110 ...
אברגיל יעקובו's user avatar
1 vote
1 answer
13k views

How to setup a Zyxel router in Bridged mode?

I'm attempting to connect a Zyxel VMG8324-B10A to the Modem/Router supplied by my ISP and to use it in bridged mode. The wireless functionality of the ISP provided router is rather poor. All ...
Levon's user avatar
  • 133
1 vote
0 answers
677 views

Run servers behind double-nat or firewall using OpenVPN

I have the following: A laptop behind double-NAT or Firewall A Cloud Server with full access to the outside world (AWS/Azure etc.) that I can install an OpenVPN Server on On my laptop I run various ...
Molten Ice's user avatar
1 vote
0 answers
545 views

How to remote access IP cam through VPN by iPhone

iPhone <--[pfSense]OpenVPN--> IP Cam Remote network: 15.0.0.15 (iPhone) pfSense OpenVPN server: 10.0.8.0 Local network: 192.168.1.0 IP Cam: 192.168.1.99 What i want: a) Block all outgoing ...
frankyfranky's user avatar
1 vote
0 answers
176 views

nat with iptables droping access to internal network

I want use a Raspberry Pi 3 as a AccessPoint, it has the interface wlan0 (172.24.1.1) where the people connect and eth0(192.168.1.22) connected to internal network with internet. For to give internet ...
aloon's user avatar
  • 111
1 vote
3 answers
4k views

iptables SNAT/DNAT explain behaviour

I am new to iptables and I want to understand how iptables nat is working. I have a linux machine with a lxc container. The machine network configuration is as follows: eth0 interface which connects ...
SebiSebi's user avatar
  • 165
1 vote
0 answers
460 views

Routing over VPN by using default gateway

I have a small Ubuntu box that runs some services used on my local network and on the internet. The default gw on this box is clearly my cable modem and all works fine... the relevant port forwarding ...
Dave Martin's user avatar
1 vote
1 answer
490 views

Can I control VirtualBox guests' network access via NAT on Linux?

I'm using VirtualBox as a VM provider for Vagrant, where as an admin I've installed both as packages on a CentOS 7.2 system. I broadly trust the security of the host OS, but the purpose of these VMs ...
Iain Hallam's user avatar
1 vote
0 answers
783 views

Why can't the gateway redirect back with iptables DNAT?

UPDATE: This happened when using docker containers inside the network. I'm not sure that matters, but it might be affecting the topology somehow... I'm struggling to understand a behavior I can't ...
rosenfeld's user avatar
  • 111
1 vote
0 answers
517 views

Suspicious static IPs in NAT table

I was doing some checking on my home network activity and in the process discovered some external IP address in my NAT table under the Inside Local column. I checked the table a couple of times over ...
Geabhrog's user avatar
1 vote
0 answers
2k views

Creating a poor man's DNS/name resolution with VirtualBox NAT network

I am running VirtualBox 5.0.22 on Windows 10 Pro (mikaw10) as host and have set up the following systems all with one NIC and a NAT network called unix-machines: Ubuntu 14.04 LTS 32 bit (ubuntu1404) ...
Michael-O's user avatar
1 vote
1 answer
1k views

NAT Port Mapping from external IP to internal Web Server not working

I am trying to setup an HTTP server using Virtual Box on my Win 10 Host. The network is being set as a bridged network on the Guest using the ip 10.0.0.254. Opening the browser with that IP is ...
RaptorX's user avatar
  • 121
1 vote
1 answer
5k views

Packets don't come back in a network with NAT in Cisco Packet Tracer

This is my network: I have done my best to try to solve the problem, but with no success. Whenever packets come from LAN 1 or LAN 3, the local IP addresses are translated into one of the 3 public ...
Davide's user avatar
  • 11
1 vote
0 answers
486 views

VirtualBox natnetwork start failed

I use VirtualBox 5.0.16_Ubuntu, Ubuntu 16.04. When I added a new NAT network and try to start natnetwork service, I got some error: ~$ VBoxManage natnetwork add --netname openstack --network "192.168....
Sokogen's user avatar
  • 11
1 vote
1 answer
1k views

Making Sense of ISP's Network Topology

I recently noticed something odd while performing traceroutes from my home network, and its made me wonder as to the architecture of my ISP's network. My home network uses 192.168.0.0/16 addresses (...
PriceHardman's user avatar
1 vote
0 answers
252 views

bsd (osx) pf nat - change source port on outgoing UDP packets

I am running docker-machine on osx. docker-machine is running NAT so when my container send out a UDP packet on port 1812, NAT is translating it to some random port. I am playing around with pf nat (...
roocell's user avatar
  • 111
1 vote
0 answers
828 views

centos 7 virtualbox no internet, how to get rid of virbr0 and virbr0-nic adapters?

I have tried everything. I have 2 hosts and 2 centos 7 virtual machines with nat connection and wireless internet. The first has only lo and enp0s3 adapters and everything is fine. The second has lo, ...
sotirios's user avatar
1 vote
1 answer
303 views

Direct native traffic TCP file transfer between two NATted machines

Aim: I want to perform the fastest possible TCP based file transfer between two machines sitting behind two different NATs, in a situation where a public port cannot be redirected to any of the two ...
Sébastien's user avatar
1 vote
0 answers
933 views

Ssh Access to VMware Virtual Machine(NAT) From Host

I need to ssh into NAT based VMware Virtual Machines from host. What's the minimum requirement to do that? At first, it seems impossible to me, as NAT VMs have internal IP addresses (10.20.xxx), ...
xpt's user avatar
  • 8,651
1 vote
0 answers
141 views

How is Windows ICS service different from Linux-based NAT & routing when I want to hide my LAN structure from ISP?

Background I've been using a WIFI-router as my home gateway perfectly until my ISP appears to restrain the number of connected devices. And currently there is not any realistic upgrade plan from the ...
Z. Huo's user avatar
  • 11
1 vote
0 answers
122 views

Setting up server behind uncontrolled firewall

(Firstly, I apologize if this is on the wrong site. I am not a network engineer or a web master or anything like that.) Going off to college and my brother and I want to continue hosting a minecraft ...
Reepca's user avatar
  • 111
1 vote
0 answers
401 views

Most efficient way to proxy a port from one host to a port on another

I have a host with one IP address which is using port 443 (HTTPS) with one certificate. I want to run a second app on this IP address using a different certificate on a different port. To prevent ...
dataless's user avatar
  • 713
1 vote
0 answers
942 views

Private to private network address translation

I need a black box that will translate 192.168.1.1 to 192.168.1.2. Can a NAT router do this? The problem that I am trying to solve: I have 2 devices with identical IPs of 192.168.1.1. The devices ...
stephenb's user avatar
  • 111
1 vote
0 answers
92 views

NAT configuration for HTTP server

There is a router (192.168.1.1) having static public IP(hypothetically- 8.8.8.8). This router is programmed to forward all incoming port 80 (TCP/UDP) connections to a particular IP (192.168.1.105). ...
Parth Maniar's user avatar
1 vote
0 answers
77 views

Item's refresh in Port Address Translation Table

When does an item is removed from PAT Table? In TCP I would say it happens when connection is closed, but I'm actually not really sure. Does NAT Device know when a table's entry will never be used?
c.bear's user avatar
  • 123
1 vote
0 answers
2k views

SIP: The other party can't hear me but I can hear them when using Asterisk

Please read carefully all the question and do not rush to a conclusion. === Test environment for point-to-point calls, without Asterisk === City1: A router with NAT and WiFi and 5060 UDP port ...
Paul's user avatar
  • 914
1 vote
0 answers
795 views

Change default network settings for VirtualBox when using NAT

I'm running into an issue where VirtualBox is assigning a guest from 10.0.2/24 when using NAT mode. The problem is its a real network on this site. I see how to change the setting for a particular VM....
jww's user avatar
  • 12.1k
1 vote
0 answers
621 views

Cannot VBoxManage ModifyVM --nataliasmode1 when running

I tried to run modifyvm PS C:\Program Files\Oracle\VirtualBox> ./vboxmanage modifyvm XXX --nataliasmode1 proxyonly VBoxManage.exe: error: The machine 'XXX' is already locked for a session (or ...
Kokizzu's user avatar
  • 1,747
1 vote
1 answer
1k views

Virtualbox - how to custom NAT and port forward?

How can I use Virtualbox custom NAT and also port forward? For demos, I am running my VMs behind NAT on my laptop. If I run it in the vanilla NAT mode, then each VM I spin up automatically gets 10.0....
Roger's user avatar
  • 141
1 vote
1 answer
190 views

How can I configure my two routers so any device can connect to a server on any other?

Network setup: ADSL2+ modem/4-port router (SpeedStream 6520) Wi-Fi+3-port router (TD-W8960N, 4th/WAN port connected as device to modem/router) I have to admit that I know pretty much nothing about ...
i336_'s user avatar
  • 198
1 vote
0 answers
2k views

Why do my nat iptables rules not work with marked packets?

System: debian squeeze, Linux server 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC 2014 x86_64 GNU/Linux, iptables v1.4.8 lsmod | grep iptable iptable_security 2176 0 iptable_mangle ...
anyone's user avatar
  • 11
1 vote
0 answers
248 views

OpenVPN sans port forwarding on unfriendly networks

I have a problem. I'm about to move onto campus right in the middle of the semester. For a student, I have a complicated network setup where all of my systems are reliant on NAS and all of them VPN ...
Wolvenmoon's user avatar
1 vote
0 answers
4k views

ESXi + pfSense - NAT forward management interface ssh

question at the end. Situation: (ips replaced by fictive examples) I have a (remote) dedicated server, with 1 NIC, 2 IPs. One IP (eg. 5.9.1.1) is bound to the physical NIC's MAC, the other (5.9.100.1)...
sanderd's user avatar
  • 121
1 vote
0 answers
59 views

Preserve NAT mappings across reboot

My Linux router is able to reboot and reconnect all network interfaces pretty fast (~10 seconds, thanks to systemd and a SSD disk), and comes up with the same IP addresses. Unfortunately the reboot ...
Ambroz Bizjak's user avatar
1 vote
1 answer
536 views

Filtered port with virtual server setup on a NAT

I have a Symphony SY602 ADSL router and I want configure a dynamic DNS to access my system remotely. I made a NAT virtual server in routers configuration and this is what I configured: Server Name ...
Shahin's user avatar
  • 203
1 vote
2 answers
632 views

How to IPv4 through IPv6?

My ISP (Unitymedia Germany) tunnels IPv4 traffic through slow and unstable CGNAT (they call it "AFTR", which seems to be a similar thing) but comes with reliable and native IPv6. Now, is there any ...
Cobra_Fast's user avatar
1 vote
0 answers
137 views

Internet connection dropped when nat created and routed via vpn [linux+iptables]

I've got a very frustrating network issue. Currently I'm living in a hotel in which I need to authenticate through a website in order to obtain internet access. I've also got xbox360 that I want to ...
Magister's user avatar
1 vote
0 answers
375 views

Point an internal IP address to an external URL

Is it possible to set a router up so a machine in the LAN can access an Internet URL using an internal IP address? I have a cheap DVR box that can save recorded videos to a FTP server, but only ...
Fábio's user avatar
  • 125
1 vote
1 answer
709 views

How to forward a port in VM which is behind NAT

I see a few questions similar to my but, they didn't answer my question. I have a router. I have installed Debian in VM and setup a ssh server on it. I want to forward a port for this machine on my ...
user341942's user avatar

1 2
3
4 5
10