All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] custom route for forwarded traffic
@ 2007-10-30 14:38 Aleksander Kamenik
  2007-10-30 16:14 ` Grant Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Aleksander Kamenik @ 2007-10-30 14:38 UTC (permalink / raw)
  To: lartc

Hi,


I have two networks, users and servers connected via vpn (ipsec). Both 
internal networks. The routing is fine and connections work both ways.

Accordingly both networks have a firewall each which faces the internet 
and they create the vpn link between each other. Both firewalls have 
only one external IP (if they had more, I wouldn't be asking).

The servers network's firewall however does DNAT too. This is for 
external clients who connect to the external IP of the firewall and so 
can connect to the internal mail and webserver.

I want the computers in the users network to connect to the external IP 
of the servers firewall AND have the connection go through the VPN.

If I add a rule to the main routing table in the users network's 
firewall for servers network's external IP to go through the VPN, I will 
break the VPN connection (kind of like the chicken and egg problem).

So I need to create a route, which will apply only for forwarded 
connections. How do I do that?


Thanks,

-- 
Aleksander Kamenik
system administrator
+372 6659 649
aleksander@krediidiinfo.ee

Krediidiinfo AS
http://www.krediidiinfo.ee/
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-30 16:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-30 14:38 [LARTC] custom route for forwarded traffic Aleksander Kamenik
2007-10-30 16:14 ` Grant Taylor

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.