Skip to main content

Home/ ProGauge SCADA/ Group items tagged firewall

Rss Feed Group items tagged

Kevin Mershon

Firewall blocking NFS even though ports are open - 0 views

  • 1. Create the file "/etc/sysconfig/nfs" and add the following contents: STATD_PORT=4001 LOCKD_TCPPORT=4002 LOCKD_UDPPORT=4002 MOUNTD_PORT=4003 2. Append the following to the file "/etc/services": rquotad 4004/tcp # rpc.rquotad tcp port rquotad 4004/udp # rpc.rquotad udp port 3. Restart the nfs services:
  • Open up the following ports (tcp and udp) on the Fedora firewall. Do this either using the "Security Level" app in "System Settings" or using the command line iptables command (think it's in /sbin/): 111:tcp, 111:udp, 2049:tcp, 2049:udp, 4001:tcp, 4001:udp, 4002:tcp, 4002:udp, 4003:tcp, 4003:udp, 4004:tcp, 4004:udp
  • edit Code: /etc/sysconfig/nfs uncomment the default ports: Code: LOCKD_TCPPORT=32803 LOCKD_UDPPORT=32769 MOUNTD_PORT=892 STATD_PORT=662 Add those ports to your firewall rules: edit Code: /etc/sysconfig/iptables Code: # NFS -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 111 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 111 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 662 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 662 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 892 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 892 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 2049 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 2049 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 32803 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 32803 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 32769 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 32769 -j ACCEPT Restart the services: Code: /etc/init.d/iptables restart /etc/init.d/nfs restart /etc/init.d/nfslock restart
Kevin Mershon

OpenSUSE 11.4 hangs on boot when installed as XenServer guest - 0 views

  • Edit /etc/inittab. Comment out all of the normal tty's (they are unused in PV mode). For example: Code: #1:2345:respawn:/sbin/mingetty --noclear tty1 #2:2345:respawn:/sbin/mingetty tty2 #3:2345:respawn:/sbin/mingetty tty3 #4:2345:respawn:/sbin/mingetty tty4 #5:2345:respawn:/sbin/mingetty tty5 #6:2345:respawn:/sbin/mingetty tty6
  • Near the end of the file, there (may) should be a cons entry. Comment it out as well Code: #cons:12345:respawn:/sbin/smart_agetty -L 42 console
  • add this line to the end of inittab: Code: co:2345:respawn:/sbin/agetty xvc0 9600 vt102
  • ...1 more annotation...
  • From XenCenter: Right click on the VM, click Startup Options. Replace all the text in OS Boot Parameters with this: Code: xencons=xvc console=xvc0
1 - 2 of 2
Showing 20 items per page