망 구축

2023. 9. 12. 17:24사설 클라우드/ESXi

망 구성도

 

 

ESXi 사양

ESXi 6.7

cpu 4/1

Memory 12G

Intel-VT

hyper-V disable

disk 500G[single mode]

 

 

스위치 생성

RouteAttNet 10.44.44.0/24      --- kali44

RouterFwNet 10.0.0.0/24

IntraNet 10.0.200.0/24

DmzNet 10.0.10.0/24               --- beebox11, ubuntu10

SocNet 10.0.100.0/24              --- mint10

DevNet 10.0.150.0/24              --- alpine10

 

 

설치 OS

전체 설치 화면

  • ubuntu22.04

 

 

  • alpine

 

 

  • mint 1G/20G 1

 

 

네트워크 설정파일 수정 이후 netplan apply

 

 

  • kali

미리 생성된 가상 시스템을 OVF로 변환해서 올리면 된다.

 

 

  • beebox

 

 

원하는 타자가 쳐지지 않는 것을 방지해서 Layout을 위와 같이 선택

 

 

네트워크 설정 이후 서비스 재실행

 

 

  • VyOS

 

 

 

터미널에서 설정 내용은 다음과 같다.

configure

clear

 

set interface ethernet eth0 address dhcp

set interface ethernet eth0 description 'outside'

 

set interface ethernet eth1 address 10.44.44.1/24

set interface ethernet eth1 description 'inside'

 

set interface ethernet eth2 address 10.0.0.1/24

set interface ethernet eth2 description 'inside'

 

commit

save

 

set system name-server 8.8.8.8

set system gateway-address 192.168.2.2

set nat source rule 100 outbound-interface 'eth0'

set nat source rule 100 source address '10.0.0.0/8'

set nat source rule 100 translation address masquerade

 

commit

save

 

 

  • pfsense

운영 체제 선택

 

 

네트워크 시계 방향으로 선택

 

 

재부팅 후 vmx 확인 / vlan 설정은 n 선택

 

 

vmx와 어댑터가 꼬여있다.

vmx0   어댑터4

vmx1   어댑터1

vmx2   어댑터5

vmx3   어댑터2

vmx4   어댑터3

 

 

꼬여있는 것에 맞춰 다시 네트워크 설정하면 시계 방향으로 vmx가 정렬됨

 

 

각 인터페이스 할당

 

 

2 선택

 

 

DHCP: n / ip 주소 부여

 

 

CIDR: 24 / gateway 주소 부여

마찬가지로 다른 포트에 ip 주소를 부여하자.

 

 

pfsense GUI 접속

mint에서 브라우저를 통해 10.0.100.1 접속

id : admin

pw : pfsense

초기 설정에서 dns는 8.8.8.8로 주자

'사설 클라우드 > ESXi' 카테고리의 다른 글

가상 시스템 복사  (0) 2023.09.13
방화벽 설정  (0) 2023.09.13
스위치 및 VyOS 설치  (0) 2023.09.11
kali 실행  (0) 2023.09.11
리눅스 설치  (0) 2023.09.11