Hello everyone. I have a little problem and I don't know where I got into a loop. Router with VPN server L2TP/ipsec local 192.168.1.0/24
VPN Klinet Remote has the address 192.168.3.0/24
VPN has addresses local address: 10.0.18.9 remote address: 10.0.18.8
when I enter the address of my website www.example.com, the server sees that the website was opened by VPN address 10.0.18.9 and not some 183.xx.xx.xxx
Your IP: 10.0.18.9 Your Host: 10.0.18.9
there is a web server on the computer 192.168.3.32, redirection done
when I turn off masquerade, it stops working for me, but then all VPN addresses are visible, not 10.0.18.9
add action=masquerade chain=srcnat dst-address=\
disabled=yes 192.168.3.0/24 out-interface-list=VPN
It stops working for me:
add action=dst-nat chain=dstnat comment="http - 11" dst-port=80 in-interface=\
ether1-WAN1 log=yes log-prefix=wwww_log_PROTO-PoRt80__LOG protocol=tcp \
to-addresses=192.168.3.32 to-ports=80
What am I doing wrong ?