10 lines
332 B
Bash
10 lines
332 B
Bash
#!/bin/sh
|
|
#
|
|
# $NetBSD: ftppxy,v 1.2 1998/01/09 08:09:39 perry Exp $
|
|
#
|
|
# The proxy bit is as follows:
|
|
# proxy [port <portname>] <tag>/<protocol>
|
|
# the <tag> should match a tagname in the proxy table, as does the protocol.
|
|
# this format isn't finalised yet
|
|
echo "map ed0 0/0 -> 192.1.1.1/32 proxy port ftp ftp/tcp" | /sbin/ipnat -f -
|