Questions tagged [nat]
Network Address Translation, a technology used to translate a private IP address into a public IP.
1,164
questions
0
votes
1
answer
1k
views
Cannot access my public IP outside the network
So I want to test opening one port to the public. I know how to do port forwarding in the router and I have done so. I tested this with gameranger and it works. I check my global IP, say it is 121.111....
0
votes
1
answer
44k
views
Port forwarding on ZTE router
I'm trying to forward the following ports on my ZTE router (as per PlayStation's recommendations):
TCP: 80, 443, 3478, 3479, 3480
UDP: 3478, 3479
The manual for my router gives very limited ...
0
votes
2
answers
270
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 ...
0
votes
1
answer
893
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 ...
1
vote
3
answers
485
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 ...
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 ...
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 ...
1
vote
0
answers
283
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 ...
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 ...
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 ...
0
votes
0
answers
1k
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 ...
1
vote
0
answers
14
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 (...
0
votes
0
answers
383
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 ...
-1
votes
1
answer
210
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 ...
0
votes
0
answers
308
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 ...
1
vote
1
answer
944
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 ...
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 ...
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 ...
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. ...
0
votes
0
answers
376
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, ...
0
votes
0
answers
263
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 ...
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 ...
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 ...
0
votes
0
answers
162
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 ...
0
votes
0
answers
354
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 ...
0
votes
0
answers
124
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 ...
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 ...
0
votes
2
answers
160
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?
0
votes
0
answers
177
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. ...
0
votes
0
answers
397
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 ...
0
votes
0
answers
60
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, ...
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 ...
0
votes
0
answers
127
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 ...
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 ...
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 ...
0
votes
0
answers
332
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 [...
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 ...
1
vote
0
answers
166
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 ...
0
votes
0
answers
359
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 ...
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 (...
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 ...
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 ...
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: ...
0
votes
3
answers
483
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 ...
0
votes
1
answer
1k
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 ...
1
vote
0
answers
378
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 ...
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 ...
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 ...
0
votes
1
answer
108
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 ...
0
votes
1
answer
860
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 ...