/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */


On 29 Aug 2000, George Vieira wrote:
 
> Now what I would like to confirm is how does the firewall IP forward the
> internal webservers internal IP back out via the external address and not
> the external address of the firewall... eg.. go out as 200.xxx.xxx.201 and
> not as 200.xxx.xxx.200

When a packet comes into the box and goes through portfw, it sets up a masq
entry that includes the source/dest of the original packet and the new
destination.  The original destination is stored as the masqed address/port. 
When packets go back out to the Internet, they are replaced with the info
directly from this table instead of the default address.

This, at least, is what the code is supposed to do.  I have never tested it.

-- Michael Best

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to