Site to Site VPN with NAT on UBUNTU, is it possible
Posted: Mon Jul 13, 2020 6:55 pm
We have two unrelated sites (A and B) with two different working Softether on UBUNTU installations
We have a situation where we want to connect site to site VPN from SITE A to SITE B, we want a device in SITE A to connect to multiple devices in SITE B using a NAT address from SITE B and we'd like to accomplish this using the existing Softether installations.
The idea is to:
1:) set up HUB A on SITE A Softether Server, bridge HUB A to an unnumbered Ethernet interface connected to SITE A network,
2:) set up HUB B on SITE B Softether Server, bridge HUB B to an unnumbered Ethernet interface connected to SITE B network,
3:) create a cascade connection from HUB A to HUB B
4:) create a single SITE B NAT address for devices from SITE A
5:) route IP traffic from SITE A to SITE B using the NAT address
Example:
SITE A Network (192.168.100.0/24)
SITE A Softether UBUNTU Server IP (192.168.100.2)
SITE B Network (192.168.200.0/24)
SITE B Softether UBUNTU Server IP (192.168.200.2)
SITE B NAT IP Address for device traffic coming from SITE A (192.168.200.3)
During this exercise, we have not figured out if its best to assign HUB A and HUB B IP addresses using Softether SecureNAT or Softether L3 Switch and which would be best for this use case.
We currently have this working with a hardware router and VPN solution and would like to replicate with Softether for cloud solutions.
Our ask, is this use case possible using:
1:) only the Softether application or;
2:) a combination of Softether application and Linux Networking in UBUNTU.
If yes, how would we accomplish this as the online manuals do not show this particular use case in any of the site to site L2 or L3 documentation. Any examples and configurations would be appreciated.
We have a situation where we want to connect site to site VPN from SITE A to SITE B, we want a device in SITE A to connect to multiple devices in SITE B using a NAT address from SITE B and we'd like to accomplish this using the existing Softether installations.
The idea is to:
1:) set up HUB A on SITE A Softether Server, bridge HUB A to an unnumbered Ethernet interface connected to SITE A network,
2:) set up HUB B on SITE B Softether Server, bridge HUB B to an unnumbered Ethernet interface connected to SITE B network,
3:) create a cascade connection from HUB A to HUB B
4:) create a single SITE B NAT address for devices from SITE A
5:) route IP traffic from SITE A to SITE B using the NAT address
Example:
SITE A Network (192.168.100.0/24)
SITE A Softether UBUNTU Server IP (192.168.100.2)
SITE B Network (192.168.200.0/24)
SITE B Softether UBUNTU Server IP (192.168.200.2)
SITE B NAT IP Address for device traffic coming from SITE A (192.168.200.3)
During this exercise, we have not figured out if its best to assign HUB A and HUB B IP addresses using Softether SecureNAT or Softether L3 Switch and which would be best for this use case.
We currently have this working with a hardware router and VPN solution and would like to replicate with Softether for cloud solutions.
Our ask, is this use case possible using:
1:) only the Softether application or;
2:) a combination of Softether application and Linux Networking in UBUNTU.
If yes, how would we accomplish this as the online manuals do not show this particular use case in any of the site to site L2 or L3 documentation. Any examples and configurations would be appreciated.