Category Archives: VPN

How to Allow Specific IP Addresses in OpenVPN Server

The best and safest way to allow only specific IP addresses to use your VPN is by using iptables. First you need to add your accept (allow) rules and then you add a rule to drop (deny) all other traffic, example: iptables -A INPUT -s 1.2.3.4/32 -i eth1 -p udp -m udp –dport 1194 -j […]