I've been experimenting with Site-to-Site VPNs in my test environment. I have two satellite networks, each behind a SnapGear router/firewall with an IPSec tunnel (IKE/PSK) setup into my Astaro Gateway. Both tunnels are setup identical; "Auto packet filter is on, not using strict routing". The Astaro has two interfaces in use: one external/WAN interface on the Internet, the other as 10.0.1.1 on the internal interface.
Astaro Gateway: internal interface: 10.0.1.0/24, external interface/static IP: 50.20.30.40
Satellite One: internal interface:192.168.1.0/24, external interface/static IP: 100.20.30.40
Satellite Two: internal interface:192.168.2.0/24, external interface/static IP: 200.30.40.50
Tunnels are up, no problem.
The problem is, from each of the Satellites, I can only ping the internal interface of the Astaro Gateway (10.0.1.1), but none of the other nodes on the internal 10.0.1.0/24 network. However, if I turn on Masquerading so that Satellite One or Two is masquerading as the Astaro's internal network, I can ping all nodes on the 10.0.1.0/24 network. For fun, I also setup Remote Access (L2TP VPN with RADIUS) and have experienced the same issue with software-based VPN sessions.
Now what I want to be able to do is only permit a certain host on the 10.0.1.0/24 network (lets say 10.0.1.5) from being accessible by the two satellite internal networks. With masquerading in effect, I've also tried setting up an allow rule for that host and a deny rule following it for all the other hosts, but that doesn't seem to work either.
I tried setting up packet filtering rules, but the live log doesn't even show the traffic, and it doesn't seem to have taken effect. I also tried searching through today's packet filtering log and can't even see any hits on the one particular source host (192.168.0.100).
However, the summary view that's displayed when you click on the Network Security menu item shows "top 10 hosts" and shows that source host's 45 dropped packets. Strangely, I cannot get this value to increase/decrease no matter how long/how many times I try again (I actually let the source host on the Sat. One network ping 10.0.1.5 for probably 30-40 minutes).
Now, I'm not certain that I need to masquerade, nor if it's desired/Right Thing (tm). I'm assuming (with my limited knowledge) that any source traffic will be masqueraded as 10.0.1.0/24 traffic, which would make it difficult/impossible to track particular host activities.
Can someone shed some light on why masquerading is seemingly necessary and/or should I be doing something else? As I'm posting I'm trying to read up on NAT, packet filtering, etc. (maybe routing too?) as I'm new to all this, obviously.
If you need more details re: my config, please ask.
Thank you in advance
This thread was automatically locked due to age.