3
1
I'm new using Ubuntu and ufw command to set firewall rules. I have an apache service running and I'm able to deny the access to the root path using apache2.conf. I have another backend app running on port 3000 which is not using apache so I can't deny access through apache ( and If I'm able to to that, I don't know how ).
I try then to configure the firewall to deny access ONLY to port 3000, but when I enable the firewall it seems that the fw denies all the traffic.
What is the best way to do that?
Thanks barlop, I use next order: 1- Deny =
ufw deny 3000/tcp
2- Allow =sudo ufw allow from IP/Network to any
I want only a subnet to acces the port. Now other computers can't acces. Thanks! – proquibas – 2015-05-22T06:59:36.313@proquibas no problem. By the way, you may be interested to know for future reference, that there is a ubuntu stackexchange http://askubuntu.com/
– barlop – 2015-05-22T07:03:03.950