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

    S2s VPN :: WinXP<->Pfsense A COMPLETE MISTERY

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 2.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.
    • S
      stefanBG
      last edited by

      Hello everybody,

      I have been struggling with VPN too for a while. I have made a successful setup for road warriors and than did a site-to-site from my xp PC to Pfsense, but something must be wrong!!! Because when I ping the pfsense local net everything is OK, when I ping remote net from Pfsense - OK but!!! I cannot ping remote net from a PC on the pfsense local net.

      My setup is as follows  LAN1 (192.170.170.0/24) –VPN gateway(12.0.0.1) ---tunnel--- VPN gateway(12.0.0.2)--LAN2 (192.168.2.0/24)

      I can ping 192.170.170.0/24 from 192.168.2.0/24
      I can ping 192.168.2.0/24 and 12.0.0.2 from 192.170.170.1
      I CANNOT ping 192.168.2.0/24 and 12.0.0.2 from 192.170.170.112

      I shall appreciate any help! 10x in advance

      Here are my screenshots and configs

      My XP openvpn config

      byp_offices.ovpn

      float
      port 1194
      dev tun
      dev-node byp_offices.ovpn
      proto tcp-client
      remote 1.2.3.4 1194
      ifconfig 12.0.0.2 12.0.0.1
      ping 10
      persist-tun
      persist-key
      secret shared_byp_offices.key
      #auth MD5
      cipher BF-CBC
      comp-lzo
      route 192.170.170.0 255.255.255.0
      verb 4

      server side is with custom options: push "dhcp-option DNS 192.170.170.1";push "redirect-gateway def1";
      Please, help me find the problem. I dont want to start manually messing with the routing tables
      ![27Diagnostics_ Routing.jpg_thumb](/public/imported_attachments/1/27Diagnostics_ Routing.jpg_thumb)
      ![27Diagnostics_ Routing.jpg](/public/imported_attachments/1/27Diagnostics_ Routing.jpg)
      ![28OpenVPN_ Server_ Edi.jpg_thumb](/public/imported_attachments/1/28OpenVPN_ Server_ Edi.jpg_thumb)
      ![28OpenVPN_ Server_ Edi.jpg](/public/imported_attachments/1/28OpenVPN_ Server_ Edi.jpg)

      1 Reply Last reply Reply Quote 0
      • K
        kpa
        last edited by

        The addresses you use for the first LAN 192.170.170.0/24 and the tunnel endpoints 12.0.0.0/24 are not real private RFC 1918 networks, I would change them to for example 192.168.170.0/24 and 10.12.0.0/12.  Since you're using your xp machine as the other endpoint you probably have to configure it as a router, by default windows xp won't do routing.

        Edit: push options won't work with a shared key setup in case you're wondering.

        1 Reply Last reply Reply Quote 0
        • S
          stefanBG
          last edited by

          So, lets forget about my XP. While trying with my XP I was also trying with a Suse distro using the same settings as in the XP. The Suse is the router of the remote network I would liek to connect.

          So to accomplish my mission, I need to:

          Switch back to PKI - a road warrior setup.

          I had that setup and almost no luck with the VPN. While changing settings, the most i got is to ping the remote VPN gateway, but not the network, so no success with s2s vpn! :(

          Could it be from the RFC 1918 networks incompatibility???

          10x

          PS. I was just wondering, Can I still make ping from Pfsense network to my XP vpn gateway???

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.