Koozali.org: home of the SME Server

Limiting VPN incoming to a single IP

Librarian

Limiting VPN incoming to a single IP
« on: October 02, 2006, 01:51:23 PM »
Hi there

Is it possible to limit incoming VPN connections so that they're bound to one IP (static IP) adress only?

What I mean is, suppose my IP is 12.34.56.78 and I set up VPN to only accept incoming connections originating from 12.34.56.78 then it will accept those incoming connections. Should somebody try to connect from 56.78.90.12 (or something different than 12.34.56.78 ) then his connection will be rejected. (preferably routed to /dev/null  :twisted: )

Also, is this setup also possible with a dynamic IP - if I make use of dyndns.org as a service?

Regards

Libs

Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
Limiting VPN incoming to a single IP
« Reply #1 on: October 02, 2006, 02:47:08 PM »
You may want to concider OpenVPN. It would require anywone trying to access your server ot have the matching ssh key.

Bob
If you think you know whats going on, you obviously have no idea whats going on!