본문 바로가기 메뉴 바로가기

Jacob Baek's home

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Jacob Baek's home

검색하기 폼
  • all (215)
    • private (3)
      • diary (0)
      • graduateschool (3)
      • important thing (0)
      • my project (0)
      • study (0)
    • Cloud (91)
      • Private Cloud (35)
      • Public Cloud (5)
      • Cloud Native (17)
      • Architecture&Tech (2)
      • Kubernetes (32)
    • Security (16)
      • programming (0)
      • Architecture&Tech (3)
      • System&Tools (5)
      • Cloud Native (7)
    • DevOps (27)
      • System&Tools (27)
      • Architecture&Tech (0)
    • Network (6)
      • System&Tools (5)
      • Architecture&Tech (1)
    • Storage (5)
      • Architecture&Tech (1)
      • System&Tools (4)
    • os (26)
      • Linux (24)
      • Windows (2)
      • Embedded&Mobile&Etcs (0)
    • programming (17)
      • python (1)
      • c/c++ (1)
      • Java (1)
      • kernel (0)
      • Scripts (5)
      • devtools (2)
      • protocol (1)
      • common (1)
      • sw engineering (1)
      • Web Programming (0)
      • etc (4)
    • Server (16)
      • SystemMGAuto (0)
      • WebServer (6)
      • VirtualServer (1)
      • EtcServer (9)
    • quailty assurance (4)
      • System & Tools (3)
      • Theory (1)
    • ITtech (2)
    • database (0)
    • language (0)
    • Trips (0)
    • music (0)
    • etc (2)
  • 방명록

iptables nat (1)
KVM with NAT network

외부에서 특정 Host 상에 동작되는 VM에 접근하고자할때 다음과 같은 iptables 설정을 통해 접근을 할수 있다. 실제로 host에 VM에 동작되는 port가 listen되는것은 아니며 host는 지정된 목적지/Port 를 확인하여 packet을 forwarding 시켜주는 방식이다. iptables에는 다음과 같은 rule이 추가되어야 한다. ## nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 6443 -j DNAT --to-destination 192.168.122.10:6443 ## filter -A FORWARD -o virbr0 -d 192.168.122.10 -p tcp --dport 6443 -j ACCEPT간단히 설명하자면 VM(192.168.1..

os/Linux 2021. 1. 27. 12:47
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
  • Cyuu
TAG
  • OpenStack
  • nginx-ingress
  • ceph
  • socket
  • hashicorp boundary
  • jenkins
  • crashloopbackoff
  • DevSecOps
  • metallb
  • GateKeeper
  • macvlan
  • K3S
  • Jenkinsfile
  • mattermost
  • Terraform
  • boundary ssh
  • Helm Chart
  • wsl2
  • ansible
  • open policy agent
  • kubernetes
  • kubernetes install
  • azure policy
  • kata container
  • vmware openstack
  • openstacksdk
  • minikube
  • aquasecurity
  • minio
  • openstack backup
more
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바