router w/ iptables using nat and routing

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

 



i am setting up a router using rh8.0

it has 3 interfaces, eth0 66.119.211.74/30, eth1 64.146.167.254/27, eth1 10.10.1.1/8

currently i use two routers to accomplish my need. that is to route from eht0 my isp link to eth1 my routable subnet, containing email, dns, vpn and web sites. and do NAT on eth1 to 10.10.1.1-10.10.1.255 for my customers who do not need routable addresses.
i can make one or the other work, nat 10.10.1.1 to the internet. or route 64.x.x.x to the internet. but i have not been able to get both to work.


currently i have a router doing 66.119.211.74 to 64.146.167.254. and a router doing 10.10.1.1 to 64.146.167.228 w/NAT. then they are connected on the 64. network to allow access to dns, email and web.

is it possible to run one machine with 3 card to accomplish this task?

--
Bob Iverson
SPECTRUM COMMUNICATIONS
765-7773
bob@xxxxxxxxxxxxxxxxx


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux