Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: robwellesley on April 13, 2018, 12:18:01 AM
-
Hi Guys
How would one Restrict PPTP access to connections from just one remote IP number (or numbers)?
Thanks in advance for any advice on this.
Rob
-
I'd have a look at allowhosts/denyhosts
https://wiki.contribs.org/DB_Variables_Configuration
Something like:
config setprop pptp Allowhosts 1.2.3.4
I'm not sure if you need to set Denyhosts to 0.0.0.0 as well.
HOWEVER, saying all that I presume you are aware PPTP is pretty well worse than useless for security? It has been broken for years. Apple have dropped it entirely.
You really should use ipsec or openvpn if you care about your data.
If you are in a country where GDPR applies, or are dealing with one, then that advice should be considered mandatory.
Here endeth the lesson :-)
-
Cheers,
Looks simpler than IP Tables seeing as PPTP is already an SME service.
Yes, point taken - so convenient though :)
OpenVPN seems to not be 'free' however?
-
Cheers,
Looks simpler than IP Tables seeing as PPTP is already an SME service.
No... those keys add iptables rules for you all done by magic :-)
Yes, point taken - so convenient though :)
But worse than useless!! And remember GPDR. If that applies, and you KNOW data transfer is insecure you may have a problem.....
OpenVPN seems to not be 'free' however?
Not sure where you get that? I don't pay anything for it?
-
OpenVPN seems to not be 'free' however?
OpenVPN is free, open source software, released under the GPL.
-
I think the recommendation is that you use the OpenVPN_Bridge (https://wiki.contribs.org/OpenVPN_Bridge) contrib.
-
robwellesley
Also see
https://wiki.contribs.org/Firewall
Follow the command
config setprop pptp Allowhosts 1.2.3.4
with
signal-event remoteaccess-update
-
I can understand the idea that open vpn is not free. If you seek the client for windows and go straight to download, they will guide you to the services where they get money to keep the project alive.
To get what you want for the client computer , go to openvpn.net then click community then download/community to end there: https://openvpn.net/index.php/download/community-downloads.html
To equip your SME all is on the wiki as already pointed.