Commit c7b9ffb9 authored by duanledexianxianxian's avatar duanledexianxianxian 😁

Update README.md

parent 6d0f819d
......@@ -3,4 +3,56 @@
##### idea2019注册码
```
MNQ043JMTU-eyJsaWNlbnNlSWQiOiJNTlEwNDNKTVRVIiwibGljZW5zZWVOYW1lIjoiR1VPIEJJTiIsImFzc2lnbmVlTmFtZSI6IiIsImFzc2lnbmVlRW1haWwiOiIiLCJsaWNlbnNlUmVzdHJpY3Rpb24iOiIiLCJjaGVja0NvbmN1cnJlbnRVc2UiOmZhbHNlLCJwcm9kdWN0cyI6W3siY29kZSI6IklJIiwiZmFsbGJhY2tEYXRlIjoiMjAxOS0wNC0wNSIsInBhaWRVcFRvIjoiMjAyMC0wNC0wNCJ9XSwiaGFzaCI6IjEyNjIxNDIwLzAiLCJncmFjZVBlcmlvZERheXMiOjcsImF1dG9Qcm9sb25nYXRlZCI6ZmFsc2UsImlzQXV0b1Byb2xvbmdhdGVkIjpmYWxzZX0=-tltrJHc5lqCKLnza1bcLhMzDkfJeBqhRWbvcrPF9Gqo+X+iFWeKQXoEUOlrG38uSzzmX05ph//PgXgyVfP5RXKsaRMfrv/thoouS5sA0aTemm3z6uRiFirTDj60KSGr5XZoP/WAXO4nuti6SRKZUbr/VSAtRPQRiCJvevq+3gWPDGu2aZ0AemiNLq4qIVWH3wxTN7lK2h5uJssZsyy35Yy9O703c5PFU0fxCj2HRgXq7H/91X+ZNLvvAZAVU9B7bOqnY4ZzNNV/cjY8B5gNo53Lo6s2szEV7DsZ+8e7k8P4Yo81DKxneCBoe4wiZmRaCIT6wK3/27KrtQTFMcGeZMA==-MIIElTCCAn2gAwIBAgIBCTANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDDA1KZXRQcm9maWxlIENBMB4XDTE4MTEwMTEyMjk0NloXDTIwMTEwMjEyMjk0NlowaDELMAkGA1UEBhMCQ1oxDjAMBgNVBAgMBU51c2xlMQ8wDQYDVQQHDAZQcmFndWUxGTAXBgNVBAoMEEpldEJyYWluc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nuTCUq1meE6GkKc4D/cXmgpOyW/1SmBz3XjVIi/zprZ0zf3qH5mkphtg6ksjKgKjmx1cXfZAAX6wcDBNaCL+Ortep1Dh8xDUbqbBVNBL4jbiL3i3xsfNiyJgaZ5sX7i8tmStEpLbPwvHcByuf59qJhV/bZOl8KqJBETCDJcY6O2aqhTUy+9x93ThKs1GKrRPePrWPluud7ttlgtRveit/pcBrnQcXOl1rHq7ByB8CFAxNotRUYL9IF5n3wJOgkPojMy6jetQA5Ogc8Sm7RG6vg1yow==
```
\ No newline at end of file
```
### 防火墙端口映射
##### 查看端口映射配置
```
firewall-cmd --list-all --zone=public
```
##### 映射端口
```
firewall-cmd --permanent --zone=public --add-forward-port=port=9005:proto=tcp:toport=5672:toaddr=192.168.1.210
firewall-cmd --permanent --zone=public --add-forward-port=port=9100:proto=tcp:toport=5601:toaddr=192.168.1.210
firewall-cmd --permanent --zone=public --add-forward-port=port=9101:proto=tcp:toport=5000:toaddr=192.168.1.210
firewall-cmd --permanent --zone=public --add-forward-port=port=9102:proto=tcp:toport=9000:toaddr=192.168.1.210
firewall-cmd --permanent --zone=public --add-forward-port=port=9103:proto=tcp:toport=2181:toaddr=192.168.1.210
firewall-cmd --permanent --zone=public --add-forward-port=port=9104:proto=tcp:toport=32768:toaddr=192.168.1.210
firewall-cmd --permanent --zone=public --add-forward-port=port=9080:proto=tcp:toport=80:toaddr=192.168.1.210
```
##### 刷新防火墙配置
```firewall-cmd --reload
firewall-cmd --reload
```
| 外网端口 | 内部IP+端口 | 说明 |
| -------- | ------------------- | --------------- |
| 9100 | 192.168.1.210:5601 | kibana |
| 9101 | 192.168.1.210:500 | logstashTCP端口 |
| 9102 | 192.168.1.210:9000 | kafka-manager |
| 9103 | 192.168.1.210:2181 | zookeeper |
| 9104 | 192.168.1.210:32768 | kafka |
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment