Answer the question
In order to leave comments, you need to log in
Is it possible to set up a firewall on Ubuntu to allow certain applications access to certain subnets, and deny the rest?
What are the options?....................
Answer the question
In order to leave comments, you need to log in
Try to run an application that is allowed to access the subnet from a specific user:
sudo -u the application
then in iptables:
sudo iptables -A OUTPUT -p tcp -m owner --uid-owner -o eth1 -j ACCEPT
only instead of -o eth1 you need as- then insert the required subnet, somewhere there may be an answer
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question