Re: Redirect functionality in ng_nat

2008-04-15 Thread Christopher Cowart
Christopher Cowart wrote: > I'm a little confused on exactly how to pass a struct as a message to a > netgraph node via ngctl. What am I missing here? I found my answer in the comments of src/sys/netgraph/ng_parse.h: | Structures: | | '{' [ = ... ] '}' | | Omitted fields have their defa

Redirect functionality in ng_nat

2008-04-12 Thread Christopher Cowart
Hello, I'm running a 7.0-RELEASE machine. I've backported the 7-STABLE for ng_nat, because I'm really interested in the static NAT features from libalias. ng_nat(4) says: | NGM_NAT_REDIRECT_ADDR (redirectaddr) | Redirect traffic for public IP address to a machine on the local | network. This