Koozali.org: home of the SME Server

Restrict VPN to certain known ip-adresses

Offline sqlerror

  • ***
  • 50
  • +0/-0
Restrict VPN to certain known ip-adresses
« 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

Offline mmccarn

  • *
  • 2,653
  • +10/-0
Re: Restrict VPN to certain known ip-adresses
« Reply #1 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

Offline sqlerror

  • ***
  • 50
  • +0/-0
Re: Restrict VPN to certain known ip-adresses
« Reply #2 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