i use radius -X to see the log, it looks like:
what should i write in client.confmine is like this:client fremont.iqwer.com {ipaddr = 173.233.234.52shortname = fremontsecret = 19861230nastype = other--}2010/6/8 Spacelee <fjctlzy@gmail.com>
on the radius server, i type the two command , and get those results, the iptables has been shutdownradtest test test localhost 1812 19861230Sending Access-Request of id 124 to 127.0.0.1 port 1812User-Name = "test"User-Password = "test"NAS-IP-Address = 127.0.0.1NAS-Port = 1812rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=124, length=20radtest test test 173.224.212.50 1812 19861230Sending Access-Request of id 236 to 173.234.232.50 port 1812User-Name = "test"User-Password = "test"NAS-IP-Address = 127.0.0.1NAS-Port = 1812Sending Access-Request of id 236 to 173.224.212.50 port 1812User-Name = "test"User-Password = "test"NAS-IP-Address = 127.0.0.1NAS-Port = 1812Sending Access-Request of id 236 to 173.224.212.50 port 1812User-Name = "test"User-Password = "test"NAS-IP-Address = 127.0.0.1NAS-Port = 1812radclient: no response from server for ID 236 socket 3--2010/6/8 Spacelee <fjctlzy@gmail.com>
this is the file users' contenttest Auth-Type:=MS-CHAP, User-Password:="test", Simultaneous-Use:=100Service-Type = Framed-User,Framed-Protocol = PPP,Framed-IP-Address = 255.255.255.254,Framed-IP-Netmask = 255.255.255.02010/6/8 Spacelee <fjctlzy@gmail.com>
i use netstat and found there is radius listen on 1812, 1813 and 1814 using udpi shut down all the iptables both on the server of pptp and the server radiusbut the pptp can't be authenticated , the log isRADIUS plugin initialized.Jun 8 15:26:29 mountainview pppd[4604]: Plugin /usr/lib64/pppd/2.4.4/radattr.so loaded.Jun 8 15:26:29 mountainview pppd[4604]: RADATTR plugin initialized.Jun 8 15:26:29 mountainview pppd[4604]: Plugin /usr/lib64/pptpd/pptpd-logwtmp.so loaded.Jun 8 15:26:29 mountainview pppd[4604]: pptpd-logwtmp: $Version$Jun 8 15:26:29 mountainview pppd[4604]: pppd 2.4.4 started by root, uid 0Jun 8 15:26:29 mountainview pppd[4604]: Using interface ppp0Jun 8 15:26:29 mountainview pppd[4604]: Connect: ppp0 <--> /dev/pts/1Jun 8 15:27:03 mountainview pppd[4604]: rc_send_server: no reply from RADIUS server puppet:1812Jun 8 15:27:03 mountainview pppd[4604]: Peer test failed CHAP authenticationJun 8 15:27:03 mountainview pppd[4604]: Connection terminated.Jun 8 15:27:03 mountainview pppd[4604]: Exit.it says there is not reply2010/6/8 Alan Buxey <A.L.M.Buxey@lboro.ac.uk>Hi,
> i can start freeradius ok, but my pptp can't remote access radius server, I telnet 1812 or 1813 , but both are connection refused, i don't know what to do with this situationfirewall eg iptables , on the server you put freeradius on?
alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
--
Spacelee
--
Spacelee
Spacelee
Spacelee