OpenVPN

Configure OpenVPN on Debian Lenny

This is the original artiche

In my configuration, my server's network is 10.1.1.0 and my VPN is 10.1.10.0, in order to access the server side networks, you need to enable the forwarding and masquerading, here's the steps:

$echo 1 > /proc/sys/net/ipv4/ip_forward

$iptables -t nat -A POSTROUTING -s 10.1.10.0/24 -o eth0 -j MASQUERADE
*Assuming your nic is eth0 and your vpn network is 10.1.10.0

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer