Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    routing specific packets through IPSEC gre tunnel

    Scheduled Pinned Locked Moved IPsec
    greipsecnatpacketsstatic route
    2 Posts 2 Posters 1.3k Views 2 Watching
    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.
    • V
      vistatech
      last edited by

      Hi, I hope this is in the right section. we are in need of using a web service for one of our servers that just connects through GRE ipsec tunnel.
      I have a DMZ net with 192.168.10.0/24 address.
      i have a gre ipsec tunnel with 192.168.251.192/30 (basically: x.x.x.194 on our side and x.x.x.193 on their side.
      the web service address is : 10.1.1.20
      i've added a static route in : system=>routing=>static route. telling that for destination 10.1.1.0/24 network to use GRE gateway.
      i have a outbound NAT saying for 192.168.10.4 with destination of 10.1.1.20 to use GRE-interface address.
      when i try to ping 10.1.1.20 from my 192.168.10.4 host, it does not go through. i've captured icmp packets with 10.1.1.20 destination of GRE interface. surprisingly it shows that 10.1.1.20 reply to my x.x.x.194 side of the tunnel, but i get nothing on the host.
      any help would be appreciated.

      K 1 Reply Last reply
      Reply Quote 0
      • K
        Konstanti @vistatech
        last edited by

        @vistatech said in routing specific packets through IPSEC gre tunnel:

        10.1.1.20

        Hey
        And why is outgoing NAT used ?
        Try disabling it . I have a similar scheme and everything works fine without NAT.
        The question such, Pfsense can ping a host 10.1.1.20 ?

        1 Reply Last reply
        Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
        Privacy Policy · Cookie Policy