Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

New answers tagged

0 votes
Accepted

How to make my Linux router forward traffic over a NAT properly?

I got it working by adding the forwarding rules to iptables with sudo iptables -A FORWARD -i enp5s0 -o wlp6s0 -j ACCEPT sudo iptables -A FORWARD -i wlp6s0 -o enp5s0 -m state --state RELATED,...
jnasworld223's user avatar
0 votes

DNS resolution in NAT gateway blocked by ufw

It turns out I have to allow traffic routing in ufw, like this: ufw route allow in on enp7s0 out on eth0 These commands are not required: ufw allow in from 172.16.0.0/24 to any proto tcp ufw allow in ...
alexandernst's user avatar

Top 50 recent answers are included