Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jun 2002 10:24:20 +0700 (NOVST)
From:      Alexey Privalov <lucky@land3.nsu.ru>
To:        freebsd-hackers@freebsd.org
Cc:        freebsd-ipfw@freebsd.org
Subject:   natd & trans proxy
Message-ID:  <20020610101352.Y47747-100000@land3.nsu.ru>

next in thread | raw e-mail | index | archive | help
hi all.

i`m running two natd`s on rl3 (external) and rl0 (internal).

the first natd is running on 8668 (standart) port  and is diverting private ip
to ip  on interface and have following configuration:
	interface rl3
	unregistered_only yes
	use_sockets yes
	same_ports yes



the second natd have a following configuration:
	port 8669
	proxy_only
	proxy_rule port 80 server proxy_addr:8888
	interface rl0

and is forwarding to squid.

why when interface rl0 receive http packet then it divert ip to external.

best regards,
Alexey


PS: ipfw rule:

40 divert 8669 tcp from <local_net>  to any 80 via rl0
50 divert 8668 ip from any to any via rl3



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ipfw" in the body of the message




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