ff
This commit is contained in:
@@ -91,6 +91,19 @@
|
||||
- name: Run nmcli to activate LTE access point connection
|
||||
command: /usr/bin/nmcli c up {{ LTE_con_name }}
|
||||
|
||||
- name: Iptables flush filter
|
||||
ansible.builtin.iptables:
|
||||
chain: "{{ item }}"
|
||||
flush: yes
|
||||
with_items: [ 'INPUT', 'FORWARD', 'OUTPUT' ]
|
||||
|
||||
- name: Iptables flush nat
|
||||
ansible.builtin.iptables:
|
||||
table: nat
|
||||
chain: '{{ item }}'
|
||||
flush: yes
|
||||
with_items: [ 'INPUT', 'OUTPUT', 'PREROUTING', 'POSTROUTING' ]
|
||||
|
||||
- name: Allow traffic from {{ wifi_int.stdout }} to {{ lte_int.stdout }}
|
||||
iptables:
|
||||
chain: FORWARD
|
||||
|
||||
Reference in New Issue
Block a user