Questions tagged [nat]

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

Filter by
Sorted by
Tagged with
0 votes
2 answers
267 views

Source Port NAT with VPN

I understand that a router (like an home router) does source port NAT (as the public IP for a LAN is normally one). If I run a VPN Client (like Open VPN) on a computer in the LAN and if the VPN packet ...
toto''s user avatar
  • 165
0 votes
1 answer
888 views

Port forwarding does not work (trying to make my computer an HTTP server)

Goal: Allow one person to connect remotely to my (Django) webserver which runs locally on my windows 10 machine, for a week or so. What I tried: Disabled firewall (Windows), there seems to be no ...
OnY's user avatar
  • 103
1 vote
3 answers
475 views

Access home network Linux server (samba and other services) behind operators NAT (no public IP4 address)

this is my first question here... I have got home small Linux server with RAID1 disks and few services (samba, ssh, minidlna) serving Windows 10 machines Home network is connected to operator's ...
user avatar
0 votes
1 answer
1k views

Linux IPTables-Based Reverse Proxy

I have 2 Public IPs on a VPS and a residential network connection: VPS = 55.55.55.55 Residential = 66.66.66.66 The VPS all this is done on is a Debian 11 system with minimal changes. I would like to ...
user7375290's user avatar
0 votes
1 answer
112 views

How to reach "WAN SIDE" of my lan

maybe this is a silly question and the answer is simple. I set my router DMZ (zyxel router) to my dev server (Dns updated dynamically) and everything works good from outside my network. From inside my ...
Nik Rubblers's user avatar
1 vote
0 answers
281 views

ASUS Router VPN Client not masking IPs

I am currently trying to set up 2 routers in my home network, one of which is connected to a VPN to mask the IP of any device in its subnet as seen below: The VPN is definitely set up correctly, as ...
Mavial's user avatar
  • 11
1 vote
2 answers
3k views

How to configure VirtualBox NAT to use host WLAN

Is it possible to explicitly tell the VirtualBox NAT connection to use the host's WLAN to provide internet to the guest system? Question background/ my specific problem right now: My VirtualBox guest ...
Setririon's user avatar
0 votes
1 answer
1k views

Providing Hyper-V VMs with network through custom NAT in Windows 10

I'm trying to set up a NAT on Windows 10 to provide Hyper-V VMs with access to both Internet and Cisco AnyConnect VPN configured on the host machine. In accordance with this manual I executed the ...
vect's user avatar
  • 245
0 votes
0 answers
990 views

Can I have 2 routers in a network without bridging

My ISP-supplied router is very bad. I have a lot of issues with the NAT rules, NATLOOPBACK, UPNP ... I will buy another one (Router 2). I have to keep the old one connected as a master (Router 1). I ...
frenchman100's user avatar
1 vote
0 answers
13 views

VMWare route certain http requests through Windows Host

I am running Ubuntu 18.4 as guest on a Windows 10 host under VMware 15.5.6 Current Network-Connection (Settings->Network Adapter) is set to NAT. My problem is, that certain http requests must (...
Frank N's user avatar
  • 727
0 votes
0 answers
379 views

How does Resilio Sync connect from the internet when there's a firewall and no port is listening?

Resilio Sync, formally BitTorrent Sync is able to somehow find a way around 2 NAT firewalls I have all while no port is setup to listen externally nor port forwarding on the routers. When I say I have ...
Biff's user avatar
  • 195
-1 votes
1 answer
209 views

open network access to virtualbox guest from host only

I have built a Debian virtual machine running in VirtualBox on a Linux Mint host. I am confused about the choices for networking configuration. I wish to achieve the following behavior: Resolve host ...
brainchild's user avatar
0 votes
0 answers
303 views

Virtualbox Ubuntu NAT - one VM has internet, other does not

I have one VM that is provided to me. It has NAT and Host-Only-Adapter enabled; it has internet access. I've installed two new VMs: Ubuntu 18.04 and 20. In both cases, I enabled NAT but there was no ...
Bob's user avatar
  • 191
1 vote
1 answer
923 views

Access Android Emulator running on host machine (mac) from Vmware fusion 12.2.1 (Linux)

I am trying to run an Android Emulator on my host machine which is a Mac OS and connect to it from my Vmware fusion guest machine which is a Linux. I tried all network configurations and also tried to ...
Alon Minski's user avatar
0 votes
1 answer
3k views

What exactly is router cascade option doing? [duplicate]

I'm trying to understand what exactly happens when routers are cascaded. All description I can find state that it is done when I want to connect router to router but I can do it without any setup. So ...
Maja Piechotka's user avatar
1 vote
3 answers
7k views

Hyper-V: NAT not functioning / guest cannot access internet

I'm running Windows 11 Pro, and have set up a FreeBSD VM under Hyper-V. Initially, the VM was using the default virtual switch, and internet access from the VM worked correctly. But in an attempt to ...
Harris M Snyder's user avatar
0 votes
1 answer
1k views

Translate WireGuard config from iptables to nft

I was installing WireGuard on a fresh Raspberry Pi OS image and wanted to move the server config from another device onto this. But bringing up the interface said it can't find the iptables command. ...
ygoe's user avatar
  • 2,298
0 votes
0 answers
372 views

How to configure dnsmasq as a DNS server, alongside apache, so that a DNS domain that points to internal IP is accessible by the same server and LAN

I have an web server running apache web server in my home network. My router unfortunately does not allow NAT loopback, so testing my own projects, or accessing other self-hosted services (owncloud, ...
ricardo3889's user avatar
0 votes
0 answers
261 views

Vmnet8 Interface is not forwarding packets to the vm

I have a vm connected to the vmnet 8 interface. I cannot reach the virtual machine from my host but it can reach the host from the vm. When i trace to the vm i see the host is sending the packet to ...
user19215's user avatar
  • 101
0 votes
1 answer
1k views

VMWare Workstation NAT Service crashes after Windows update

Usual story. Installed Windows updates and then after a reboot all my VMs in VMware Workstation 15 lost network connectivity. I checked and VMWare NAT service was disabled: But then if I try to start ...
c00000fd's user avatar
  • 547
0 votes
0 answers
376 views

Access Internal VM host only network from host in virtualbox

I have a vm network for a project that I must test against pings from the outside, the thing is I can't set it up to check. Here's the layout: Windows Host : VBOX ↑ nat ...
Majd's user avatar
  • 101
0 votes
0 answers
160 views

Incoming requests with ISP NAT

My ISP uses NAT for the public IP addresses. I want to allow incoming requests to my router and local network, for example, RDP or WOL. I've configured the port forwarding but all the incoming ...
nrofis's user avatar
  • 200
0 votes
0 answers
345 views

How to setup (Passive) FTP server in VMware Player Guest VM

I want to bring up an FTP server within my Linux Guest VM. I already have it setup and running within the VM but I run into issue with my VMWare Player (running on Windows 10). I forwarded TCP 21 from ...
some user's user avatar
  • 2,377
0 votes
0 answers
121 views

Returning tcp/udp packets to sender

I'm using a Linux machine with WiFi hotspot to test the WiFi stack of an embedded device. For context, the embedded device is designed to send and receive encrypted packets to/from a remote server. To ...
schnoop's user avatar
0 votes
1 answer
1k views

Workaround for NAT only in Virtualbox using Kali linux

I'm using a Kali on a Virtualbox inside a corporate laptop, I can't use bridged mode so Im stuck with NAT, the issue that I cannot access this kali vm from other assets in the network, as it has a ...
Med Pen's user avatar
0 votes
2 answers
157 views

How do hosts inside a private network using the 10.0.0.0/8 address space know each others IP?

Normally to obtain an IP address DNS is used, but since DNS won't work in this case, how will they find the IP address of another host inside the same network?
timtam's user avatar
  • 143
0 votes
0 answers
176 views

Port Forwarding doesn't work on a Zyxel vmg3312-b10b modem and Ubuntu

I'm trying to redirect port 8080 to my application in my laptop on a Zyxel vmg3312-b10b modem and ubuntu. I did the configutations as below : I closed both modem's and my operating system's firewall. ...
cuneyttyler's user avatar
0 votes
0 answers
380 views

Ubuntu Router, cant make NAT work LAN/WAN interface

Im trying to make my own router using Ubuntu 20.04.2 LTS I have followed this guide: https://kifarunix.com/configure-ubuntu-20-04-as-linux-router/ The only difference between his setup and mine is ...
Pim's user avatar
  • 1
0 votes
0 answers
57 views

using iptables nat to connect two machines unaware of each other

I have done it several times in the past, but after more than 10 years that I've been away from networking, I just cannot make it work again: I have three machines, A B and C. Both A and B can see C, ...
Xrus's user avatar
  • 1
1 vote
1 answer
1k views

Bridging router without a bridge mode

My ISP-supplied router is very buggy and has various issues with port forwarding and NAT loopback which they can't fix (even after sending a replacement, it had the exact same issue), so I've decided ...
pigeonburger's user avatar
  • 2,378
0 votes
0 answers
125 views

Iptables - dstnat not working after adding implicit deny rule

I decided to play with iptables and I'm basically new to it yet. Trying to use it as a firewall. My goal is to port forward a RDP service from the LAN side. Here is my scenario: ens32 is the WAN ...
Peet's user avatar
  • 1
4 votes
1 answer
1k views

Router being double-NATed by ISP

I am trying to set up an Apache server at my house which can be accessed through port 80 by my home router. I was able to do this a few months ago, and then I took the website down. When I tried to ...
matharpre's user avatar
0 votes
0 answers
277 views

How to add exceptions in matching subnet in iptables nat output chain?

I have a rule in my iptables config: -t nat -A OUTPUT -d 10.0.0.0/8 -j RETURN This rule prevents from routing packets sent to 10.X.X.X address. But now I want to add exception in this rule and allow ...
zenno2's user avatar
  • 145
0 votes
0 answers
331 views

IPtables port forwarding to host machine IP

I have WireGuard installed in an LXC container and while the client connects normally (I see the port and the information), it doesn't connect when I try to curl to localhost [127.0.0.1] or its IP [...
victorelec14's user avatar
2 votes
1 answer
39 views

Unable to get Ubunto's VM internal network behind a NAT to use the host connection

I have setup a NAT network with an internal virtual switch using the below commands: New-VMSwitch -SwitchName "NAT" -SwitchType Internal New-NetIPAddress -IPAddress 192.168.8.1 -PrefixLength ...
Walid Abdelal's user avatar
1 vote
0 answers
165 views

Hide multiple devices with same IP addresses behind multiple one to one NATs

I have a couple of devices with the same unchangeable IP address. I would like to NAT these to addresses which I can then address individually. eg, eth0 = external network, 192.168.1.0/24 eth1 ...
uni's user avatar
  • 11
0 votes
0 answers
357 views

Assigning public IP address to a VM hosted on a server behind NAT

I have a pool of public IP addresses (95.xxx.xxx.196 - 254). I also have a server hosting KVM machines. It has a private IP address 10.0.0.1 which is NATed by the router to the 95.xxx.xxx.200 address ...
Mhalapenio's user avatar
0 votes
1 answer
2k views

Gateway Issue - "ping" works, "curl" not

We have a [S]SRV_GATEWAY server with two NICs ([I]WAN/INT_LAN and [I]PRIV_LAN) configured as GATEWAY, DNS and DHCP for a private network ([N]PRIV_LAN). The server [S]SRV_GATEWAY accesses the internet (...
Eduardo Lucio's user avatar
0 votes
1 answer
62 views

GCN Network security an configuration issues

Background On a rented room we bump into a new device. It's a sim card router, so there is no telephone line (DSL) or fiber cable. Apparently this device uses CGN technology and for practical purposes ...
user avatar
0 votes
2 answers
105 views

IP address from ISP

I am learning about routers and PAT right now. I am thinking about my public address assigned to my home router. Is it possible that ISP didn't provide real public address for me but instead it gave ...
Kasata Ata's user avatar
1 vote
1 answer
1k views

multihomed inbound natting using nftables

i have a multihomed router with two external IPs. I would like to NAT incoming connections from both IPs to the same internal IP. What I have so far $ ip rule show 0: from all lookup local 32761: ...
Aleksandar Ivanisevic's user avatar
0 votes
3 answers
474 views

Connect a socket to another PC in same NAT

Hey I've got two machines on the same network. They get their IP info back from an external webserver. Same IP due to NAT but different ports locally. Hmm that's weird.. they can't socket up or even ...
Andy's user avatar
  • 11
0 votes
1 answer
992 views

How to open my NAT type on PC?

As a gamer it is really frustrating to have a NAT type that's "strict", as it makes it really hard to find games/matches with other people online. After some research I came across something ...
Shahzad Rahim's user avatar
1 vote
0 answers
367 views

Rerouting all traffics from one interface to another

I'm using linux. I have a device connected to the ethernet interface on my motherboard (enp0s31f6) and my PC has a wireless card (wlp5s0) which is connected to the router . The device is sending DHCP ...
Number9's user avatar
  • 11
1 vote
0 answers
97 views

NAT style port forwarding on Windows

I would like to know, is it possible to implement NAT style port forwarding on Windows? Native (included with the OS) solution is preferred, but third party tool would be fine too. Let's say, I want ...
vsenko's user avatar
  • 111
0 votes
1 answer
207 views

Iptables: route ntp requests from lan to internal vpn server

i have to following config client gw with openvpn ntp server 192.168.10.82 ----> eth0 192.168.10.1 - tun0 10.8.0.46 ---> 10.8.0.1 where i can't install ...
Walter's user avatar
  • 1
0 votes
1 answer
107 views

How does the router not have conflicts with other devices as it is using the same public IP address? (NAT)

So I've been learning about NAT and how it allows us to reuse IPv4 addresses by using a NAT table and having basically an alias for the private IP to a public IP and vice versa along with storing the ...
The Programming M16A4's user avatar
0 votes
1 answer
850 views

Double NAT port forwarding with pfSense and subnet - Is it safe?

I would like to expose an application server (virtual machine) to the internet for developing/learning purposes. I cannot physically separate my main home network from my server lab. My hypervisor is ...
swilsy's user avatar
  • 3
0 votes
2 answers
251 views

Establish connection through multiple hops

I have a set-up as shown in this figure. set-up How do I establish connection(TCP,Ping etc...) between Laptop-1 and laptop-4. I have background in physical layer of wireless, but not much aware of ...
Newbie's user avatar
  • 1
0 votes
1 answer
1k views

network setting automatically switched to Bridged in VMWare Player

I was trying to setup a lab environment for Vulnhub box. I ran both Kali VM and Kioptrix level 1 VM on VMWare Workstation Player. I heard that I should set the network adaptor of both VMs using NAT or ...
NoobieG's user avatar

1 2 3
4
5
24