Last active
December 10, 2019 03:33
-
-
Save ohmrefresh/baa65ccdac9d4b2df177ee43a12e3d8d to your computer and use it in GitHub Desktop.
IPtable101
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -A KUBE-SEP-2UEFXEFY3XXHAVSQ -s 10.129.25.27/32 -m comment --comment "demo-project/app01:https" -j KUBE-MARK-MASQ | |
| -A KUBE-SEP-2UEFXEFY3XXHAVSQ -p tcp -m comment --comment "demo-project/app01:https" -m tcp -j DNAT --to-destination 10.129.25.27:8443 | |
| -A KUBE-SEP-GLTDMJISNXQTRVXI -s 10.129.25.24/32 -m comment --comment "demo-project/app01:https" -j KUBE-MARK-MASQ | |
| -A KUBE-SEP-GLTDMJISNXQTRVXI -p tcp -m comment --comment "demo-project/app01:https" -m tcp -j DNAT --to-destination 10.129.25.24:8443 | |
| -A KUBE-SEP-HUQBD2AEIMNUNXEV -s 10.129.25.25/32 -m comment --comment "demo-project/app01:https" -j KUBE-MARK-MASQ | |
| -A KUBE-SEP-HUQBD2AEIMNUNXEV -p tcp -m comment --comment "demo-project/app01:https" -m tcp -j DNAT --to-destination 10.129.25.25:8443 | |
| -A KUBE-SEP-HUXRJOZCU27DI2SS -s 10.129.25.26/32 -m comment --comment "demo-project/app01:https" -j KUBE-MARK-MASQ | |
| -A KUBE-SEP-HUXRJOZCU27DI2SS -p tcp -m comment --comment "demo-project/app01:https" -m tcp -j DNAT --to-destination 10.129.25.26:8443 | |
| -A KUBE-SERVICES ! -s 10.128.0.0/14 -d 172.30.136.125/32 -p tcp -m comment --comment "demo-project/app01:https cluster IP" -m tcp --dport 8443 -j KUBE-MARK-MASQ | |
| -A KUBE-SERVICES -d 172.30.136.125/32 -p tcp -m comment --comment "demo-project/app01:https cluster IP" -m tcp --dport 8443 -j KUBE-SVC-HKZYJLO5TFDCYS7I | |
| -A KUBE-SVC-HKZYJLO5TFDCYS7I -m comment --comment "demo-project/app01:https" -m statistic --mode random --probability 0.25000000000 -j KUBE-SEP-GLTDMJISNXQTRVXI | |
| -A KUBE-SVC-HKZYJLO5TFDCYS7I -m comment --comment "demo-project/app01:https" -m statistic --mode random --probability 0.33332999982 -j KUBE-SEP-HUQBD2AEIMNUNXEV | |
| -A KUBE-SVC-HKZYJLO5TFDCYS7I -m comment --comment "demo-project/app01:https" -m statistic --mode random --probability 0.50000000000 -j KUBE-SEP-HUXRJOZCU27DI2SS | |
| -A KUBE-SVC-HKZYJLO5TFDCYS7I -m comment --comment "demo-project/app01:https" -j KUBE-SEP-2UEFXEFY3XXHAVSQ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -A KUBE-SERVICES ! -s 10.128.0.0/14 -d 172.30.136.125/32 -p tcp -m comment --comment "demo-project/app01:https cluster IP" -m tcp --dport 8443 -j KUBE-MARK-MASQ | |
| -A KUBE-SERVICES -d 172.30.136.125/32 -p tcp -m comment --comment "demo-project/app01:https cluster IP" -m tcp --dport 8443 -j KUBE-SVC-HKZYJLO5TFDCYS7I | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -A KUBE-SVC-HKZYJLO5TFDCYS7I -m comment --comment "demo-project/app01:https" -m statistic --mode random --probability 0.25000000000 -j KUBE-SEP-GLTDMJISNXQTRVXI | |
| -A KUBE-SVC-HKZYJLO5TFDCYS7I -m comment --comment "demo-project/app01:https" -m statistic --mode random --probability 0.33332999982 -j KUBE-SEP-HUQBD2AEIMNUNXEV | |
| -A KUBE-SVC-HKZYJLO5TFDCYS7I -m comment --comment "demo-project/app01:https" -m statistic --mode random --probability 0.50000000000 -j KUBE-SEP-HUXRJOZCU27DI2SS | |
| -A KUBE-SVC-HKZYJLO5TFDCYS7I -m comment --comment "demo-project/app01:https" -j KUBE-SEP-2UEFXEFY3XXHAVSQ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -A KUBE-SEP-2UEFXEFY3XXHAVSQ -s 10.129.25.27/32 -m comment --comment "demo-project/app01:https" -j KUBE-MARK-MASQ | |
| -A KUBE-SEP-2UEFXEFY3XXHAVSQ -p tcp -m comment --comment "demo-project/app01:https" -m tcp -j DNAT --to-destination 10.129.25.27:8443 | |
| -A KUBE-SEP-GLTDMJISNXQTRVXI -s 10.129.25.24/32 -m comment --comment "demo-project/app01:https" -j KUBE-MARK-MASQ | |
| -A KUBE-SEP-GLTDMJISNXQTRVXI -p tcp -m comment --comment "demo-project/app01:https" -m tcp -j DNAT --to-destination 10.129.25.24:8443 | |
| -A KUBE-SEP-HUQBD2AEIMNUNXEV -s 10.129.25.25/32 -m comment --comment "demo-project/app01:https" -j KUBE-MARK-MASQ | |
| -A KUBE-SEP-HUQBD2AEIMNUNXEV -p tcp -m comment --comment "demo-project/app01:https" -m tcp -j DNAT --to-destination 10.129.25.25:8443 | |
| -A KUBE-SEP-HUXRJOZCU27DI2SS -s 10.129.25.26/32 -m comment --comment "demo-project/app01:https" -j KUBE-MARK-MASQ | |
| -A KUBE-SEP-HUXRJOZCU27DI2SS -p tcp -m comment --comment "demo-project/app01:https" -m tcp -j DNAT --to-destination 10.129.25.26:8443 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment