Re: route question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> 74.X is eth1 24.X is eth2 and 192.X is eth0
> I have iptable rules for 24.X:25 to goto 192.X:25 and port 80 also.
> This works
> I have iptable ruls for 74.X:25 to goto 192.X:25 and port 80 also. This
> does not work.
>
> the default route is set for 24.X network and it seems like that is why
> that network is working.
> If I change the default route to 74.X then the 74.X network works and
> the 24.X network stops working.

This sounds more like a destination NAT issue then a routing issue.

If I'm correct you have a server behind eth0 that handles traffic
forwarded to it from either eth1 or eth2. So if someone types in the
IP address of eth2 (or eth1) in their browser they'll get your server
behind eth0. Am I correct?

If so, what you want to look at is something called "destination NAT"
or "port forwarding."

-- 
Drew

"Nothing in life is to be feared. It is only to be understood."
--Marie Curie
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux