How to set connection only for resources on it’s network
by cary.perque from LinuxQuestions.org on (#5CG9H)
Hello reader
I installed Ubuntu server 20 on raspberry pi without a desktop. I installed nmtui to set network connection and have both Ethernet and wifi active.
I also have another machine with Ubuntu 20 with a desktop. On the desktop you can go into network connection > select Ethernet connections > Settings > IPv4 Settings > click on the Routes" button and in the new dialog window there is the option to select Use this connection only for resources on it's network".
How can I apply that setting in Ubuntu server?
Thank you for your help


I installed Ubuntu server 20 on raspberry pi without a desktop. I installed nmtui to set network connection and have both Ethernet and wifi active.
I also have another machine with Ubuntu 20 with a desktop. On the desktop you can go into network connection > select Ethernet connections > Settings > IPv4 Settings > click on the Routes" button and in the new dialog window there is the option to select Use this connection only for resources on it's network".
How can I apply that setting in Ubuntu server?
Thank you for your help