I want to be connected to my home network from outside word.
Here is the how to:
and If I want to access internet from my home, here is “Routing all client traffic (including web-traffic) through the VPN” in the same document.
But remember to regard these points:
ip_forward should be set to 1.
and put these lines /etc/firewall.user to enable nat
iptables -t nat -A POSTROUTING -s x.x.x.x /24 -o br-lan -j MASQUERADE
iptables -I FORWARD -s x.x.x.x/24 -j ACCEPT