On Fri, Jun 16, 2000 at 01:19:35PM +0700, Nguyen Thanh Phong wrote:
> Hi,
>
> The following is the configuration for my network problem
>
> [A]------ppp------[B]-------ppp-------[C]+-----------[D]
>
>
> Client A dial-up to machine B using PPP. Depend on the username/passwd
> supplied by A, there are two situation
> a) B will route all packets from A to C, without caring/knowing what is in
> the header
> b) B will behave as a normal router for A (i.e. allows A to access C, D,
> etc).
>
> Can it be done by changing routing table at B, or using ipchains, or other
> tools?
You need to define two IP pools for two types of dial-up clients, and define
different routing policyes depend of subnets. For example user A gets
IP from IP pool 1.1.1.0/24 but user B from 2.2.2.0/24. And your host have
a following ipchains config:
ipchains -A forward -s 1.1.1.0/24 -j REJECT # We wont forward for A users
If I'm misunderstood the question try again, but [EMAIL PROTECTED] is
preffered place for this.
--
=- --rw------- =--=--=--=--=--=--=--=--=--=--=--=--=--=
Theodor Milkov Administrator IP Networks
Davidov Electric Ltd. Phone: +359 (2) 730158
PGP: http://www.zimage.delbg.com/zimage.pkr
=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]