Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Sep 2015 10:34:27 +0800
From:      <lsrz2006@sina.com>
To:        "freebsd-ipfw" <freebsd-ipfw@freebsd.org>
Subject:   proxy_rule is missing in kernel nat?
Message-ID:  <20150928023428.011A447814F@webmail.sinamail.sina.com.cn>

next in thread | raw e-mail | index | archive | help


                    
                    
                        
                    
                                        	
                        I had using natd for a proxy for a while time, using the command:
natd -p 3333 -proxy_only -proxy_rule "server 192.168.6.6 proto tcp"

but when I use this in kernel nat config, I get a error infomation:

# ipfw nat 20 config proxy_only proxy_rule server 192.168.6.6ipfw: unrecognised option ``proxy_rule''
I'd readed the src code in /usr/src/sbin/ipfw and can't find the LibAliasProxyRule() function which is in the natd.c.
Does I have a mistake?

                        

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150928023428.011A447814F>