Community discussions

 
syadnom
Member
Member
Topic Author
Posts: 403
Joined: Thu Jan 27, 2011 7:29 am

radius clients connect to (and with src-address) of loopback ip?

Tue Feb 23, 2016 8:06 am

I can't figure out how to get this to work. I want the loopback IP address to be how I connect my radius 'userman' server to the client routers but I can't get it to work. Will only work when hitting an actual external interface. Using OSPF to route, so loopback interface and IP is what I need.

note, loopback is an empty bridge with a /32 address.

Thanks for any help!
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4051
Joined: Wed May 11, 2011 6:08 pm

Re: radius clients connect to (and with src-address) of loopback ip?

Thu Feb 25, 2016 12:57 am

You could probably do a srcnat rule that matches RADIUS packets and sets the source IP to what you want - it does seem silly to need to do this though.

/ip firewall nat
chain=srcnat protocol=udp src-port=1812-1813 action=src-nat to-address=LOOP.IP
When given a spoon,
you should not cling to your fork.
The soup will get cold.

Who is online

Users browsing this forum: No registered users and 12 guests