what's the difference between
This thread was automatically locked due to age.
Thanks, Mario, for the explanation of how Astaro does masquerading. I'm confused about S/DNAT being static; if that's the case, then how can hundreds of public clients connect to an internal webserver via a DNAT from a public IP on an external Astaro interface?
- Create your secondary internet-access, e.g. DSL. When this line is established by a router in front of Astaro, create additionally the gateway-IP as a host definition.
Webadmin -> Network -> Routing -> policy based routing, for example HTTP
Source: External Address (that one currently with the default gateway on)
Source Interface: Any
Destination: Any
Service: HTTP
Target: Gateway-IP of your secondary Interface (even if this has none itself, since you can only define one gateway), or PPPOE-Interface-Address
- Additionally you need SNAT-rule to replace the external IP to the new target interface.
Webadmin -> Network -> NAT/Masquerading
Source: external address of the primary line
Destination: any
Service: http
Change source to: external address of the secondary interface
- Create your secondary internet-access, e.g. DSL. When this line is established by a router in front of Astaro, create additionally the gateway-IP as a host definition.
Webadmin -> Network -> Routing -> policy based routing, for example HTTP
Source: External Address (that one currently with the default gateway on)
Source Interface: Any
Destination: Any
Service: HTTP
Target: Gateway-IP of your secondary Interface (even if this has none itself, since you can only define one gateway), or PPPOE-Interface-Address
- Additionally you need SNAT-rule to replace the external IP to the new target interface.
Webadmin -> Network -> NAT/Masquerading
Source: external address of the primary line
Destination: any
Service: http
Change source to: external address of the secondary interface