Date: Fri, 1 Sep 2000 09:48:15 +0300 From: vad@ucb.crimea.ua To: freebsd-questions@freebsd.org Subject: iij ppp trouble Message-ID: <20000901094815.A38721@relay.ucb.crimea.ua>
index | next in thread | raw e-mail
Hi All!
Can anybody help me in my problem...
Description:
i need to create ppp-based connection from remote workstation in my local
network via FreeBsd gateway.
Modems are attached to gateway, workstation is a Win95 based
All workstations are connected to gateway using DHCP
On one of them thereis a programm which only two network-accessing parameters in configuration: ip-address (194.22.332.166) and port :(4000)
And there is another programm on this workstation which also have same params
on same dial-up phone : ip-address (194.22.332.151) and port :(9000)
Please show me my errors in configuration and give me some info about following:
My solution is:
in /etc/ppp.conf
added:
gogogo:
set device /dev/cuac00 /dev/cuac01 /dev/cuac02 /dev/cuac03 /dev/cuac04 / set speed 57600
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \
OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
set login
set phone 123456
set authname myname
set authkey mypassword
disable pap
disable chap
set timeout 300
set ifaddr 194.22.333.0/24 194.22.333.0/24
add 194.22.332.166 HISADDR
add 194.22.332.151 HISADDR
alias enable yes
set filter out 0 permit 0 194.22.332.151 tcp dst eq 9000
set filter in 0 permit 194.22.332.151 0 tcp src eq 9000
set filter out 0 permit 0 194.22.332.166 tcp dst eq 4000
set filter in 0 permit 194.22.332.166 0 tcp src eq 4000
and ppp was started with params: ppp -auto -nat -quiet gogogo
... is my ifaddr correct ...and what is it for?
Bye,
Vad
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000901094815.A38721>
