I'm using my OPENWRT router as a client to a remote OpenVPN server.
The router connects alright and I can interact with all the other VPN clients.
Now I want to all the lan clients to have access to these remote VPN hosts.
The following diagram illustrates what I'm trying to do.
I've created an interface in /etc/config/network
config interface 'vpn' option proto 'none' option ifname 'tun0'
And put these lines in /etc/config/firewall
config zone option name 'vpn_tunnel' list network 'vpn' option input 'ACCEPT' option output 'ACCEPT' option forward 'REJECT' [...] config forwarding option src 'vpn_tunnel' option dest 'lan' config forwarding option dest 'vpn_tunnel' option src 'lan'
Unfortunately I still can't connect to a host on the VPN from PC1, for example. Basically I think is a NAT from LAN to tun0 VPN.
Could someone give a insight on what I'm doing wrong or forgot to do?