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 192.168.1.0/24 -network, connected to LAN Port needs to be simultaneously shared to OpenVPN (for remote access) and a different network of our client 192.168.188.0/22 via WAN Port (configured as LAN)
VPN access without integrating a client network worked well with:
#!/bin/sh
#
iptables -t nat -I PREROUTING -d 10.61.8.0/24 -i tun_c_tun0 -j NETMAP --to 192.168.1.0/24
iptables -t nat -I POSTROUTING -s 192.168.1.0/24 -o tun_c_tun0 -j NETMAP --to 10.61.8.0/24
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
Harry