@Derelict:
firewall rules go on the interfaces the traffic arrives into. So connections from IPsec go on the IPsec tab.
You'll have to post rues, IPsec settings etc. Hard to say what you have done wrong.
Hello, and Happy New Year. Sorry for the late reply, but, Christmas break and all..
Anyway just wanted to say that you pointed me in the right direction and was able to solve the problem. Many thanks!
For those ending up here after searching for the same problem, here's how I resolved it based on Derelict's input. He may want to change some of the below however this is working for me now.
If there is a Site to Site (S2S) VPN tunnel in place between, say, between Head Office (Site "A"), and a Branch Office (Site "B"), and you want your Mobile Clients to be able to connect to Site "A" remotely and see Site "B" you need to perform the additional setup:
The idea here is that you need to take the traffic from the Mobile VPN client, that is destined for Site B's network, and:
Tell Mobile Client's routing to pass Site B's LAN addresses over VPN.
Hand it off to Site A's local LAN (Mobile Phase 2 entry on Site A)
Site A's LAN's firewall needs to allow it, NATting the traffic to Site B's network. (IPsec firewall tab on Site A).
Site A's LAN passes it along to Site A's VPN Tunnel (S2S VPN Phase 2 entry on Site A)
Site B's VPN Tunnel passes it long to Site B's local LAN. (S2S VPN Phase 2 entry on Site B)
In this example, we will use the following data:
Mobile VPN client network: 172.16.10.0/24
Site A local LAN network: 10.5.0.0/16
Site B local LAN network: 10.6.0.0/16
SITE A: Additional Phase 2: Mobile Clients
Navigate to VPN -> IPsec
On the "Tunnels" tab, click "Show Phase 2" entries under "Mobile Clients".
Create a new Phase 2 entry with the following settings:
o Mode: Tunnel IPv4
o Local Network: 10.6.0.0/16
o Description: Whatever you want. EG: Sales Office LAN
o Protocol: ESP
o Encryption Algorithms: AES 256 bits
o Hash Algorithms: SHA1, SHA256, SHA384, SHA512
o The rest is default.
o Save and Apply.
SITE A: Additional Phase 2: S2S VPN
Add a new Phase 2 entry under your existing S2S VPN as follows:
o Mode: Tunnel IPv4
o Local Network: Your Mobile VPN Network (EG: 172.16.10.0/24)
o Remote Network: Your Site B LAN Network (EG: 10.6.0.0/16)
o Encryption Algorithms: AES 256 bits
o Hash Algorithms: SHA1
o The rest is default.
o Save and Apply.
SITE A: Firewall Rules
Go to Firewall -> Rules, IPsec Tab
Add a new rule below the existing one with the following settings:
o Interface: IPsec
o Address Family: IPv4
o Protocol: Any
o Source: Network, your Mobile VPN Network (EG: 172.16.10.0/24)
o Destination: Network, Your Site B LAN Network (EG: 10.6.0.0/16)
o Save and Apply.
SITE B: Additional Phase 2: S2S VPN
Add a new Phase 2 entry under your existing S2S VPN as follows:
o Mode: Tunnel IPv4
o Local Network: Your Site B LAN Network (EG: 10.6.0.0/16)
o Remote Network: Your Mobile VPN Network (EG: 172.16.10.0/24)
o Encryption Algorithms: AES 256 bits
o Hash Algorithms: SHA1
o The rest is default.
o Save and Apply.
Mobile Client Setup
You will need to tell your mobile client's OS to pass Site B's LAN traffic over your VPN connection. I will cover Windows 10 for this.
Open a privileged Power Shell and:
Add-VpnConnectionRoute -ConnectionName "PRP" -DestinationPrefix 10.6.0.0/16 -PassThru