On Wednesday 22 September 2004 12:48, satind...@in.safenet-inc.com wrote:
> Scenario is:
> 
> Client    - - - - - - - - - --  Gateway Server -- - - - - - - |
>  
> |- - - -  Server 1
>  
> |- - - -  Server 2
>  
> With OpenVpn :
> 
> Client (openvpn)    - - - - TUN- - - - - --  Gateway Server (openvpn) -- - -
> - - - - |
>  
> |- - - -  Server 1 
>  
> |- - - -  Server 2 

Everything linewrapped horribly

> I need to redirect IP packets from Client to Server1 and Server2 through
> Gateway depending upon request parameters.
> Here Gateway is Apache Proxy with Server 1 and Server 2 as backend/protected
> servers. 
> Can I route ip packets from Client to backend servers ip through TUN tunnel?
> Or
> Does openvpn provides hook-ups to filter ip-packets? I can use that to
> filter ip packets at TUN of Gateway.

I don't understand why do want to do this in such a complex and
incomprehensible way.

Just protect servers with firewall, and forward specific open ports from
servers to gateway.

Easily doable with iptables alone. No need to modify openvpn.
--
vda


Reply via email to