Saturday, April 10, 2021

Confused routing

Hello everyone! I need some advice because I'm out of ideas. I have a Windows Server and I need to access a network. That network is only reachable from a Ubuntu server serving as VPN Tunnel using Strongswan, this Ubuntu has a virtual nic, and a nat postrouting rule to the destination network. I mean. Server 10.x.x.x needs to access the network 10.1.x.x from a client. The Ubuntu server 10.x.x.x has a POSTROUTING -s 10.x.x.x -j SNAT -to 172.17.x.x (virtual nic). From this server I can reach the client network 10.1.x.x only through the virtual nic 172.17.x.x

Which rules I need to use this server as gateway from the Windows SRV?

I hope I was clear and somebody could bring some light over this problem.



No comments:

Post a Comment