Want to connect to your home network from anywhere? Find out how to do it securely on Windows or Linux using OpenVPN and the DD-WRT router firmware.
Link to guide on dd-wrt forum:
[ Ссылка ]
EasyRSA Download:
[ Ссылка ]
OpenVPN Client Download:
[ Ссылка ]
Firewall config:
iptables -t nat -IPOSTROUTING -s 10.8.0.0/24 -o $(get_wanface) -j MASQUERADE
Example Client Config (.ovpn file):
client
dev tun
proto udp4
remote your.host.address 1194
nobind
persist-key
persist-tun
remote-cert-tls server
auth-nocache
verb 4
float
tun-mtu 1500
auth SHA256
cipher AES-256-CBC
data-ciphers CHACHA20-POLY1305:AES-256-GCM:AES-128-GCM:AES-256-CBC
ca ca.crt
cert laptop-client1.crt
key laptop-client1.key
Ещё видео!