1*bc4097aaSchristos#!/bin/sh 2*bc4097aaSchristos# The proxy bit is as follows: 3*bc4097aaSchristos# proxy [port <portname>] <tag>/<protocol> 4*bc4097aaSchristos# the <tag> should match a tagname in the proxy table, as does the protocol. 5*bc4097aaSchristos# this format isn't finalised yet 6*bc4097aaSchristosecho "map ed0 0/0 -> 192.1.1.1/32 proxy port ftp ftp/tcp" | /sbin/ipnat -f - 7