ff
This commit is contained in:
@@ -90,6 +90,20 @@
|
||||
|
||||
- name: Run nmcli to activate LTE access point connection
|
||||
command: /usr/bin/nmcli c up {{ LTE_con_name }}
|
||||
|
||||
- name: Allow traffic from {{ wifi_int.stdout }} to {{ lte_int.stdout }}
|
||||
iptables:
|
||||
chain: FORWARD
|
||||
in_interface: "{{ wifi_int.stdout }}"
|
||||
out_interface: "{{ lte_int.stdout }}"
|
||||
jump: ACCEPT
|
||||
|
||||
- name: Enable masquerading for eth2
|
||||
iptables:
|
||||
chain: POSTROUTING
|
||||
jump: MASQUERADE
|
||||
out_interface: "{{ lte_int.stdout }}"
|
||||
|
||||
# - name: Configure {{ wifi_int.stdout_lines | first }} interface
|
||||
# template:
|
||||
# src: 25-wireless.network.j2
|
||||
|
||||
Reference in New Issue
Block a user