11341 questions

13514 answers


31665 members

0 votes
155 views 1 comments
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

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 --> https://wiki.teltonika-networks.com/view/RUT240_Routing


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.

Thanks for sharing.