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

    Ipredator - Config problems

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 1.1k 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.
    • O
      olapola
      last edited by

      Hello

      Thanks to ruben on Ipredators IRC channel we got Ipredator to work with pfsense. Sadly we had to edit the openvpn config file manually. This config file works

      
      client
      dev ovpnc1
      dev-type tun
      proto udp
      remote pw.openvpn.ipredator.se 1194
      remote pw.openvpn.ipredator.me 1194
      remote pw.openvpn.ipredator.es 1194
      dev-node /dev/tun1
      writepid /var/run/openvpn_client1.pid
      script-security 3
      resolv-retry infinite
      nobind
      daemon
      
      auth-user-pass /root/ipredator_password
      auth-retry nointeract
      
      ca /var/etc/openvpn/client1.ca
      
      tls-client
      tls-auth /var/etc/openvpn/client1.tls-auth
      ns-cert-type server
      
      keepalive 10 30
      cipher AES-256-CBC
      persist-key
      persist-tun
      comp-lzo
      tun-mtu 1500
      mssfix 1200
      passtos
      verb 3
      
      up /usr/local/sbin/ovpn-linkup
      down /usr/local/sbin/ovpn-linkdown
      management /var/etc/openvpn/client1.sock unix
      

      The problem is (that im all new to pfsense) and that pfsense rewrites the config file so the connection stops to work. Anyone have any ideas how to get this to work?

      https://www.ipredator.se/guide/openvpn/settings

      1 Reply Last reply Reply Quote 0
      • D
        divsys
        last edited by

        I'm assuming this is an OpenVPN client config on pfSense?

        Have you tried comparing the working script against the pfSense rewrites that fail?

        If there are a few necessary lines removed when pfSense does its write, you should be able to add them to the advanced section of the client config.  If it's something more there may be other ways, post back with more details.

        -jfp

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