Date: Mon, 28 Sep 2015 11:30:58 +0300 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: lsrz2006@sina.com, freebsd-ipfw <freebsd-ipfw@freebsd.org> Subject: Re: proxy_rule is missing in kernel nat? Message-ID: <5608FAC2.5070104@yandex.ru> In-Reply-To: <20150928023428.011A447814F@webmail.sinamail.sina.com.cn> References: <20150928023428.011A447814F@webmail.sinamail.sina.com.cn>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --55tB5duHROnqmnEgPX1Eej8DPAW9Vwa2o Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 28.09.2015 05:34, lsrz2006@sina.com wrote: > 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" >=20 > but when I use this in kernel nat config, I get a error infomation: >=20 > # ipfw nat 20 config proxy_only proxy_rule server 192.168.6.6ipfw: unre= cognised option ``proxy_rule'' > I'd readed the src code in /usr/src/sbin/ipfw and can't find the LibAli= asProxyRule() function which is in the natd.c. > Does I have a mistake? Hi, it looks like proxy_rule was forgotten when it was ported. --=20 WBR, Andrey V. Elsukov --55tB5duHROnqmnEgPX1Eej8DPAW9Vwa2o Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJWCPrHAAoJEAHF6gQQyKF65YIIAIhFaG4XzBlz6Ju9xQ+yotnV essGt/j1CySudEUZc/RQ96muKPscvd9twHB0nGJV5ZFRfAQ//Fau+gFqN52hAi0b r0EWLIm5WxqvwyD2DA8zDuPUeljh8JKWKrwMJ+bA6FEu0ezVxoGMsObC8L0+xB+Y tA5lrBDn4qMLQ9ZIw8b+KqgqRjMa92swSqd2YxM5EzAazWxe0aPTpjzdFXWwdgNL NNAVX7zbbYbmfDGCh424PcrPGma0viVzrmgdzleq2CRh4xl1/gWYie9qZVx4srfr PltnV1xc3GcVylvBvwBfmrCS7+HWAuxwrIORamvUY/6R+VG9RRw9ob2wUm01Yb4= =bq58 -----END PGP SIGNATURE----- --55tB5duHROnqmnEgPX1Eej8DPAW9Vwa2o--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5608FAC2.5070104>