I have:
- a linux box: 10.20.0.2
- a gateway which I have no access on it: 10.20.0.1
- a Fortigate: 10.10.0.1
I would like to provide internet to 10.20.0.2 through 10.10.0.1
I can't add a route since 10.10.0.1 is not directly connected. How to achieve this ? I am thinking to a tunnel between 10.20.0.2 and 10.10.0.1, like GRE. not sure this is a good idea...
******
**** *****
** ** ┌───────────┐ ┌───────────┐ ┌───────────┐
** 0.0.0.0 *──────────────┤ 10.10.0.1 ├────────IPSEC─VPN──────────┤10.20.0.1 ├───────┤ 10.20.0.2 │
* * └───────────┘ └───────────┘ └───────────┘
****** ****
******