Re: PPTP forward port per user

2008-08-11 Thread Evgeniy Kozhuhovskiy

Sascha Kiefer wrote:

Hi,

i would like to be able to forward an internal ports of users through 
the VPN.
The idea is that a user picks 2-3 ports (or maybe just one) tcp port out 
of a given port-pool,
and when he connects to the VPN, this portforwarding is established for 
him.

Any idea how to do this? I'm using pptpd with freeradius + mysql.


Any unused attribute + radattrs.so pppd's plugin + ip-up script with 
corresponding iptables.


--
With best regards, Evgeniy Kozhuhovskiy,
Leader of Services team,
Minsk State Phony Network, RUE Beltelecom.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


PPTP forward port per user

2008-08-10 Thread Sascha Kiefer

Hi,

i would like to be able to forward an internal ports of users through 
the VPN.
The idea is that a user picks 2-3 ports (or maybe just one) tcp port out 
of a given port-pool,

and when he connects to the VPN, this portforwarding is established for him.
Any idea how to do this? I'm using pptpd with freeradius + mysql.

thanks for a hint.
cheers,
--sascha
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: PPTP forward port per user

2008-08-10 Thread Phil Mayers

On Sun, Aug 10, 2008 at 10:15:31AM +0400, Sascha Kiefer wrote:

Hi,

i would like to be able to forward an internal ports of users through 
the VPN.
The idea is that a user picks 2-3 ports (or maybe just one) tcp port out 
of a given port-pool,

and when he connects to the VPN, this portforwarding is established for him.
Any idea how to do this? I'm using pptpd with freeradius + mysql.


This is not a freeradius question.

If you want to run a script on the VPN server and have it access values 
from the radius reply, see man pppd-radius and look at the ip-up 
script.




thanks for a hint.
cheers,
--sascha
-
List info/subscribe/unsubscribe? See 
http://www.freeradius.org/list/users.html

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