summaryrefslogtreecommitdiffstats
path: root/rules/ftppxy
diff options
context:
space:
mode:
Diffstat (limited to 'rules/ftppxy')
-rwxr-xr-xrules/ftppxy6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/ftppxy b/rules/ftppxy
new file mode 100755
index 0000000..2c42c52
--- /dev/null
+++ b/rules/ftppxy
@@ -0,0 +1,6 @@
+#!/bin/sh
+# The proxy bit is as follows:
+# proxy [port <portname>] <tag>/<protocol>
+# the <tag> should match a tagname in the proxy table, as does the protocol.
+# this format isn't finalised yet
+echo "map ed0 0/0 -> 192.1.1.1/32 proxy port ftp ftp/tcp" | /sbin/ipnat -f -
OpenPOWER on IntegriCloud