did you allow masquerading of your PPPX device in your firewall? also
yup i have added a rule in my ipchains to route at assigned ip:
ipchains -A input -s 0/0 -d 0/0 -i ppp0 -j ACCEPT
and had this line also
-A forward -i ppp0 -s 0/0 -j MASQ
my dial-in server had an existing configuration for masquerading to my local lan, I only adding one dial-in.

check if your pppx device appears in your routing table
(although proxyarp will add this for you automatically, it doesn't
work. not sure why, but it took me a while to isolate this
prob before.)

if not, you'll need to add the shell commands of both in your /etc/ppp/ip-up (or ip-up.local) and /etc/ppp/ip-down (or
ip-down.local) scripts, like so:

"/etc/ppp/ip-up.local" file:
#/bin/bash
route add -host <client_ip> dev ppp0
/sbin/ipchains -A input -i ppp0 -s <client_ip> -j ACCEPT
do i have to put this at pppd configuration? It exist at my firewall


"/etc/ppp/ip-down.local" file:
#/bin/bash
route del -host <client_ip> dev ppp0
/sbin/ipchains -D input -i ppp0 -s <client_ip> -j ACCEPT
and also this one...
root owns both files, and chmod-ed as 755.
its both 755 already

What would be the gateway on my remote station dialing? Ang lumabas kasi na default gateway ng remote worstation ko, yong assigned ip address, What would be the gateway of remote client? Do i have to manual config or automatically assigned whe it dial.?
Thanks....


/etc/ppp/options
lock
-detach
modem
crtscts
proxyarp
asyncmap 0
login
auth
silent
nomagic
nodetach
nodefaultroute
+pap
ms-dns 200.200.1.1
ms-dns 202.138.177.33
ms-dns 202.138.164.1
netmask 255.255.255.0

/etc/ppp/option.ttysX
serverip:clientip



_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]

Reply via email to