Å×Å©³ëÄÄÇ»ÅÍ
tar xvfz ipvsadm-1.15.tar.gz make install
¼¹ö°¡ »ì¾Ò³ª Á×¾ú³ª È®ÀÎÇÒ¶§ pingÀ» »ç¿ëÇÏÁÒ.. ´ÙÀ½ ¿É¼ÇÀ¸·Î ¼¹öÀÇ ping¿¡ ´ëÇÑ ¹ÝÀÀÀ» on offÇÒ¼ö ÀÖ½À´Ï´Ù. /etc/rc.d/rc.local¿¡´Ù ³Ö¾î µÎ¸é ÁÁ°ÚÁÒ.. # echo 1 >/proc/sys/net/ipv4/icmp_echo_ign...
xÀ©µµ¿ì´Â xhost¶ó´Â ÇÁ·Î±×·¥À» ÀÌ¿ëÇÏ¿© ¿ø°Ý ÇÁ·Î±×·¥À» ÀÚ½ÅÀÇ À©µµ¿ì¿¡ ¶ç¿ï ¼ö ÀÖ½À´Ï´Ù. ¿ì¼± ¿ø°Ý È£½ºÆ®(¿¹¸¦ µé¸é kulsnet)°¡ ÀÚ½ÅÀÇ x¼¹ö(kuls2)¸¦ »ç¿ëÇÒ ¼ö ÀÖ°Ô Çã°¡±ÇÀ» ÁÝ´Ï´Ù. $xhost +kul...
¸®´ª½º ºÎÆà µð½ºÄÏ ¸¸µé±â, LILO°¡ Æļյż ºÎÆÃÀÌ ¾ÈµÉ¶§... 2000.11. 8 À̼º¼ö(senux@senux.com) ¸¸µë ¸®´ª½º ½Ã½ºÅÛÀ» »ç¿ëÇÏ´Ù °£È¤ ºÎÆÃÀÌ ¾ÈµÇ´Â ¹®Á¦°¡ »ý°åÀ»¶§ Ãʺ¸ÀÚºÐÀº ´çȲÇÏ´Â °æ¿ì°¡ ¸¹½À´Ï...
Ãâó:http://linux.sarang.net/board/?p=read&table=tip&no=2653&o[at]=s&o[sc]=a&o[ss]=fsck&o[st]=a ext3 ÆÄÀϽýºÅÛ±¸ÃàÇϱâ. ÁÖÀÇ) ÇԺηΠ½Ã½ºÅÛÀ» °Çµå¸®´Â°ÍÀº À§ÇèÇÏ´Ï ÁÖÀÇÇϽñâ¹Ù¶ø´Ï´Ù. ext3´Â Á®...
À¯µ¿¾ÆÇǶó¼ ÄÓ¶§¸¶´Ù ip°¡ ¹Ù²ò´Ï´Ù. °¡²ûÀº ±×´ë·ÎÀ̱¸¿©... ±×·¡¼ Áý¹Û¿¡¼µµ ÄÄ¿¡ Á¢±ÙÇÒ ¼ö ÀÖµµ·Ï ½ºÅ©¸³Æ®¸¦ ¸¸µé¾îºÃ½À´Ï´Ù... /etc/rc.d/rc.local¿¡ ¾Æ·¡¿Í °°ÀÌ µî·ÏÇØ µÎ¸é µÇ°ÚÁÒ... /etc/star...
adslÁ¢¼ÓÇÏ°í rc.local.¿¡¼ Ãß°¡ÇÏ¿© »ç¿ëÇÏ´Â ½ºÅ©¸³Æ® ÇöÀç »óÅ¿¡¼ ºüÁø°ÍÀº dns¼¹ö¿¡ º¯°æ°ªÀ» º¸³×´Â °ÍÇÏ°í dns¼¹ö¿¡¼ ÇØ´ç µµ¸ÞÀÎÀ» activeÇϴ°͸¸ ºüÁ®ÀÖ½À´Ï´Ù.
/etc/rc.d/init.d/firewall #!/bin/sh # Get ip extip="`ifconfig ppp0 grep 'inet addr' awk '{print $2}' sed -e 's/.*://'`" # Save ip echo $extip > /etc/ppp/ip ipchains -P input ACCEPT ip...
> ÇãÁ¤±Õ ´ÔÀÌ ¾²½Å ±ÛÀÔ´Ï´Ù. > À¯µ¿¾ÆÇǶó¼ ÄÓ¶§¸¶´Ù ip°¡ ¹Ù²ò´Ï´Ù. °¡²ûÀº ±×´ë·ÎÀ̱¸¿©... > ±×·¡¼ Áý¹Û¿¡¼µµ ÄÄ¿¡ Á¢±ÙÇÒ ¼ö ÀÖµµ·Ï ½ºÅ©¸³Æ®¸¦ ¸¸µé¾îºÃ½À´Ï´Ù... > /etc/rc.d/rc.local¿¡ ¾Æ·¡¿Í °°...
.
°©ÀÚ±â ÄÄÇ»ÅÍ°¡ ²¨ÁøÈÄ ´Ù½Ã ºÎÆýÃų·Á°í ÇÏ´Ï check root file system.... ¸ð ÀÌ·¸°Ô ³ª¿À¸é¼ CTRL+D Reboot login root password> ÀÌ·¸°Ô ³ª¿Ã‹š ·çÆ® ¾ÏÈ£ ´©¸£°í ¹®Á¦ ÀÖ´ÂÇÏµå µð½ºÅ©¸¦ ¾Ë¾Æ³»µÚ.....
Ãâó :http://www.hobanlife.com/
Virtual Server via NAT This page contains information about how to setup a virtual server via NAT. Network address translation Due to the shortage of IP address in IPv4 and some security reasons, ...
tar xvfz ipvsadm-1.15.tar.gz make install
Port Forwarding - with Linux 2.2 What's Changes If you haven't used Port Forwarding before, you can skip this section. This is quick guide to the changes since 2.0.36. Most of the changes are mino...
¼¹ö°¡ »ì¾Ò³ª Á×¾ú³ª È®ÀÎÇÒ¶§ pingÀ» »ç¿ëÇÏÁÒ.. ´ÙÀ½ ¿É¼ÇÀ¸·Î ¼¹öÀÇ ping¿¡ ´ëÇÑ ¹ÝÀÀÀ» on offÇÒ¼ö ÀÖ½À´Ï´Ù. /etc/rc.d/rc.local¿¡´Ù ³Ö¾î µÎ¸é ÁÁ°ÚÁÒ.. # echo 1 >/proc/sys/net/ipv4/icmp_echo_ign...
¾ÆÆÄÄ¡¿¡¼ Àü¼Û ¼Óµµ Á¦ÇÑÇϱâ (¸ðµç ¼³¸íÀº ·¹µåÇÞ 6.0À» ±âÁØÀ¸·Î ÇÕ´Ï´Ù.) 1. ¾ÆÆÄÄ¡ 1.3.x¿ë bandwidth ¸ðµâÀÌ ÇÊ¿äÇÕ´Ï´Ù. ftp://ftp.cohprog.com/pub/apache/module/1.3.0/mod_bandwidth.c¸¦ ¹Þ¾Æ ¿À½Ã...
¾ÆÆÄÄ¡ ÈÀÏ¿¡ À̺κÐÀ» ³Ö¾îµÎ¸é ȨÆäÀÌÁö ±Ü¾î°¡´Â°Í ¾î´ÀÁ¤µµ´Â ¸·À»¼ö ÀÖ½À´Ï´Ù. vi /usr/local/etc/httpd/conf/httpd.conf -------------------- ¼Ò½º -------------- BrowserMatch "WebZIP" go_out Br...
Amd ¿ÀÅ丶¿îÆ® µ¥¸ó, ¿ø°ÝÁö¿¡¼ ¼¹ö Á¢¼Ó½Ã ÀÚµ¿À¸·Î ¸¶¿îÆ® µð·ºÅ丮µéÀ» ¸¶¿îÆ® Çϴ°ÍÀÔ´Ï´Ù. Áï, ¿äûÀÌ ÀÖÀ» ¶§ ÀåÄ¡¿Í HFS È£½ºÆ®¸¦ ¸¶¿îÆ® ½ÃÄÑ ÁÖ´Â ÀÚµ¿ ¸¶¿îÆ® µ¥¸óÀÔ´Ï´Ù. ³×Æ®¿öÅ© ±¸¼ºÀÌ À߸ø...
mkbootdisk --device /dev/fd0 2.2.0-pre8 À̶ó°í ÀÔ·ÂÇÕ´Ï´Ù. ¸¸¾à ÀÚ½ÅÀÇ Ç÷ÎÇÇ µå¶óÀ̺ê ÀåÄ¡¸íÀÌ fd0ÀÎ °æ¿ì À§ÀÇ --device /dev/fd0 ºÎºÐÀº »ý·«Çصµ µË´Ï´Ù. ÇÏÁö¸¸ ÀÚ½ÅÀÇ Ç÷ÎÇÇ µå¶óÀ̺ê ÀåÄ¡¸íÀÌ /de...
************************************* DB¿Í DB User¸¦ Ãß°¡ÇÏ´Â µµ±¸ ************************************* USAGE : mysql.create [DB/USER] [PASSWORD] $ cat /usr/local/bin/mysql.create #!/bin/sh #...
·¹µåÇÞ 7.0 ¿µ¹®ÆÇ ½Ãµð·ç mysql rpm ÀνºÅç ÇϽźÐÀº ·¹µåÇÞ »çÀÌÆ®¿¡¼ ÆÐÄ¡¹öÁ¯ ¹ÞÀ¸¼¼¿ä. 3.23.22 -> 2.23.24 ·Î ¹öÁ¯¾÷ÀÌ µÇ¾îÀÖ´õ±º¿ä. pid ÆÛ¹Ì¼Ç ¹®Á¦·Î »ý¼ºÀÌ ¾ÈµÇ´Â ¹®Á¦°¡ ¹ß»ýÇÏ¿© ·çÆ®¿Í ...
mysqlclient µµÇؾßÇÏ°í ½É°¢ÇÒ¶§ lib* glib* php* ±âŸµîµî ¸¹Àº rpmÀ» ¾÷µ¥ÀÌÆ® ÇØ¾ß »ç¿ë°¡´ÉÇÕ´Ï´Ù. > ÇãÁ¤±Õ ´ÔÀÌ ¾²½Å ±ÛÀÔ´Ï´Ù. > ·¹µåÇÞ 7.0 ¿µ¹®ÆÇ ½Ãµð·ç mysql rpm ÀνºÅç ÇϽźÐÀº ·¹µåÇÞ »çÀÌÆ®¿¡¼...
http://linux.sarang.net/board/?p=list&table=tip
Netscape 4.76ÇѱÛȽÃÅ°´Â ¹æ¹ý ´ÙÀ½ÀÇ ¹®¼´Â Netscape 4.76À» ÇѱÛÈ ½ÃÄÑ ¼³Ä¡ÇÏ´Â ¹æ¹ýÀ» Àû°í ÀÖ½À´Ï´Ù. o ÇÊ¿äÇÑ ÈÀÏ 1. netscape 4.76 ¹èÆ÷ÆÇ 2. ÃÖÁØÈ£ ´ÔÀÇ ÇѱÛÈ ¸®¼Ò½º (http://www.kr....
1. vi¿¡¼ (not vim) vi¿¡¼ dos modeÀÇ ÈÀÏÀ» ÀÐÀ¸¸é ÁÙ³¡¿¡ ^MÀÌ ³ªÅ¸³³´Ï´Ù. ¸í·É¾î ¸ðµå¿¡¼.. :%s/^M//g %s´Â ġȯ¸í·ÉÀÔ´Ï´Ù. %s///mode À§¿¡¼ mode¿¡ g¸¦ ½è´Âµ¥, ÀÌ°ÍÀº globalÀÇ ¾àÀÚ·Î ÈÀÏ ...
ls * µð·ºÅ丮¾ÈÀÇ ³»¿ëÀ» ¿¶÷Çϱâ À§ÇÑ ¸í·É -a "."À¸·Î ½ÃÀÛÇÏ´Â ÆÄÀϵéÀ» Æ÷ÇÔÇÏ¿© µð·ºÅ丮ÀÇ ¸ðµç ³»¿ëÀ» Ãâ·Â. -l ÆÄÀÏÀÇ ¸ðµå ,¸µÅ©¼ö, »ç¿ëÀÚ¸í, ±×·ì¸í, ¹ÙÀÌÆ®¼ö, ÃÖÁ¾¼öÁ¤½Ã°£ÀÇ Á¤º¸¸¦ Ãâ·ÂÇÑ´Ù...
¼¹öÀÌÀüÀ̳ª ¹é¾÷½Ã ¾ÐÃà¹æ¹ý ========================================================================= ¢Ã tar zcvfp ¾ÐÃàµÉÆÄÀϸí.tgz ¾ÐÃàÇÒµð·ºÅ丮¸í => ¾ÐÃàÇÒ ¶§ ¢Ã tar zxvfp ¾ÐÃàÆÄÀϸí.tgz ¾Ð...
1. µð·ºÅ丮 Àüü ¹é¾÷À» ÇϽʽÿÀ. telnet À¸·Î Á¢¼ÓÇÑ ´ÙÀ½ ȨÆäÀÌÁö°¡ ÀÖ´Â ÃÖ»óÀ§ µð·ºÅ丮¿¡¼ tar cvpf ¹À»ÆÄÀϸí.tar * ÀÌ¿Í °°ÀÌ Çϸé ÇÏÀ§µð·ºÅ丮±îÁö ÇÑ°³ÀÇ ÆÄÀÏ·Î ¹¾î Áý´Ï´Ù. ÀÌ°ÍÀ»...
http://ipwhois.nic.or.kr/ ipÇÒ´ç
/etc/security/limits.conf ÆÄÀÏÀ» ºÁº¸¼¼¿ä. ¾Æ·¡ ¿¹¹®Àº user ±×·ì »ç¿ëÀÚ´Â µ¿ÀϾÆÀ̵ð·Î µ¿½ÃÁ¢¼ÓÇÏÁö ¸øÇÏ°Ô ÇÑ°ÍÀÔ´Ï´Ù. (Ưº°È÷ ¼ºñ½º¸¦ Àç°¡µ¿ÇÒ ÇÊ¿ä¾øÀÌ ¹Ù·Î Àû¿ëµË´Ï´Ù.) @user - ...
0.telnet deamonÀ» Á×À̰ųª 1./etc/passwd¸¦ ¼öÁ¤Çϰųª 2./etc/nologinÀ» ¸¸µé°Å³ª 3..bashrc¸¦ ¼öÁ¤Çϰųª ÇÏ¸é µË´Ï´Ù. º¸¾È ¼øÀ§´Â À§¿¡¼ ¾Æ·¡ÂÊÀ¸·Î ¾àÇØÁý´Ï´Ù. 1¿¡ ´ëÇѼ³¸í--------------------------...
[ ÀÚ·á½Ç ]
±¤°í¼º ±ÛÀ̳ª ºÒ¹ýÀÚ·á ¾÷·Îµå¸¦ ±ÝÇÕ´Ï´Ù.
|
http://www.monmouth.demon.co.uk/ipsubs/portfw-
|
À̸§ : ÇãÁ¤±Õ ¹øÈ£ : 27.2 Á¶È¸ : 92134
¾÷·Îµå : 2001-05-18 09:17:35 ¼öÁ¤ÀÏ : 2001-05-25 22:07:19
|
|
Port Forwarding - with Linux 2.2
What's Changes
If you haven't used Port Forwarding before, you can skip this section. This is quick guide to the changes since 2.0.36. Most of the changes are minor and can be ignored.
You don't need any kernel patches. The kernel already has the port forwarding code.
There is a new tool to administer port forwarding rules - ipmasqadm replaces ipportfw. It's easy to convert to the new tool - just replace "ipportfw" by "ipmasqadm portfw" and it will work.
Download ipmasqadm from http://juanjox.kernelnotes.org/ or if you using Redhat 6, download the RPMs from: ftp://ftp.redhat.com/pub/contrib/libc6/i386/ipmasqadm-0.4.2-3.i386.rpm.
If you are using modern RedHat kernels, you have already have Port Forwarding included as a module. To install it run:
modprobe ip_masq_portfw.o
If you use other distributions, you'll need to compile a new kernel with Port Forwarding support. You'll need to include the following options:
CONFIG_EXPERIMENTAL
CONFIG_IP_MASQUERADE
CONFIG_IP_MASQUERADE_IPPORTFW
If you're not familiar with compiling and installing kernels, read the Kernel HOWTO.
Before attempting to setup Port forwarding, set up and use IP Masquerading. Until it's enabled with ipportfw, Port forwarding will not affect IP Masquerading in any way. You can find more information about masquerading in the Masquerading HOWTO. The IP Chains HOWTO is also useful.
To configure redirection of a local port (local refers to the machine running the masquerading), you need to use ipportfw. It's options can be described as:
ipmasqadm portfw -h
Usage: portfw -a -P PROTO -L LADDR LPORT -R RADDR RPORT [-p PREF] add entry
portfw -d -P PROTO -L LADDR LPORT [-R RADDR RPORT] delete entry
portfw -f clear table
portfw -l list table
portfw {args} -n no names
PROTO is the protocol, can be "tcp" or "udp"
LADDR is the local interface receiving packets to be forwarded.
LPORT is the port being redirected.
RADDR is the remote address.
RPORT is the port being redirected to.
PREF is the preference level (load balancing, default=10)
Need an Example. OK...
ipchains -P forward DENY
ipchains -A forward -i ppp0 -j MASQ
echo 1 > /proc/sys/net/ipv4/ip_forward
#this will clear all previous port forward rules
ipmasqadm portfw -f
#this will redirect all web conections (port 80) to you intenal server (using the tcp protocal (proto))
ipmasqadm portfw -a -P tcp -L 194.160.1.1 80 -R 10.10.0.2 80
#this will redirect timed connections
ipmasqadm portfw -a -P udp -L 194.160.1.1 525 -R 10.0.0.2 525
ipmasqadm portfw -l
prot localaddr rediraddr lport rport pcnt pref
TCP guardian tricord www www 6 10
UPD guardian tricord time time 10 10
|
|
|
Absolute number:59
|
|
|
|
|
|
|
|
|