summaryrefslogtreecommitdiff
path: root/etc/optional/ipv6
diff options
context:
space:
mode:
Diffstat (limited to 'etc/optional/ipv6')
-rw-r--r--etc/optional/ipv6/hostapd/appliance/ip6tables.sample5
-rw-r--r--etc/optional/ipv6/wpa_supplicant/appliance/ip6tables.sample3
2 files changed, 1 insertions, 7 deletions
diff --git a/etc/optional/ipv6/hostapd/appliance/ip6tables.sample b/etc/optional/ipv6/hostapd/appliance/ip6tables.sample
index a2dd906..f612a24 100644
--- a/etc/optional/ipv6/hostapd/appliance/ip6tables.sample
+++ b/etc/optional/ipv6/hostapd/appliance/ip6tables.sample
@@ -9,15 +9,12 @@
*filter
:INPUT ACCEPT [0:0]
-:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-[0:0] -A FORWARD -i wlan0 -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT
-[0:0] -A FORWARD -i wlan0 -o eth0 -j ACCEPT
COMMIT
*nat
-:PREROUTING ACCEPT [0:0]
: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
diff --git a/etc/optional/ipv6/wpa_supplicant/appliance/ip6tables.sample b/etc/optional/ipv6/wpa_supplicant/appliance/ip6tables.sample
index 42d881f..1503bc3 100644
--- a/etc/optional/ipv6/wpa_supplicant/appliance/ip6tables.sample
+++ b/etc/optional/ipv6/wpa_supplicant/appliance/ip6tables.sample
@@ -10,9 +10,6 @@
*filter
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-:FORWARD ACCEPT [0:0]
-[0:0] -A FORWARD -i eth0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT
-[0:0] -A FORWARD -i eth0 -o wlan0 -j ACCEPT
COMMIT
*nat
:INPUT ACCEPT [0:0]