Questions tagged [nat]
In computer networking, Network Address Translation (NAT) is the process of modifying IP address information in IPv4 headers while in transit across a traffic routing device.
361
questions
0
votes
0
answers
18
views
pfSense routing issues
Ive got a routing issue on my pfSense box that shows the response to a ping request being routed to a IP in a separate subnet/vlan.
10:25:13.239238 IP 10.2.0.2 > 8.8.8.8: ICMP echo request, id 9374,...
-1
votes
0
answers
42
views
SSH Timeout Mystery
I have two LANs; one at home and one at a condo. Both LANs use TP-Link Deco routers which can be configured remotely. I have verified that the routers are correctly configure for port forwarding for ...
-1
votes
0
answers
55
views
In Ubuntu 24.04 How to configure sharing Internet on WiFi with the hosts connected on Ethernet and another Gateway
My SOHO LAN has this structure:
WAN (ISP IP) -- Router--LAN(192.168.1.1) with hosts 192.168.1.0/24
One Host is Hypervisor(192.168.2.1 and 192.168.1.20) with three VMs
created 192.168.2.10, 192.168.2....
1
vote
0
answers
37
views
How do I configure 2 public IP addresses on Debian and enable NAT traversal on one?
I got 2 IP addresses from my hosting company, xx.xx.xx.109 and xx.xx.xx.110, both in the same subnet. The subnet mask is 255.255.255.192 and the gateway is xx.xx.xx.20
I have a Proxmox server and ...
0
votes
1
answer
51
views
iptables: NAT bridge traffic
Background
I have a linux machine with bridge interfaces as shown below...
---{prenat}--> ---{postnat}-->
source: 172.25.0.3 source: 192.0.2.1
+---------------...
1
vote
0
answers
44
views
NAT router with private IP towards ISP and public IP on the second interface, localhost traffic problem
I need help with the following network and router. Under emergency conditions, I received the following network. The router (Ubuntu) has two interfaces and a DNS function. The private address on the ...
0
votes
0
answers
22
views
How to enable NAT loopback/hairpinning with iptables on router?
I have a HG659b router, and have got shell access to the router, so I can configure the iptables.
In the web page, I have configure a port forwarding setup to forward port 37777 to the host 192.168.1....
0
votes
0
answers
23
views
How to configure DNAT in iptables between host os (FreeBSD) and guest os (Ubuntu 23.10) so that I can use Cloudflare on both the OS
I've just installed the CloudFlare client + GUI on Ubuntu,that I have virtualized with bhyve (the FreeBSD hypervisor). Cloudflare does not work on FreeBSD. The instructions that I have followed are ...
1
vote
1
answer
111
views
How does linux report SNAT port exhaustion [closed]
I would like to monitor a router for potential SNAT port exhaustion. I'm fully aware of how unlikely this is to happen. I would still like to know how I could detect this on my running system. Does ...
1
vote
1
answer
28
views
Packet forwarding from dual stack interface to localhost
I have a linux SUSE host which has both ipv4 and v6 enabled, below are the interfaces:- eth0,app,eth1 however the default route is available for ipv4 via eth0. Kubernetes is running on this host(...
0
votes
0
answers
24
views
How to Allow all NATed traffic from iptables firewall via pfsense (gateway)
I have an iptables firewall (machine 1) and a centos 7 based gateway (machine 2), which is having 2 interfaces (machine-2:int-1) from WAN [/30] and (machine-2:int-2) is LAN [/28] one of the static IP ...
0
votes
1
answer
42
views
Use VPN connection only for selected applications
I am trying to follow: https://superuser.com/a/1262250/41337 but I cannot make it work.
I do:
interface=eth0
down() {
ip netns delete myvpn
ip link delete vpn0
iptables -D INPUT \! -i ...
0
votes
0
answers
27
views
Firewalld is running, I can acccess unallowed kubernetes exposed port?
I have a Kubeadm based Kubernetes cluster. Firewalld is running on all nodes on the cluster.
I expose a nginx service via NodePort service, that on theory should be accessible via all nodes on the ...
1
vote
0
answers
72
views
NAT table in iptables rules and SNAT
I am new to iptables and I would appreciate some help understanding a specific rule in the nat table of a router. The router's external interface is vlan2 (111.111.111.111) and the internal interface ...
2
votes
1
answer
102
views
nft port forwarding not working on router
I have a machine that serves both as a router and a server. I have several lxc containers on this machine, and want to expose them to both the LAN and WAN. Following https://access.redhat.com/...