root 설정
sudo passwd root
root 자동 로그인
vi /etc/gdm/custom.conf
[daemon]
TimedLoginEnable=true
AutomaticLoginEnable=true
TimeLogin=root
AutomaticLogin=root
TimedLoginDelay=30
DefaultSession=gnome
# http://bluemir7.tistory.com/107
ubuntu 설치후 gcc
sudo apt-get install build-essential
# http://chunsinn.egloos.com/1244595
터미널 설정
sudo apt-get install nautilus-open-terminal
# http://clccclcc.egloos.com/9673397
프로그램 설치
apt-get install vim
apt-get install ncftpget
apt-get install gmp-doc
frees/wan source down
ncftpget ftp://ftp.xs4all.nl/pub/crypto/freeswan/freeswan-\
커널 컴파일에 필요한 ncurses 라이브러리 설치(make menuconfig)
$ cd ~/Downloads
$ wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.7.tar.gz
$ cd ~
$ tar xvfz Downloads/ncurses-5.7.tar.gz
$ ln -s ncurses-5.7 ncurses
$ cd ncurses
$ mkdir install
$ ./configure
$ make
$ make install
bridge-utils 설치
apt-get install bridge-utils
설정 :
brctl addbr br0
brctl stp br0 eth0 on
brctl addif br0 eth0
brctl addif br0 eth1
ifconfig eth0 down
ifconfig eth1 down
ifconfig eth0 0.0.0.0 promisc up
ifconfig eth1 0.0.0.0 promisc up
ifconfig br0 <IP> promisc up
# http://jikime.tistory.com/436
route 설정
route add default gw <GWIP>
wireshark 설치
apt-get install wireshark
'Project VPN' 카테고리의 다른 글
netfilter 실습 (0) | 2011.10.26 |
---|---|
Debian6 kde로 환경 변경 (0) | 2011.09.27 |
libpcap을 이용하여 패킷접근 (1) | 2011.09.21 |
Ubuntu 11.04 Desktop 설치후 개발환경 설정 libpcap을 이용한 (0) | 2011.09.05 |
libpcap 을이용한 패킵캡쳐 (0) | 2011.08.24 |