Skip to content

Commit ac0f068

Browse files
authored
Merge pull request #40572 from sjhala-ccs/BZ-2017416-2017418
BZ-2017416-2017418: Fixed port list description in the masquerade bin…
2 parents f90e474 + 3eac09e commit ac0f068

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

modules/virt-configuring-masquerade-mode-cli.adoc

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,19 @@ spec:
3131
interfaces:
3232
- name: red
3333
masquerade: {} <1>
34-
ports:
35-
- port: 80 <2>
34+
ports: <2>
35+
- port: 80
3636
networks:
3737
- name: red
3838
pod: {}
3939
----
4040
<1> Connect using masquerade mode
41-
<2> Allow incoming traffic on port 80
41+
<2> Optional: List the ports that you want to expose from the virtual machine, each specified by the `port` field. The `port` value must be a number between 0 and 65536. When the `ports` array is not used, all ports in the valid range are open to incoming traffic. In this example, incoming traffic is allowed on port 80.
42+
+
43+
[NOTE]
44+
====
45+
Ports 49152 and 49153 are reserved for use by the libvirt platform and all other incoming traffic to these ports is dropped.
46+
====
4247

4348
. Create the virtual machine:
4449
+

0 commit comments

Comments
 (0)