diff options
author | ugen <ugen@FreeBSD.org> | 1995-02-24 14:32:45 +0000 |
---|---|---|
committer | ugen <ugen@FreeBSD.org> | 1995-02-24 14:32:45 +0000 |
commit | 710cfa1891bbdb1c428a4a9842ed5e6d42210461 (patch) | |
tree | aa2e1b7aab1b9babf5e80b4e06ee1417f75a38ab /sbin/ipfw/ipfw.8 | |
parent | b6118fb1e49c792969e7ade889266a14f7343600 (diff) | |
download | FreeBSD-src-710cfa1891bbdb1c428a4a9842ed5e6d42210461.zip FreeBSD-src-710cfa1891bbdb1c428a4a9842ed5e6d42210461.tar.gz |
Change utility to accept interface name
along with IP as "via" argument
Diffstat (limited to 'sbin/ipfw/ipfw.8')
-rw-r--r-- | sbin/ipfw/ipfw.8 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sbin/ipfw/ipfw.8 b/sbin/ipfw/ipfw.8 index 89dd0f3..4a059de 100644 --- a/sbin/ipfw/ipfw.8 +++ b/sbin/ipfw/ipfw.8 @@ -58,8 +58,8 @@ This is <chain-entry pattern> structure: "dst" to "src"). The <proto/addr pattern> is: - all|icmp from <src addr/mask> to <dst addr/mask> [via <addr>] - tcp[syn]|udp from <src addr/mask>[ports] to <dst addr/mask>[ports][via <addr>] + all|icmp from <src addr/mask> to <dst addr/mask> [via <via>] + tcp[syn]|udp from <src addr/mask>[ports] to <dst addr/mask>[ports][via <via>] all matches any IP packet. icmp,tcp and udp - packets for corresponding protocols. tcpsyn - tcp SYN packets (which used when initiating connection). @@ -71,9 +71,10 @@ The <src addr/mask>: [ports]: [ port,port....|port:port] Name of service can be used instead of port numeric value. -The via <addr> is optional and may specify IP address/name of one of local - IP interfaces to match only packets coming through it.The IP given is NOT - checked,and wrong value of IP causes entry to not match anything. +The via <via> is optional and may specify IP address/domain name of local + IP interface, or interface name (e.g. ed0) to match only packets coming + through this interface.The IP or name given is NOT checked, and wrong + value of IP causes entry to not match anything. To l[ist] command may be passed: f[irewall] | a[ccounting] to list specific chain or none to list |