ff
This commit is contained in:
@@ -98,12 +98,15 @@
|
||||
out_interface: "{{ lte_int.stdout }}"
|
||||
jump: ACCEPT
|
||||
|
||||
- name: Enable masquerading for eth2
|
||||
- name: Enable masquerading for {{ lte_int.stdout }}
|
||||
iptables:
|
||||
chain: POSTROUTING
|
||||
jump: MASQUERADE
|
||||
table: nat
|
||||
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
|
||||
# template:
|
||||
# src: 25-wireless.network.j2
|
||||
|
||||
Reference in New Issue
Block a user