Hot answers tagged

2 votes

How exactly does Linux use the prefix length assigned to network interface?

That is, does the prefix length have no meaning and the real work is done by the route entries? The subnet mask defines your subnet, and thus also defines what the broadcast address is, and to which ...
Marcus Müller's user avatar
2 votes

Forwarding REST API requests and responses using iptables

You do not do it with IP tables, you do it with http-server configs. Setup two http servers. One visible to the public (your node-int), and another inside your LAN, unaccessible from outside world (...
White Owl's user avatar
  • 5,109
1 vote

nft port forwarding not working on router

Let's look at a part of the Packet flow in Netfilter and General Networking schematic. It was made for iptables but most of it applies for nftables: It's documented that the nat table is consulted ...
A.B's user avatar
  • 35.4k
1 vote

ip route: no route to host

sudo ip route add via dev enp0s3 appears to be the IP address associated with enp0s3. You should be providing the address of the router on which can ...
symcbean's user avatar
  • 5,452
1 vote

NetworkManager changes default routing policy

If someone cannot fix the issue with other answers, you may also want to check if you don't have another network manager installed that is interfering. I had both ConnMan and NetworkManager installed ...
baptx's user avatar
  • 275

Only top scored, non community-wiki answers of a minimum length are eligible