I have 2 Mikrotik routers in different data centers with the following specifications:
Router A
- RouterOS 6.49.6
- WAN int: ether2
- Public IP: a.a.a.a
- IP Pool 192.168.200.0/24
- L2TP/IPSec PSK with an assigned range of IP from the pool
- RouterOS 7.2.1
- WAN int: ether1
- Public IP: b.b.b.b
I would like to set up an IP-IP tunnel between the two and have the traffic of all users who connect to router A go through router B. For that, I have done the following steps with help from others:
1. Router B> create an ipip int
2. Router B> assign an IP address of 10.40.40.1 bound to ipip int
3. Router A> create an ipip int
4. Router A> assign an IP address of 10.40.40.2 bound to ipip int
5. Router A>NAT> in srcnat chain the action of src-nat to address b.b.b.b
6. Router A>Mangle> in prerouting chain from src address 192.168.200.0/24 to any destination but local, the action of route to 10.40.40.1 with passthrough enabled
7. Router B>NAT> in srcnat chain the action of src-nat to address b.b.b.b
8. Router B>NAT> in srcnat chain the action of src-nat to address a.a.a.a
Now, we have traffic sent from router A to B, but no traffic in the other direction (which means even the google website is not accessible for L2TP clients on router A). last night I got it to work with help from a friend, but apparently didn't download the backup from router A and now the settings are lost. So that's one of the issues that I need help with. The other is when the last time it was working L2TP clients of router A could see router B IP when looking up their own public IP, but could not use applications that are accessible from router B such as YouTube or Miro.
Thanks in advance for any kind soul that could help