Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: sqlerror on April 03, 2009, 09:59:51 PM

Title: Restrict VPN to certain known ip-adresses
Post by: sqlerror on April 03, 2009, 09:59:51 PM
We want to restrict VPN access to certain known ip-adresses, and thus block VPN access from unknown ip-adresses, can this be done?

Sqlerror
Title: Re: Restrict VPN to certain known ip-adresses
Post by: mmccarn on April 04, 2009, 01:02:12 AM
It's not particularly obvious from http://wiki.contribs.org/DB_Variables_Configuration#Additional_information_on_customizing_iptables, but for remote PPTP users you should be able to do what you want using
Code: [Select]
config setprop pptpd AllowHosts a.b.c.d
signal-event remoteaccess-update
Title: Re: Restrict VPN to certain known ip-adresses
Post by: sqlerror on April 06, 2009, 09:30:50 AM
It's not particularly obvious from http://wiki.contribs.org/DB_Variables_Configuration#Additional_information_on_customizing_iptables, but for remote PPTP users you should be able to do what you want using
Code: [Select]
config setprop pptpd AllowHosts a.b.c.d
signal-event remoteaccess-update
Thanks Mmccarn, this is what we needed.
sqlerror