summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert "ar" Gerus <ar@bash.org.pl>2013-03-23 11:50:04 +0100
committerRobert "ar" Gerus <ar@bash.org.pl>2013-03-23 11:50:04 +0100
commit4095ac05a102aab2a98c5b09309daef07998424e (patch)
tree8c22ec37eae6e912dd9c6d86fbe385c5716b2a70
parent04105bfcd95d504c789a3d10862e3035258b425b (diff)
downloadold-firewall-4095ac05a102aab2a98c5b09309daef07998424e.tar.gz
old-firewall-4095ac05a102aab2a98c5b09309daef07998424e.tar.bz2
old-firewall-4095ac05a102aab2a98c5b09309daef07998424e.zip
my laptop has a different IP now.
-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 1a6e457..1f708b8 100644
--- a/rules/01-output-snat
+++ b/rules/01-output-snat
@@ -4,6 +4,6 @@ rules() {
iptables --table filter $flag FORWARD -i ${IF_LAN} -o ${IF_WAN} -j ACCEPT
iptables --table nat $flag POSTROUTING -s ${NET_LAN} -o ${IF_WAN} -j SNAT --to-source ${HOST_KASHA_WAN}
if ${HAVE_WAN2}; then
- iptables --table nat $flag POSTROUTING -s 10.24.0.10 -o ${IF_WAN} -j SNAT --to-source ${HOST_KASHA_WAN2}
+ iptables --table nat $flag POSTROUTING -s 10.24.20.10 -o ${IF_WAN} -j SNAT --to-source ${HOST_KASHA_WAN2}
fi
}