Hi everyone. I got a few replies to my earlier post, concerning my need to figure out a way to route everything coming in from 1.0.8.0 (found behind eth0) to a router 1.0.0.162 (behind eth1). thanks for your help, but sadly the problem is not solved. I tried rinetd but that doesn't work for this situation, apparently. and like i mentioned before ipfwadm isnt good enough, because i specifically need to route all packets from 1.0.8.0, no matter what their designated destination, to 1.0.0.162. I would REALLY appreciate ANY help on figuring out how to do this. If i can't figure out how to do this within a couple days it means that i'm going to have to start doing a whole load of things differently at work which means a whole lot more work because i cant figure out this seemingly simple problem. i'll explain the exact set up, in case i've just overlooked some blatantly obvious better way of doing it. feel free to stop reading and delete this if you're already bored. basically, theres a linux box that acts as a host for several small/medium networks. for some of these networks it is an internet gateway, for others not (usually because they have another gateway elsewhere). now, i've hooked up a portmaster to accept dial-in access. that portmaster can assign IP numbers to the callers in order to separate the users of different networks. for example, network A and B are both hooked to my linux box, and both companies want dial-in access. the idea is that the portmaster supplies, for example, 1.0.8.0 IP numbers to callers of company A and 1.0.9.0 IP numbers to company B. then i need linux to simply check whether the packets are coming from 1.0.9.0 or 1.0.8.0, and feed the packets onwards to the correct companies networks. so far so good, this i can do with ipfwadm, but the problem arises due to the gateway business. company A has their own internet gateway and i cant let them hog up my linux box's bandwidth, so if any packet comes from the portmaster with for example destination www.linux.org, i need it to get fed to network A, not to my internet connection. ipfwadm doesnt allow this level of versatility. so you see, if i cant figure out how to do this, it means that i have to start setting up separate linux boxes/portmaster for every damn network that wants dial-up access, which would be quite expensive and silly. please help! how can this be done? how do ISPs do it? [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to [EMAIL PROTECTED]
