subscribe to our Youtube


14455 questions

17168 answers


0 members

We are migrating to our new platform at Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
299 views 1 comments
by anonymous
Hello alltogether,

after trying for days to get my problem solved without success, i hope you got some game-changing information for me..

A device in -network, connected to LAN Port needs to be simultaneously shared to OpenVPN (for remote access) and a different network of our client via WAN Port (configured as LAN)

VPN access without integrating a client network worked well with:

iptables -t nat -I PREROUTING -d -i tun_c_tun0  -j NETMAP --to
iptables -t nat -I POSTROUTING -s -o tun_c_tun0  -j NETMAP --to
exit 0

But how to include the client network connected to the (free remaining) WAN Port ?

Already tried several VLAN configs and traffic rules..

What am i doing wrong ?

Thanks in advance


1 Answer

0 votes
by anonymous

As far as I understood, you only need to establish traffic bettwen both subnets. To achieve this config you can use static routes, or add a traffic rule.

As you said you "configured port as LAN", I assume you have a RUT240, if so, these are the links for RUT240.

Static routes -->

Even if you wan to forward all the traffic from VPN to LAN, you can do it using zone forwarding feature.

Please let me know if it helped you, if don't please let me know what are your doubts and we can try to solve them.

by anonymous
Thanks for sharing.