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