Techgoober
Technical User
Having issue with firewall and need to know what port needs to be open to backup through the Linux Firewall. (RHEL 5 64bit server with firewall enabled)
1) Is there a way to know what ports are required to be open with respect to our system. Is there a config file I can look at to get the details from the linux server?
2) The issue we are having is with the firewall enabled on RHEL 5 64bit server with firewall enabled NOT a Windows machine
3) Here are various ports that I will open will these be enough?
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 10000 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 32821:32829 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 6101 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 3527:6106 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 1125 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p udp --dport 1125 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 1434 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p udp --dport 1434 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p udp --dport 88 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p udp --dport 135:139 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 135:139 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 445 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 3106 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 6103 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 162 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 25 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 441 -j ACCEPT
service iptables save
5) This is the link I used to determine the above ports
1) Is there a way to know what ports are required to be open with respect to our system. Is there a config file I can look at to get the details from the linux server?
2) The issue we are having is with the firewall enabled on RHEL 5 64bit server with firewall enabled NOT a Windows machine
3) Here are various ports that I will open will these be enough?
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 10000 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 32821:32829 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 6101 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 3527:6106 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 1125 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p udp --dport 1125 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 1434 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p udp --dport 1434 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p udp --dport 88 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p udp --dport 135:139 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 135:139 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 445 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 3106 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 6103 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 162 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 25 -j ACCEPT
iptables -I INPUT -s 10.97.8.50 -p tcp --dport 441 -j ACCEPT
service iptables save
5) This is the link I used to determine the above ports