Ipredator - Config problems


  • 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


  • 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.