Monday, February 21, 2011

Allowing-Denying remote traffic on a Port

Useful in Setting Servers... Oracle, Tomcat etc
how to run tomcat, oracle on lan
how to open close port in ubuntu/linux


1. Windows:  use firewall options from control pannel or antivirus firewall which one is enabled.
2. Ubuntu:  https://help.ubuntu.com/8.04/serverguide/C/firewall.html
sudo ufw enable     // to enable ufw utility if not enabled priviously
sudo ufw allow 8080    // allows traffic via 8080 port  ex: if u've installed tomcat on a machine on port                       8080 (default) having ip 192.168.1.5 then  192.168.1.5:8080 can open tomcat welcome page on other machines of lan.
sudo ufw deny 9090
don't forget ufw man  for more information :)

No comments:

Post a Comment