aboutsummaryrefslogtreecommitdiff
path: root/netsec-assignment5-S4498062/exercise5/exercise5b/commands
diff options
context:
space:
mode:
authorCamil Staps2015-10-13 20:59:20 +0200
committerCamil Staps2015-10-13 20:59:20 +0200
commit5667cc3df79242093f6fe56521785b7b28b45005 (patch)
tree4c7340b4a16f2b2960e6d6480cdfd82e29d072c4 /netsec-assignment5-S4498062/exercise5/exercise5b/commands
parentFinish assignment 4 (diff)
Assignment 5HEADmaster
Diffstat (limited to 'netsec-assignment5-S4498062/exercise5/exercise5b/commands')
-rw-r--r--netsec-assignment5-S4498062/exercise5/exercise5b/commands9
1 files changed, 9 insertions, 0 deletions
diff --git a/netsec-assignment5-S4498062/exercise5/exercise5b/commands b/netsec-assignment5-S4498062/exercise5/exercise5b/commands
new file mode 100644
index 0000000..5f8ba63
--- /dev/null
+++ b/netsec-assignment5-S4498062/exercise5/exercise5b/commands
@@ -0,0 +1,9 @@
+On the server:
+
+# iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
+
+Client and server configuration is exactly the same, except that the server has
+this extra line:
+
+ push "redirect-gateway local def1"
+