- 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
The 'Internet' object is indeed bound to the interface with the default gateway, but you would be using it in the traffic selector portion of your route and SNAT, so that's what you would want if this is your problem.
Maybe your problem is just be that you now need a static entry in DNS. What do you mean by "web server in dmz now is inaccessible" - you can't browse to it by FQDN or by IP?
When you solve the problem, please post the resolution.
Cheers - Bob
PS FWIW, I think 290074 should work with the HTTP proxy disabled or enabled in any mode, but not having tried it myself, I'm ready for someone to explain to me why it wouldn't.
Hi,
I think you will find that the access failure for your DMZ is caused by the routing sending the traffic out wan2 with no option of a higher PF rule to direct the traffic to your local server in the DMZ.
you might consider PF or routing with 2 rules, first one for your DMZ and the next one for your wan2.
Ian M