Hi all,

Can someone teach me how to set the IP-Table on RedHat 7.2  ?

I would like to set the PPP Client IP-10.0.0.1 can browse interent through
PPP Server IP-192.168.13.222.  The simple diagram as below :

> Internet(0.0.0.0)
>       |
> PPP Server-Internal Interface(192.168.13.222)
>       |
> PPP Client (10.0.0.1)

I was wrote the scripts on below files, but seem like don't work (p.s. these
scripts is working on RH 7.0):

     etc/ppp/ip-up.local
    ---------------------------
    #!/bin/bash
    ipchains -A forward -s 10.0.01 -d 0/0 -j MASQ
    exit 0

     etc/ppp/ip-down.local
    -------------------------------
    #!/bin/bash
    ipchains -D forward -s 10.0.0.1 -d 0/0 -j MASQ
    exit 0

Please teach me how & where I can set the IP-Table to solve my
problem........ thanks !

Best regards,
Kevin Chan




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to