OpenVPN -> LAN



  • Hi there!

    I have a little problem with the OpenVPN-Configuration:

    First the NICs:

    LAN (192.168.210.27/24)

    WAN (A.B.C.D/y)

    OPT1 (192.168.101.0/24)

    OPT2 (192.168.218.0/24)  <= this is the OpenVPN-TUN0

    this is my /var/etc/openvpn_server0.conf:

    # cat openvpn_server0.conf
    writepid /var/run/openvpn_server0.pid
    #user nobody
    #group nobody
    daemon
    keepalive 10 60
    ping-timer-rem
    persist-tun
    persist-key
    dev tun
    proto udp
    cipher BF-CBC
    client-to-client
    server 192.168.218.0 255.255.255.0
    client-config-dir /var/etc/openvpn_csc
    push "route 192.168.210.0 255.255.255.0"
    lport 1194
    ca /var/etc/openvpn_server0.ca
    cert /var/etc/openvpn_server0.cert
    key /var/etc/openvpn_server0.key
    dh /var/etc/openvpn_server0.dh
    comp-lzo
    persist-remote-ip
    float
    
    

    Here we have the client.ovpn:

    client
    dev tun
    pull
    dev-node OVPN
    proto udp
    remote A.B.C.D 1194
    resolv-retry infinite
    nobind
    persist-key
    persist-tun
    mute-replay-warnings
    ca ca.crt
    cert Bajohr.crt
    key Bajohr.key
    ns-cert-type server
    comp-lzo
    verb 6
    
    

    When i connect a client from an external Network (Dial-up), i am only able to ping the OpenVPN-Server at .1,
    but i am not able to reach any host from the LAN inside

    And, after a deeper look into the syslogs , there is no rule blocking the traffic.

    Any suggestions or ideas?

    thx, marcus



  • try to at this rule to the PFsense server config?

    route 192.168.210.0 255.255.255.0


Log in to reply