summaryrefslogtreecommitdiff
path: root/etc/optional/ipv6/hostapd/appliance/ip6tables.sample
blob: f612a24c368e96e48371ab3fe1427939c8988392 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# This file contains exported IP Tables data that can be read by the
# ip6tables-restore(8) utility.  It is not meant to be edited by hand
# but regenerated by the ip6tables-save(8) utility after the necessary
# changes were made via the respective ip6tables(8) commands.
#
# The IP Tables stored here implement a simplistic IP forwarding and
# NAT between `wlan0` (wireless networking) and `eth0` (virtual
# Ethernet, facing towards the host) interfaces.

*filter
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
COMMIT
*nat
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:PREROUTING ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
[0:0] -A POSTROUTING -o eth0 -j MASQUERADE
COMMIT