summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <arachnist@i.am-a.cat>2013-10-25 10:05:25 +0200
committerRobert Gerus <arachnist@i.am-a.cat>2013-10-25 10:05:25 +0200
commitb8df2c5b47c4afe325d5ac4a294544bd106be136 (patch)
tree688ba916c4c5f799bc17222db57ee55b08952390
parentd47840e06d026b31b8625559af67b870060eaaf2 (diff)
downloadold-firewall-b8df2c5b47c4afe325d5ac4a294544bd106be136.tar.gz
old-firewall-b8df2c5b47c4afe325d5ac4a294544bd106be136.tar.bz2
old-firewall-b8df2c5b47c4afe325d5ac4a294544bd106be136.zip
pht is being a dick... and i made a typo
-rw-r--r--rules/01-output-snat2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/01-output-snat b/rules/01-output-snat
index fd26e10..6186ff8 100644
--- a/rules/01-output-snat
+++ b/rules/01-output-snat
@@ -2,7 +2,7 @@
rules() {
iptables --table filter $flag FORWARD -i ${IF_WAN} -o ${IF_LAN} -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
iptables --table filter $flag FORWARD -i ${IF_LAN} -o ${IF_WAN} -j ACCEPT
- iptables --table nat $flag POSTROUTING -s 10.24.20.0/2 -o ${IF_WAN} -j SNAT --to-source ${HOST_KASHA_WAN}
+ iptables --table nat $flag POSTROUTING -s 10.24.20.0/24 -o ${IF_WAN} -j SNAT --to-source ${HOST_KASHA_WAN}
if ${HAVE_WAN2}; then
iptables --table nat $flag POSTROUTING -s 10.24.20.10 -o ${IF_WAN} -j SNAT --to-source ${HOST_KASHA_WAN2}
fi