• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

IPsec using public IP addresses

Scheduled Pinned Locked Moved IPsec
2 Posts 1 Posters 1.9k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    pico
    last edited by Aug 18, 2008, 1:57 PM

    Hi,

    I have to connect a VPN to another VPN, at a network I dont control, that only allow public (WAN) IP addresses.
    Please look at my network setup below:

    Lan Server1 –------ Router and VPN Gateway1 -------- |internet| -------- VPN Gateway2

    I have control over (Lan Server1) and (VPN Gateway1)
    The other gateway (VPN Gateway2) I have to connecto to using public IP addresses, I dont know why, but that is what I am told.

    Lan Server1 has the following IP address
    192.168.1.45 (LAN)
    87.145.245.151 (This is a public WAN addresses NAT'ed using 1:1 NAT to this server)

    VPN Gateway1 has teh following IP address
    87.145.245.150

    This is what the owner of VPN Gateway2 has told me:
    Clients must use public IP addresses or be NAT'ed to a public IP address.

    I have successfully created an IPsec VPN tunnel between two pfSense gateways, but only using the LAN address, I have never tried setting it up using WAS addresses.

    I tested between two pfSense IPsec gateways by setting 87.145.245.151 as local subnet on the local gateway and as remote subnet on the other. In the Status: IPsec I see a connection with a green arrow, but I can not get any connection of any kind between the two networks.

    I do not know if I am doing it right or if this even makes sense, so any help would be appreciated.

    1 Reply Last reply Reply Quote 0
    • P
      pico
      last edited by Aug 20, 2008, 12:06 PM

      Nobody knows if it is possible to connect two servers with NAT'ed WAN addresses ?

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received