KARAF / karaf star
2022-12-17
Open
#8 ubuntu 포트 추가 (OS 방화벽 허용하기) star
2022-12-17 Open
Tasks

허용#

iptables -A INPUT -p tcp -m tcp --dport 8080  -j ACCEPT

조회#

iptables -S
Issue Sharer
Comment 1

  • Added KKoZZi added
    ubuntu
    label 2022-12-17
  • KKoZZi added
    infra
    label 2022-12-17
    • Markdown help
    • Header
    • Text Style
    • Link
    • List
    • Checklist
    • Image
    • Blockquote
    • Code
    • Table
    • Short Link
    • Markdown Input
      Markdown Output
      # This is an H1
      ## This is an H2
      ### This is an H3
      
      # This is an H1 ## This is an H2 ### This is an H3
    • Markdown Input
      Markdown Output
      *This is an italic*
      **This is an bold**
      ~~This is an strike~~
      
      *This is an italic* **This is an bold** ~~This is an strike~~
    • Markdown Input
      Markdown Output
      - Red
          1. White
          2. Blue
      - Green.
      
      - Red 1. White 2. Blue - Green
    • Markdown Input
      Markdown Output
      - [ ] Todos
          - [x] To do A
          - [ ] To do B
          - [ ] To do C
                          
      • Todos
        • To do A
        • To do B
        • To do C
    • Markdown Input
      Markdown Output
      ![title](https://repo.yona.io/assets/images/ico-like-small.png "Yobi")
      
      ![title](/assets/images/ico-like-small.png "Yobi")
    • Markdown Input
      Markdown Output
      > Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
      >
      > Aenean commodo ligula eget dolor.
      
      > Lorem ipsum dolor sit amet, consectetuer adipiscing elit. > > Aenean commodo ligula eget dolor.
    • Markdown Input
      Markdown Output
      `function test() {console.log("hello world");}`
      
      ```javascript
      function test() {
        console.log("hello world");
      }
      ```
      
      `function test() {console.log("hello world");}` ```javascript function test() { console.log("hello world"); } ```
    • Markdown Input
      Markdown Output
      | Default      | Align center | Align right |
      | ------------ | :----------: | ------: |
      | Carrot       | Red          | 1,000   |
      | Banana       | Yellow       | 32,000  |
      
      | Default | Align center | Align right | | ------------ | :----------: | ------: | | Carrot | Red | 1,000 | | Banana | Yellow | 32,000 | Also, you can copy & paste table from excel sheet
    Notification receivers
    Drag & Drop files here to upload.
    Tasks

    포트 추가#

    firewall-cmd --permanent --zone=public --add-port=8080/tcp
    

    포트 제거#

    firewall-cmd --permanent --zone=public --remove-port=8080/tcp
    

    방화벽 설정#

    systemctl enable firewalld
    systemctl start firewalld
    

    방화벽 해제#

    systemctl stop firewalld
    systemctl disable firewalld
    

    방화벽 설정 조회#

    firewall-cmd --list-all
    
    Reply
Add a comment