Linux Netfilter discussions
 help / color / mirror / Atom feed
* NAT authentication
@ 2003-04-15  9:51 Chen Kwong Wai William
  2003-04-17 13:56 ` Julian Gomez
  0 siblings, 1 reply; 2+ messages in thread
From: Chen Kwong Wai William @ 2003-04-15  9:51 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 425 bytes --]

Dear all,

   I want to ask if it is possible to configure iptables NAT to use RADIUS server for authentication.

   I am seeking if it is possible for me to do:

   1. When user want to connect to Internet by NAT.
   2. A prompt will show up to authenticate the users by RADIUS to a windows 2000 server.
   3. If the user is authenticated, NAT is done, and packet send to Internet.

   Thx a lot.

Best,
William

[-- Attachment #2: Type: text/html, Size: 1241 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: NAT authentication
  2003-04-15  9:51 NAT authentication Chen Kwong Wai William
@ 2003-04-17 13:56 ` Julian Gomez
  0 siblings, 0 replies; 2+ messages in thread
From: Julian Gomez @ 2003-04-17 13:56 UTC (permalink / raw)
  To: netfilter

On Tue, Apr 15, 2003 at 05:51:14PM +0800, William spoke thusly:

>   1. When user want to connect to Internet by NAT.

What outgoing user services will be used ?

>   2. A prompt will show up to authenticate the users by RADIUS to a windows 
>   2000 server.   

If you are using it for plain http/https/ftp sessions, then I would suggest
plugging in a transparent proxy (eg: Squid), and have that perform the OOB
authentication to your RADIUS daemon.

Otherwise, if you need it for generic outgoing services, I think it might
be possible to plug in a SOCKS5 server with authentication to your Win2K
RADIUS daemon.

>   3. If the user is authenticated, NAT is done, and packet send to Internet.

See above, this won't touch iptables (except for the transparent proxying
most probably).

Another, probably less secure method would be to have the user authenticate
itself to some web server (Apache, checking your Win2K RADIUS db), if
successful have your gateway add in the appropriate rules. Otherwise just
ignore it. This means interfacing between the web server, radius + your
gateway.

-- 
"any nation that wants to control its borders can do so." 
		- Tommy Franks; Mexicans && Columbia Drug War ?


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-17 13:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-15  9:51 NAT authentication Chen Kwong Wai William
2003-04-17 13:56 ` Julian Gomez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox