summaryrefslogtreecommitdiffstats
path: root/contrib/ipfilter/rules/ftppxy
blob: 2c42c527fa1e40ef4ff329c2e378a53e1c1243b1 (plain)
1
2
3
4
5
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