rendered paste bodyIPTables="/sbin/iptables"### Local networkLAN_network="192.168/16"###### Activates IP Masquerade###$IPTables --table nat --append POSTROUTING \ --source $LAN_network \ --jump MASQUERADE &&###### Forwards packets from local network to Internet###$IPTables --table filter --append FORWARD \ --source $LAN_network \ --jump ACCEPT &&$IPTables --table filter --append FORWARD \ --destination $LAN_network \ --match state --state ESTABLISHED,RELATED \ --jump ACCEPT &&###### Accepts all communications from and to local network###$IPTables --table filter --append INPUT \ --source $LAN_network --jump ACCEPT &&$IPTables --table filter --append OUTPUT \ --destination $LAN_network --jump ACCEPT &&