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

    IPSEC with snat

    Scheduled Pinned Locked Moved IPsec
    1 Posts 1 Posters 419 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.
    • N
      ntiesto
      last edited by

      Hi. I have an iptables with ipsec client and it's ok. I want to change iptables with pfsense. I have this settings for ipsec:
      my lan 10.4.17.0/24
      ipsec site: local 172.15.22.0/24, remote 10.173.0.0/21.
      In iptables i have this rule of snat for change my local ip 10.4.17.103 in 172.15.22.254:
      -A POSTROUTING -s 10.0.3.103 -d 10.173.0.0/21 -j SNAT --to-source 172.15.22.254
      -A POSTROUTING -s 172.15.22.0/24 -o eth1 -m policy --dir out --pol ipsec -j ACCEPT.
      How can i make this settings in pfsense?

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