i'm looking to set up my home network using a single gateway box running
iptables and nat.  the basic setup will look like this:

 windows toy --+
               +---- gateway ---- internet
   webserver --+

now as i understand it, if my windows box is surfing the web, the packets
sent out go through the gateway and have their source ports changed by nat
so that when i get a response back, the gateway knows what box to send the
data to right?

but my question comes up when we're talking about the other box, my
webserver that delivers several services through ports that can't change
(22, 80, 25, 53, 110) when they leave... i think.

when a client on the other side of the web requests one of my pages, isn't
his web browser awaiting data coming from port 80?  and if nat has changed
the source port, how's that gonna work?

if someone could fill me in here, it'd be greatly appreciated.  as an added
bonus, i'd very much appreciate it if someone could send along the required
iptables rules -- 'cause i'm just lost.

thanks :)



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to