Skip to contentSkip to conversation

Iptables as auth ?

DISCUSSION Rio Martin. 3 participants 4 messages Jul 15, 2003 – Jul 17, 2003

lore
Share & tools
lore
#0 lore raw

Folks,
Is there any way to configure iptables to perform nat only if the authentication from radius server is correct ?
I am looking for the documentation on google, but found nothing, need help ..

Regards,
Rio Martin.

Signature · 2 lines
Atlanta makes it against the law to tie a giraffe to a telephone pole
or street lamp.
#1 lore raw
Quoted 1 line · Rio Martin.

Folks,

Hello,

Quoted 2 lines

Is there any way to configure iptables to perform nat only if the authentication from radius server is correct ?

What is the exact packet flow (for both the initial flow and the RADIUS packet exchange) that you were expacting? How does an application which is only smart enough for its own protocol integrate the RADIUS auth? Or how can you trigger a RADIUS auth from the firewall to the actual user/client that is generating the traffic?

What you want is only to accomplish by installing client software on all the client machines... which is not a part of netfilter framework.

Ramin

Quoted 9 lines

I am looking for the documentation on google, but found nothing, need help ..

Regards,
Rio Martin.

Signature · 2 lines
Atlanta makes it against the law to tie a giraffe to a telephone pole
or street lamp.
#2 lore raw
Quoted 9 lines · Ramin Dousti

On Tue, Jul 15, 2003 at 05:38:53PM +0700, Rio Martin. wrote:
What is the exact packet flow (for both the initial flow and the RADIUS packet exchange) that you were expacting? How does an application which is only smart enough for its own protocol integrate the RADIUS auth? Or how can you trigger a RADIUS auth from the firewall to the actual user/client that is generating the traffic?
What you want is only to accomplish by installing client software on all the client machines... which is not a part of netfilter framework. Ramin

okay i describe again what i want:

INTERNET ----> Linux NAT Gateway + RADIUS ----> PC Client 1, 2, 3.. 100

Users in PC Client 1 .. 100 must authenticate with RADIUS before its traffic goes to Internet. I dont know how its going to work, but what i have in my mind for now is RADIUS must cooperate with somekind of daemon that should execute iptables to perform NAT to client IP.

Regards,
Rio Martin.

Signature · 2 lines
There is a great discovery still to be made in Literature: that of
paying literary men by the quantity they do NOT write.
#3 lore raw
Quoted 6 lines · Rio Martin.

INTERNET ----> Linux NAT Gateway + RADIUS ----> PC Client 1, 2, 3.. 100

Users in PC Client 1 .. 100 must authenticate with RADIUS before its traffic goes to Internet. I dont know how its going to work, but what i have in my mind for now is RADIUS must cooperate with somekind of daemon that should execute iptables to perform NAT to client IP.

I'm actually working on such a solution, project is for the moment named gnufw. Some information can be found at http://www.gnufw.org

I planned to release the first version around the beginning of september (sooner if possible).

For the moment we've got a generic framework and a communication protocol :
A daemon that send queued packet to an external server doing auth.

Work is now done on the auth server.

Any contributers are welcome.

BR,

Signature · 2 lines
Eric Leblond <[email protected]>
Regit.org