Fix the DHCP port in iptables (68 vs 67 and TCP vs UDP)
Change-Id: Ifb66474a72044ab06b479570b58db63d1d5ed4e9
This commit is contained in:
parent
208135359d
commit
6c46346383
@ -409,13 +409,24 @@
|
||||
in_interface: "{{ network_interface }}"
|
||||
jump: ACCEPT
|
||||
loop:
|
||||
- 68
|
||||
- 69
|
||||
- "{{ file_url_port }}"
|
||||
- "{{ file_url_port_tls }}"
|
||||
- 6385
|
||||
when: not use_firewalld | bool
|
||||
|
||||
- name: "Explicitly permit DHCP and TFTP ports"
|
||||
iptables:
|
||||
chain: INPUT
|
||||
action: insert
|
||||
protocol: udp
|
||||
destination_port: "{{ item }}"
|
||||
in_interface: "{{ network_interface }}"
|
||||
jump: ACCEPT
|
||||
loop:
|
||||
- 67
|
||||
- 69
|
||||
when: not use_firewalld | bool
|
||||
|
||||
- name: "Enable services in firewalld"
|
||||
firewalld:
|
||||
service: "{{ item }}"
|
||||
|
5
releasenotes/notes/ubuntu-ports-6e6c2fef3dc7bccb.yaml
Normal file
5
releasenotes/notes/ubuntu-ports-6e6c2fef3dc7bccb.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixes the iptables rule for PXE on systems not using firewalld (use
|
||||
port UDP/67 and UDP/69 instead of TCP/68 and TCP/69).
|
Loading…
Reference in New Issue
Block a user