summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPÁLI Gábor János <pali.gabor@gmail.com>2023-01-30 01:24:18 +0100
committerPÁLI Gábor János <pali.gabor@gmail.com>2023-01-30 01:24:18 +0100
commita9191f1671c7caa451a414794b673f43799eb18f (patch)
tree98656d611a781a15910715677b35108142cf8a96
parent13794afdb01556b6e2b3d4e080bfdd765c424e04 (diff)
downloadfreebsd-wifibox-alpine-a9191f1671c7caa451a414794b673f43799eb18f.zip
Minor formatting nit for the iptables sample configuration file.
-rw-r--r--etc/wpa_supplicant/appliance/iptables.sample4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/wpa_supplicant/appliance/iptables.sample b/etc/wpa_supplicant/appliance/iptables.sample
index af60a63..3a3cd5f 100644
--- a/etc/wpa_supplicant/appliance/iptables.sample
+++ b/etc/wpa_supplicant/appliance/iptables.sample
@@ -9,15 +9,15 @@
*filter
:INPUT ACCEPT [0:0]
-:FORWARD 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
-: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 wlan0 -j MASQUERADE
COMMIT