Re: How to allow an ipsec tunnel endpoint to communicate with an internal IP on the other side?

From: Joachim Schipper (
Date: 07/05/05

  • Next message: Joachim Schipper: "Re: modsecurity for Apache"
    Date: 05 Jul 2005 08:50:56 GMT
    > Hi,
    > My setup is like this: There are two sites. The internal network on one
    > site
    > is and the other side is There is an
    > ipsec
    > server (let's call them r001 and r002 respectively) on each site
    > establishing
    > a VPN tunnel. Of course both r001 and r002 have a public IP. The VPN is
    > working
    > fine for the computers on the internal networks.
    > However, the question is, how to allow r001 itself connect to a host on
    > (eg, ping, ssh)? In most cases r001 will pick its public
    > IP
    > (because that interface is on the way to the default gateway). This
    > causes a
    > problem because a public IP can't connect to a private IP.
    > How to solve this problem? Thanks in advance!

    What's a VPN? The KAME port's IPSec (ipsec-tools+26sec)? OpenVPN?
    OpenS/WAN+KLIPS? Some other combination?

    If the VPN is working correctly, r001 should tunnel any traffic through
    the VPN, on the public interface. I'm assuming the traffic is emitted,
    but not moving through the VPN? Have you verified this? (Please note
    that with at least the one VPN implementation I have used, a localhost
    tcpdump will see stuff that isn't on the wire, because decrypted packets
    are re-submitted to the network stack.)


  • Next message: Joachim Schipper: "Re: modsecurity for Apache"

    Relevant Pages

    • Re: Secure VPN access
      ... Is there any document or a guidance one about configuring IPSec ... available in Microsoft SBS server side also. ... do you mean you want to create VPN between SBS and a ...
    • Re: VPN From W2K/Pro to W2K Server Doesn;t Work Through Firewall
      ... My belief is that your NAT ... My understanding is that IPSec AH protocol does not work with NAT devices ... IPSec operates in either one of two modes - transport mode or tunnel mode. ... provide a VPN remote access solution. ...
    • Re: VPN From W2K/Pro to W2K Server Doesn;t Work Through Firewall
      ... and VPN client. ... >performing the gateway, routing and NATting. ... >> that do not have IPsec passthrough because the IP ... >> while tunnel mode protects the IP layer as well. ...
    • Re: Linux v Dedicated NAT routers - secure remote differences
      ... I think I have got the core of the issue, I assume you are using an IPsec ... VPN, so here is a quote form a Cisco paper on VPNs: ... NAT After IPSec ... then your Linux may not forward GRE for some reason. ...
    • Re: Clientless VPN (SSL VPN) vs HTTPS
      ... I tend to only read these lists, ... SSL contains ciphers and algorithms to securely authenticate, ... VPN in combination ... Company internal network is: ...