Hello,
I'm trying to setup a gateway/firewall/router machine to serve up the
Internet to my computers on my home Ethernet LAN using diald and
IP-Masquerading.
Right now, I've got everything working except computers on the LAN can't
cause diald to start the ppp connection.
IP traffic on the gateway machine running diald will cause diald to
start the ppp connection. Once the ppp connection is up, the other
machines on the LAN can use it without problem (except the connection
will timeout).
The ppp connection started by diald will stay up as long as the gateway
machine is using it, but usage by the LAN machines won't keep the
connection up.
I would appreciate any help getting this to work. E-mail directly to me
or to this list would be great.
The gateway machine is running Redhat 6.1 with diald 99.3.
My ISP gives out dynamic IP addresses.
Right now I start diald manually with the simple command:
/usr/sbin/diald
The firewall rules are started at boot time with:
rc.firewall:
#!/bin/sh
#
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -i ppp0 -j MASQ
echo 1 > /proc/sys/net/ipv4/ip_forward
echo 1 > /proc/sys/net/ipv4/ip_dynaddr
/etc/diald.conf:
mode ppp
connect "/usr/sbin/chat -v -f /etc/ppp/chat-isp < /dev/modem >
/dev/modem"
# disconnect
device /dev/ttyS0
speed 115200
modem
lock
crtscts
local 192.168.0.101
remote 192.168.0.102
dynamic
defaultroute
include /usr/lib/diald/standard.filter
/etc/ppp/chat-isp:
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
ABORT "BUSY"
"" "ATZ"
OK "ATDT5556666"
CONNECT ""
--
Tom Poe
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]