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