Hi everybody!
I want to publish a webserver. The web server is locatated on SiteA, the public IP on SiteB.
SiteA: 10.1.1.0/24
Webserver: 10.1.1.1/24
SiteB: 10.1.2.0/24
Public IP: 8.8.8.8
Between the two sites there is a Site2Site vpn tunnel.
I've created a dst-nat from 8.8.8.8 to 10.1.1.1 dst-port=80.
On site B I can access the website via the external IP. On site B not. The problem is, that the packet comes with the external source IP from the client. I will be forwarded correctly to the web server, but the default gateway on site A router will forward it to the internet and so it will come out with the wrong src-address.
Can everyone help me?
Thank you,
kr Martin