diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2001-07-09 10:30:59 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2001-07-09 10:30:59 +0000 |
commit | b2e5ab0e0fbf50909c74b8c819ec38eca710d485 (patch) | |
tree | 43d42e97d27b67323356cb753294a7fc72d826dc /usr.bin/file/tst | |
parent | 21b67dfa00b0d641557b13a4209b13f43617172a (diff) |
Extend nat/rdr syntax. Add source/destination selection. Make
interface optional. Suggested by rdump@river.com.
nat [on [!] <ifname>] from (any | [!] <addr>[/<mask>]) to (any |
[!] <addr>[/<mask>]) -> <addr> [proto (tcp | udp | icmp)]
rdr [on [!] <ifname>] from (any | [!] <addr>[/<mask>]) to (any |
[!] <addr>[/<mask>]) port <a>[:<b>] -> <addr> port <c>[:*]
[proto (tcp | udp | icmp)]
Diffstat (limited to 'usr.bin/file/tst')
0 files changed, 0 insertions, 0 deletions