OpenVPN on OpenWRT router

Note underscore! Seems that OpenWrt does not likeĀ hyphen

config openvpn ‘lan’
option script_security ‘2’
option enable ‘1’
option remote ‘212.x.y.z’
option port ‘1194’
option proto ‘udp’
option dev ‘tap0’
#
option persist_key ‘1’
option persist_tun ‘1’
option keepalive “10 120”
#
option comp-lzo “yes”
#
option secret “/etc/config/static.key”
#
option user ‘nobody’
option group ‘nogroup’
option status ‘/tmp/openvpn-status.log’
option verb ‘3’
#

Or

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *