Questions tagged [nat]
Network Address Translation, a technology used to translate a private IP address into a public IP.
1,194 questions
0
votes
1
answer
34
views
Webserver port 80 and server side NAT port translation query
From my home computer (192.168.0.2) which sits behind a domestic router and the router is of course using NAT, I want to connect to google.com (ping returns 216.58.204.78). 192.168.0.2 opens a local ...
2
votes
1
answer
62
views
DNS issue on Rocky Linux 8 between virtual machines
I have a setup with 3 virtual machines running Rocky Linux 8:
VM1 is connected to VM2 and connected to NatNetwork
VM2 is connected to VM3.
Ping works in all directions using IP addresses, so IP ...
1
vote
0
answers
447
views
How does Playit.gg allow you to host game servers without Port Forwarding?
Back in the day when it came to setting up a Minecraft server on your own local device you needed to go through the process of port forwarding to make your local device accessible from outside your ...
1
vote
1
answer
55
views
Fritzbox router suppressing DNS lookups
PC + Wifi + homeserver
-> router (Fritzbox)
-> UPC cable box
I have 2 NAT after each other.
I have a strange DNS problem. I configured DuckDns to point to an internal IP address. Resolution ...
0
votes
0
answers
37
views
Why doesn't NAT Network Port Forwarding work in VirtualBox?
I'm setting up a VPN (LT2P/IPSec) Server in a Windows Server 2022 with RAS. The Server is in a NAT Network (172.16.1.0/24). I added the following NAT Rules:
I tried both with the Host IP empty, with ...
1
vote
0
answers
63
views
What did I do wrong in the iptables?
I'm trying to route all the traffic to my ShadowSocks tproxy access point by configure iptables, however not just the traffic didn't been route to the proxy, I don't think it did anything at all. I ...
0
votes
0
answers
34
views
Redirect NTP response with pfSense
As stated in the title I want to redirect the ntp response of a server. My first approach was simply to configure it with iptables. So every packet with the source port 123 is redirected to ...
0
votes
0
answers
87
views
How to map domain:port to ip address in hosts file?
Apache is running on Ubuntu in a Virtual Box guest on a Windows 11 host. I have port 80 from the guest forwarded to port 22222 on the Windows 11 host.
The network adapter is set to NAT.
I can access ...
0
votes
0
answers
40
views
OpenWRT LTE Gateway Setup for Main Router
I can't seem to be able to set up my two involved boxes successfully for the following scenario. The Failover WAN Box should be solely responsible for the Failover WAN. Doble NAT should be avoided.
...
0
votes
1
answer
77
views
NAT type is strict
I've been having problems playing GTA Online for the past week. I have encountered long wait times (up to 30 minutes or even 2 hours) when trying to join GTA Online sessions. Even when I manage to ...
2
votes
2
answers
165
views
What type of NAT does iptables MASQUERADE implement?
According to several sources (e.g. https://stackoverflow.com/questions/11719572/how-to-simulate-different-nat-behaviours), MASQUERADE in iptables behaves like a Symmetric NAT (i.e. Endpoint-Dependent ...
0
votes
1
answer
55
views
IPv4 vs IPv6 source address through tunnel
I have two VPS <-> Router Wireguard tunnels separate for IPv4 and v6 and doing routing to an IP-checking website through tunnel. If I would disable NATv4, my traffic would be blocked by gateway ...
2
votes
1
answer
49
views
Home network forwarding and NAT issue
I simply cannot understand what I'm missing, as NAT is something that I never fully understood.
I made a new "home network" and would like everyone to connect to a specific device listening ...
0
votes
0
answers
52
views
IPTables NAT Forwarding SSH
I have a VPS with an IPSEC VPN using Strong Swan to a partner network. They are expecting all traffic from my network to come from one NAT'd address. I have the NAT set up successfully outbound to the ...
0
votes
0
answers
36
views
Connect two devices with different subnets
I have a problem where I need to connect one system to another that exist on different networks. How do I do this. I have tried using this NAT configuration:
iptables -t nat -I PREROUTING -d 192.168.1....
1
vote
1
answer
71
views
Attempt to access locally-hosted webserver through NAT via WireGuard & port-forwarding: Host not accessable
I have a program, "SillyTavern", that utilizes a webUI, making it essentially a webserver. My first goal was to make the webUI of this program accessible from anywhere via my smartphone. I ...
1
vote
2
answers
92
views
Is it posible to have NAT with FQDN on ATP700
I have a Zyxel ATP700 and one static external ip with a subdomain
We would like to know if it is posible to have a nat rule that filters incoming trafic by it's FQDN instead of the ports.
See image ...
0
votes
0
answers
20
views
how to configure firewall to do a NAT
i have a k8s cluseter deployed inside a proxmox host.
enter image description here
everytime i deploy an app inside the cluster , i make a NodePoer service for it, ex :30001, and in order to access ...
0
votes
0
answers
23
views
Can I specify a different source address for masquerade (source NAT)?
Given 4 interfaces:
wg0: 192.0.2.186/29
wg1: 192.0.2.178/29
eth0.2: 192.0.2.209/28
eth0.3: 10.0.0.2/24
First three are public IP addresses, latter one is a private one.
Both wg0 and wg1 provide a ...
1
vote
0
answers
26
views
Ping the uplink device via NAT
I have two routers. One is connected to the Internet, has a WAN IP XXX.XXX.XXX.XXX, internal IP 192.168.10.1, and DHCP server 192.168.10.*
The second router connects to the first one via WAN and gets ...
1
vote
0
answers
56
views
BSOD issue on host windows 11 when switching from NAT to bridged in vbox
Been using vbox for a while after a recent update to vbox 7.0.20, switching from NAT to bridged causing the host machine (win 11) to crash and becomes BSOD.
switching back to NAT the system didn't ...
1
vote
0
answers
98
views
libvirt: Create a NAT-based virtual network that uses wireless connection
I have a libvirt host [QEMU/KVM] that has ethernet [eth0] and wireless [wlan0] interfaces:
etho: host uses it to access the local network
wlan0: I want VMs to exclusively use it to connect to the ...
0
votes
0
answers
35
views
Full cone NAT in Kubernetes
How to achieve full cone NAT connectivity inside k8s pods?
I've tested NAT on EC2 (without k8s):
% pystun3
NAT Type: Full Cone
Different story inside pods:
% kubectl run natdisco --rm -i --tty --...
0
votes
0
answers
20
views
Don't receive anything from my tayga in my aws vpc
I have a server at home with both IPv6 and IPv4 addresses. However, my internet provider uses CGNAT, which makes direct connection via IPv4 impossible. To work around this, I created a VPC (with ...
0
votes
0
answers
33
views
IPTables NAT Explanation
Let's say I have a static LAN behind a NAT with the WAN network being dynamic. If I try to traceroute google.com from a board on the LAN, how does the board I'm tracerouting from know to send the ...
0
votes
0
answers
102
views
OpenVPN not working using UDP
I'm running OpenVPN on OpenWrt behind my ISP-provided NAT/gateway. I added a rule to forward TCP/UDP port number 1194 to my VPN server on the NAT. Everything works for TCP, but UDP does not seem to ...
0
votes
1
answer
42
views
IPTables Nat Confusion
I'm trying to make a NAT using IP Tables with the following configuration. OrangePI1 has two interfaces LAN and WAN.
LAN is a static address network where OrangePi2 lives and has a static ip.
On the ...
1
vote
1
answer
148
views
nftables does not catch a packet it has already seen
I setup a segmented local network, where each segment is VLAN'ed and the switch at the root of all VLANs also acts as router between all IP segments/VLAN (the switch is the Dell S4810 Running DNOS 9....
0
votes
2
answers
158
views
One-to-one NAT on Windows 10
I have three computers:
Host A: Linux PC, with IP 192.168.1.50/24
Host B: Windows VM running on Host A, with IP 192.168.1.100/24 (host-only network) and 192.168.2.100 (vpn)
Host C: PC with any OS (...
1
vote
1
answer
461
views
Is Bridge Mode on Docker the same thing as NAT Network on VirtualBox?
For me they're the same. There's the host that handles the IP's to the virtual machines and they can communicate with each other and with the host, but not see other devices on the Local Network.
...
0
votes
0
answers
161
views
Can't access webserver from WAN after Opnsense upgrade
I finally decided to upgrade my opnsense box after a couple of years of deferring and, in the heat of the moment, forgot to double-check I had configuration backups. After the upgrade to OPNsense ...
0
votes
0
answers
40
views
How to keep original IP of user after forwarding port 443 through iptables?
I have two servers for example with such IPs:
1serv - ip: 99.99.99.99
2serv - ip: 111.111.111.111
I need all traffic on 99.99.99.99 -> 111.111.111.111
I write:
sysctl net.ipv4.ip_forward=1
...
0
votes
0
answers
92
views
How to set up IPv6 NAT in libvirt open forwarding mode?
libvirt can do IPv6 NAT by itself in NAT forwarding mode if you give it the ipv6='yes' attribute. But that adds a bunch of firewall rules and I don't want it mucking up my already existing firewall ...
0
votes
0
answers
97
views
How My Management (Cloud0) knows route to devices connected to my router on EVE-NG
The issue is like the following:
If I ping www.google.com from the VPC:
Ping goes to the gateway 10.0.0.1.
In the routing table of R1 the default route is through 192.168.52.2.
Ping travels to 192.168....
0
votes
0
answers
908
views
No internet with the default switch in hyper v
I can ping VMs from host (windows 10 pro), but not from VMs (Windows 10, Linux) to host or internet. I don't wanted to create an external switch because I want the isolation the default switch offers ...
0
votes
0
answers
51
views
Azure VM private IP is used for outbound access through Azure APIs instead of NAT Gateaway IP
so I have a VM (it has a NIC with a public IP for inbound traffic so I can SSH into it) within a subnet, that subnet has a Nat Gateway with a static public IP attached to it, and that static public IP ...
0
votes
0
answers
949
views
Can you run a VPN behind a double NAT?
I heard a double NAT can introduce problems with VPNs, but I don't understand why. I want to have a LAN behind a double NAT that can be connected to using a VPN.
My desired network would look ...
0
votes
0
answers
46
views
How to achieve a git pull from a CGNAT?
I imagine my scenario to be reasonably common, so I am wondering if there is a method to achieve it.
I perform development on my local machine, which is either connected to the internet over my home ...
0
votes
1
answer
19
views
How does the central server know how to send the message to the other client?
I have been learning as a hobbyist about NAT Traversal using the RFC and I am confused about how relaying would work. Let's say I have a centralized server on DigitalOcean, hosted on a public address. ...
0
votes
1
answer
45
views
Can you forward custom domain traffic to an ip address that is behind a NAT?
I do not know much about this topic so any help would be appreciated. I live in university residences and the internet connection that is provided to us is hosted by Wifinity networks. I run a media ...
0
votes
0
answers
120
views
Linux 6.5 netfilter NAT reuses TCP ports in TIME_WAIT status?
In my understanding, Linux (netfilter)'s NAT doesn't reuse TCP ports in TIME_WAIT status, but seemingly Linux >= 6.5 reuses TCP ports in TIME_WAIT, even if the destination is the same.
For example, ...
0
votes
2
answers
46
views
Do router NAT rules for one computer affect traffic for another?
I have a router that accesses internet, and 2 computers C1, and C2 behind it.
C1 runs a (higher importance) service that needs a few fixed inbound ports, so there are NAT rules to forward those ports ...
0
votes
0
answers
400
views
TP-Link omada ER706W gigabit VPN router configuration
I want to replace the router I bought with the router given by my service provider. The router my service provider gave me was specially produced and its name is TP-Link Archer C5v. The router I ...
0
votes
0
answers
465
views
Full Cone NAT debian nftables
I have a Debian router, and I'd like to set up Full Cone NAT.
I'm using nftables and miniupnpd.
My current config (Restricted Cone NAT):
table inet nat {
chain postrouting {
type nat hook ...
0
votes
1
answer
470
views
NAT off on main router but second two routers will have NAT any Security Concerns?
This is what i've read somewhere
( Instead of turning off NAT on the main router, you may consider configuring the main router to pass through the necessary traffic to the two other routers without ...
0
votes
0
answers
31
views
In vmworkstation, NAT local and global interface MAC verification
In ARP request, VM vNIC adapter has sender MAC address 00:XX:XX:XX:XX:bb. The IP address of receiver NAT device is 192.168.237.2. The MAC address of NAT from ARP should be 00:XX:XX:XX:12
While ...
1
vote
0
answers
94
views
Cannot access internal network server from internal network device using public IP
I cannot access server2 from my laptop under the office network using public external IP address.
And here is my experiment
Case
From
To
Command
Connection
Case 1
L
server1
ssh [email protected] -p ...
0
votes
1
answer
64
views
How can I simulate NAT reflection failure with `iptables`?
Let's say that:
My workstation LAN IP is 192.168.0.101
My WAN IP is 12.34.56.78.
My consumer-grade router is port-forwarding WAN:80 to 192.168.0.101:8080
NAT Reflection / Hairpinning is working
So ...
0
votes
0
answers
44
views
Getting 2 PFSense routers to communicate with eachother
I have two routers. R2 can communicate with R1 but R1 can not communicate with R2. I know that we are supposed to resolve this with static routes. I have a screenshot showing all my work. What am I ...
0
votes
1
answer
80
views
Virtualbox NAT configuration for HTTP port forwarding
Hi I'm successfully installed Ubuntu server on virtualbox in macOS. Now, I want to access the ubuntu localhost either 0.0.0.0:8000 or 127.0.0.1:8080 in my host operating system.
I configured NAT port ...