ff
This commit is contained in:
@@ -98,12 +98,15 @@
|
|||||||
out_interface: "{{ lte_int.stdout }}"
|
out_interface: "{{ lte_int.stdout }}"
|
||||||
jump: ACCEPT
|
jump: ACCEPT
|
||||||
|
|
||||||
- name: Enable masquerading for eth2
|
- name: Enable masquerading for {{ lte_int.stdout }}
|
||||||
iptables:
|
iptables:
|
||||||
chain: POSTROUTING
|
chain: POSTROUTING
|
||||||
jump: MASQUERADE
|
jump: MASQUERADE
|
||||||
|
table: nat
|
||||||
out_interface: "{{ lte_int.stdout }}"
|
out_interface: "{{ lte_int.stdout }}"
|
||||||
|
|
||||||
|
- name: Save iptables rules
|
||||||
|
command: iptables-save -f /etc/iptables/iptables.rules
|
||||||
# - name: Configure {{ wifi_int.stdout_lines | first }} interface
|
# - name: Configure {{ wifi_int.stdout_lines | first }} interface
|
||||||
# template:
|
# template:
|
||||||
# src: 25-wireless.network.j2
|
# src: 25-wireless.network.j2
|
||||||
|
|||||||
Reference in New Issue
Block a user