LinuxϹرպͿªÆô·À»ðǽÃüÁî
1) ÓÀ¾ÃÐÔÉúЧ£¬ÖØÆôºó²»»á¸´Ô
¿ªÆô£º chkconfig iptables on
¹Ø±Õ£º chkconfig iptables off
2) ¼´Ê±ÉúЧ£¬ÖØÆôºó¸´Ô
¿ªÆô£º service iptables start
¹Ø±Õ£º service iptables stop
ÐèҪ˵Ã÷µÄÊǶÔÓÚLinuxÏÂµÄÆäËü·þÎñ¶¼¿ÉÒÔÓÃÒÔÉÏÃüÁîÖ´ÐпªÆôºÍ¹Ø±Õ²Ù×÷¡£
ÔÚ¿ªÆôÁË·À»ðǽʱ£¬×öÈçÏÂÉèÖ㬿ªÆôÏà¹Ø¶Ë¿Ú£¬
ÐÞ¸Ä/etc/sysconfig/iptables Îļþ£¬Ìí¼ÓÒÔÏÂÄÚÈÝ£º
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
Ïà¹ØÎĵµ£º
´Ó°´ÏÂPCµçÔ´£¬µ½³öÏÖÊìϤµÄbashÌáʾ·û"$"»ò½øÈëÆ¯ÁÁµÄKDE/GNOME×ÀÃæ£¬ÕâÊÇÎÒÃÇÿÌ쿪»ú±Ø¾µÄ¹ý³Ì¡£ÄÇô£¬ÔÚÕâ¶Ì¶Ì¼¸Ê®ÃëÄÚ£¬LinuxÊÇÔõÑùÆô¶¯µÄÄØ£¿±¾ÎĽéÉÜLinuxµÄÆô¶¯¹ý³Ì¡£
ƽ̨£ºPC»ú, Ubuntu 5.10
»ù´¡ÖªÊ¶
BIOS (Basic I/O System£¬»ù±¾ÊäÈë/Êä³öϵͳ)
& ......
ת×Ôhttp://liuleijsjx.javaeye.com/blog/450933
1.²ßÂÔ·ÓÉ
»ùÓÚ²ßÂԵķÓɱȴ«Í³Â·ÓÉÔÚ¹¦ÄÜÉϸüÇ¿´ó£¬Ê¹ÓøüÁé»î£¬ËüÊ¹ÍøÂç¹ÜÀíÔ±²»½öÄܹ»¸ù¾ÝÄ¿µÄµØÖ·¶øÇÒÄܹ»¸ù¾Ý±¨ÎÄ´óС¡¢Ó¦ÓûòIPÔ´µØÖ·À´Ñ¡Ôñת·¢Â·¾¶...
#/etc/iprout ......
ÕªÒª£º¶¯Ì¬Á´½Ó¿â¼¼ÊõʵÏÖºÍÉè¼Æ³ÌÐò³£Óõļ¼Êõ£¬ÔÚWindowsºÍLinuxϵͳÖж¼Óж¯Ì¬¿âµÄ¸ÅÄ²ÉÓö¯Ì¬¿â¿ÉÒÔÓÐЧµÄ¼õÉÙ³ÌÐò´óС£¬½ÚÊ¡¿Õ¼ä£¬Ìá¸ßЧÂÊ£¬Ôö¼Ó³ÌÐòµÄ¿ÉÀ©Õ¹ÐÔ£¬±ãÓÚÄ£¿é»¯¹ÜÀí¡£
µ«²»Í¬²Ù×÷ϵͳµÄ¶¯Ì¬¿âÓÉÓÚ¸ñʽ ²»Í¬£¬ÔÚÐèÒª²»Í¬²Ù×÷ϵͳµ÷ÓÃʱÐèÒª½øÐж¯Ì¬¿â³ÌÐòÒÆÖ²¡£±¾ÎÄ·ÖÎöºÍ±È½ÏÁËÁ½ÖÖ²Ù×÷ϵͳ¶¯Ì¬¿â¼¼Ê ......
ÓÃsecureCRTÁ¬½ÓLinuxʱ³öÏÖÈçÏ´íÎó£ºThe remote system refused the connection.
1¡¢²éѯsshd¹¤×÷״̬
#service sshd status
ÏÔʾstop
2¡¢ÔËÐÐ#service sshd restart
ÏÔʾPermissions 0777 for '/etc/ssh/ssh_host_rsa_key' are too openµÈһЩȨÏÞ´íÎó
3¡¢ÐÞ¸Ä/etc/sshϵÄÃÜԿȨÏÞ
#chmod 600 sshd_config
#chm ......