xref: /onnv-gate/usr/src/cmd/ipf/examples/ftppxy (revision 0:68f95e015346)
1*0Sstevel@tonic-gate#!/bin/sh
2*0Sstevel@tonic-gate# The proxy bit is as follows:
3*0Sstevel@tonic-gate# proxy [port <portname>] <tag>/<protocol>
4*0Sstevel@tonic-gate# the <tag> should match a tagname in the proxy table, as does the protocol.
5*0Sstevel@tonic-gate# this format isn't finalised yet
6*0Sstevel@tonic-gateecho "map ed0 0/0 -> 192.1.1.1/32 proxy port ftp ftp/tcp" | /sbin/ipnat -f -
7