about summary refs log tree commit diff
path: root/nat.sh
diff options
context:
space:
mode:
authormaride <maride@darknebu.la>2018-09-02 01:38:07 +0200
committermaride <maride@darknebu.la>2018-09-02 01:38:07 +0200
commit59634eb0e08202298123cf96322ae40ebf59e071 (patch)
treee4bfd5a709bc35f03d6293f201a10cec4585e353 /nat.sh
parent9c167802cc9b9a72fb6b3d773e9ce10edcf434c4 (diff)
Use NAT from VPN network to other networks
Diffstat (limited to 'nat.sh')
-rw-r--r--nat.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/nat.sh b/nat.sh
new file mode 100644
index 0000000..c4a25dd
--- /dev/null
+++ b/nat.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+iptables -t nat -A POSTROUTING -j MASQUERADE