FreeRADIUS 2 not listening on right port

Casartello, Thomas tcasartello at wsc.ma.edu
Thu May 15 19:44:15 CEST 2008


No I am not doing any kind of NAT. I actually have IPTables disabled right now.

Thomas E. Casartello, Jr.
Infrastructure Technician
Linux Specialist
Department of Information Technology
Westfield State College
Wilson 105-A
(413) 572-8245
E-Mail: tcasartello at wsc.ma.edu

Red Hat Certified Technician (RHCT)

-----Original Message-----
From: freeradius-users-bounces+tcasartello=wsc.ma.edu at lists.freeradius.org [mailto:freeradius-users-bounces+tcasartello=wsc.ma.edu at lists.freeradius.org] On Behalf Of Danner, Mearl
Sent: Thursday, May 15, 2008 1:42 PM
To: FreeRadius users mailing list
Subject: RE: FreeRADIUS 2 not listening on right port

You're not running NAT/PAT through iptables are you?

It'll translate 1812/1813 inside to <some high port>/<some high port> outside.

Not sure how the server will pick that up. Maybe the port after translation.

If so you'll need to not port translate the radius ports. I can do it in a Pix, but haven't used iptables for translation in a long while.

Mearl

From: freeradius-users-bounces+jmdanner=samford.edu at lists.freeradius.org [mailto:freeradius-users-bounces+jmdanner=samford.edu at lists.freeradius.org] On Behalf Of Casartello, Thomas
Sent: Thursday, May 15, 2008 12:31 PM
To: FreeRadius users mailing list
Subject: RE: FreeRADIUS 2 not listening on right port

Compiling from source did NOT solve the problem.

Thomas E. Casartello, Jr.
Infrastructure Technician
Linux Specialist
Department of Information Technology
Westfield State College
Wilson 105-A
(413) 572-8245
E-Mail: tcasartello at wsc.ma.edu

Red Hat Certified Technician (RHCT)

From: freeradius-users-bounces+tcasartello=wsc.ma.edu at lists.freeradius.org [mailto:freeradius-users-bounces+tcasartello=wsc.ma.edu at lists.freeradius.org] On Behalf Of Casartello, Thomas
Sent: Thursday, May 15, 2008 1:16 PM
To: freeradius-users at lists.freeradius.org
Subject: FreeRADIUS 2 not listening on right port

I just upgraded by FreeRADIUS server from the version 1 to version 2 family. I have the listen {} statements configured as follows:
radiusd: #### Opening IP addresses and Ports ####
listen {
        type = "auth"
        ipaddr = *
        port = 1812
}
listen {
        type = "acct"
        ipaddr = *
        port = 1813
}
main {
        snmp = no
        smux_password = ""
        snmp_write_access = no
}
Listening on authentication address * port 41045
Listening on accounting address * port 54893
Listening on proxy address * port 38374
Ready to process requests.

However as you can see if always listens on random ports. What am I doing wrong? I am using version 2.0.2 which was distributed with Fedora 9.

Thomas E. Casartello, Jr.
Infrastructure Technician
Linux Specialist
Department of Information Technology
Westfield State College
Wilson 105-A
(413) 572-8245
E-Mail: tcasartello at wsc.ma.edu

Red Hat Certified Technician (RHCT)


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html




More information about the Freeradius-Users mailing list