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

    OpenVPN between Pfsense and openWRT

    Scheduled Pinned Locked Moved OpenVPN
    1 Posts 1 Posters 272 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.
    • E
      erdeidominik99
      last edited by erdeidominik99

      Hello! I'm trying to set up a site to site openvpn between pfsense and openwrt. The connection goes to up, but there is no traffic. At the pfsense side I added a pass firewall rule to the openvpn interface, and at the openwrt side I created an interface at luci for the tun0 and created a firewall zone an allowed to go from lan to vpn and from vpn to lan. I attach the server and the client config. The pfsense side lan is 192.168.0.0/24 and the remote lan is 192.168.100.0/24.

      nobind
      persist-key
      cipher AES-256-CBC
      dev tun
      ifconfig 192.168.95.2 192.168.95.1
      keepalive 10 60
      port 1197
      proto udp4
      compress
      remote xxx.xxx.xxx.xxx
      resolv-retry infinite
      route 192.168.0.0 255.255.255.0
      verb 5
      auth SHA512
      <secret>
      #
      # 2048 bit OpenVPN static key
      #
      -----BEGIN OpenVPN Static key V1-----
      xxx
      -----END OpenVPN Static key V1-----
      </secret>
      

      4.jpg 3.jpg 2.jpg 1.jpg

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