Contents

Views 14738 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. [linux] 리눅스 파일시스템과 디렉토리 설명

    Date2013.04.23 CategorySystem/OS Byhooni Views26877
    Read More
  2. [linux] 랜카드가 2개 일 때 네트워크 설정

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

    Date2003.04.23 CategorySystem/OS Byhooni Views14738
    Read More
  4. [linux] 데스크탑환경(GNOME/KDE) 바꾸기..

    Date2003.04.23 CategorySystem/OS Byhooni Views12101
    Read More
  5. [linux] 데비안(debian.org) 리눅스 명령어 예제

    Date2006.04.23 CategorySystem/OS Byhooni Views10422
    Read More
  6. [linux] 네트웍 트래픽 모니터링(MRTG)

    Date2003.04.23 CategorySystem/OS Byhooni Views41811
    Read More
  7. [linux] 네트워크 커널 설정..

    Date2003.04.23 CategorySystem/OS Byhooni Views16477
    Read More
  8. [linux] 꿀통(honeyd) 설치하기.. 메뉴얼 과정

    Date2006.04.23 CategorySystem/OS Byhooni Views20219
    Read More
  9. [linux] 기존 환경설정 저장하면서 커널 컴파일..

    Date2003.04.23 CategorySystem/OS Byhooni Views13462
    Read More
  10. [linux] 기본적인 설정하기(내공쌓기)

    Date2003.04.23 CategorySystem/OS Byhooni Views13993
    Read More
  11. [linux] 기본 명령어 (내공쌓기)

    Date2003.04.23 CategorySystem/OS Byhooni Views14333
    Read More
  12. [linux] 계정관리하기(내공쌓기)

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