]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - contrib/ipfilter/rules/ftppxy
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / contrib / ipfilter / rules / ftppxy
1 #!/bin/sh
2 # The proxy bit is as follows:
3 # proxy [port <portname>] <tag>/<protocol>
4 # the <tag> should match a tagname in the proxy table, as does the protocol.
5 # this format isn't finalised yet
6 echo "map ed0 0/0 -> 192.1.1.1/32 proxy port ftp ftp/tcp" | /sbin/ipnat -f -