Contents

Views 14732 Comment 0
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
/etc/sysconfig/network
-------------------------------------------------------------------
NETWORKING=yes
FORWARD_IPV4=yes
HOSTNAME=ns
GATEWAY=211.227.115.142
GATEWAYDEV=eth0
-------------------------------------------------------------------


/etc/sysconfig/network-scripts/ifcfg-eth0
-------------------------------------------------------------------
BOOTPROTO=static
BROADCAST=211.227.115.0
IPADDR=211.227.115.130
NETMASK=255.255.255.0
NETWORK=211.227.115.0
ONBOOT=yes
-------------------------------------------------------------------


/etc/sysconfig/network-scripts/ifcfg-eth1
-------------------------------------------------------------------
DEVICE=eth1
BOOTPROTO=static
BROADCAST=192.168.1.255
IPADDR=192.168.1.1
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes
-------------------------------------------------------------------


/etc/rc.d/rc.local
-------------------------------------------------------------------
insmod ip_tables
insmod iptable_filter
insmod ip_conntrack
insmod ipt_state
insmod ipt_limit

iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to 211.227.115.130

echo "1" > /proc/sys/net/ipv4/ip_forward
-------------------------------------------------------------------


?

  1. [doc] 네트워크 장비와 라우터 설정 방법 발표 자료

    Date2013.04.23 CategorySystem/OS Byhooni Views14493
    Read More
  2. [mac] SVN 1.8 업데이트 방법

    Date2013.09.24 CategorySystem/OS Byhooni Views14561
    Read More
  3. [linux] 아파치설치/설정(CGI부분)

    Date2003.04.23 CategorySystem/OS Byhooni Views14568
    Read More
  4. [linux] sendmail 설정/사용

    Date2003.04.23 CategorySystem/OS Byhooni Views14570
    Read More
  5. [linux] 리눅스 활용 팁^^

    Date2003.04.23 CategorySystem/OS Byhooni Views14629
    Read More
  6. [linux] 랜카드 2개 설정 & iptables 로 사설 ip..

    Date2003.04.23 CategorySystem/OS Byhooni Views14732
    Read More
  7. [sql] 중복데이터 삭제 쿼리

    Date2013.04.23 CategorySystem/OS Byhooni Views14734
    Read More
  8. [linux] 웹로그분석기(webalizer) 설치 & 팁

    Date2003.04.23 CategorySystem/OS Byhooni Views14882
    Read More
  9. [linux] 이기종간의 파일 공유(Samba)

    Date2003.04.23 CategorySystem/OS Byhooni Views14900
    Read More
  10. [perl] 펄 환경 설정해야 할거 ㅋㅋ

    Date2003.04.23 CategorySystem/OS Byhooni Views14992
    Read More
  11. [linux] 아파치설치/설정 - 사용인증

    Date2003.04.23 CategorySystem/OS Byhooni Views15084
    Read More
  12. [linux] 센드메일 동적릴레이 설치

    Date2003.04.23 CategorySystem/OS Byhooni Views15228
    Read More
Board Pagination Prev 1 ... 6 7 8 9 10 11 12 13 14 15 ... 17 Next
/ 17