Detect source interface ad a attribute
Good day I want to process some radius packets depending on the source interface radiusd.conf # Some interface 1 listen { ipaddr = 192.168.26.225 port = 1812 type = auth } listen { ipaddr = 192.168.26.225 port = 1813 type = acct } # Some interface 2 listen { ipaddr = 192.168.62.1 port = 1812 type = auth } listen { ipaddr = 192.168.62.1 port = 1813 type = acct } sites-available/default if (Src-Ip=="192.168.26.225") { module1 } elsif (Src-Ip=="192.168.62.1") { module2 } else { module } How can I configure it?
On Wed, May 18, 2016 at 11:25:42AM +0600, Mikhail Gaydamaka wrote:
I want to process some radius packets depending on the source interface
if (Src-Ip=="192.168.26.225") { module1 } elsif (Src-Ip=="192.168.62.1") { module2 } else { module }
How can I configure it?
Packet-Dst-IP-Address Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
participants (2)
-
Matthew Newton -
Mikhail Gaydamaka