• Cannot access LAN from OpenVPN server to pfSense OVPN client

    Locked
    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • OpenVPN: connecting to LAN subnet

    Locked
    14
    0 Votes
    14 Posts
    8k Views
    P
    This line looks like a problem: 10.0.0.0        255.0.0.0        On-link          10.0.0.9    266 Your 10.0.0.9 interface (on your server, if I understood the descriptions correctly) is thinking that it is sitting on a 10.0.0.0/8 network. So when it replies to any 10.n.n.n addresses, it will think it can reach them directly on its local LAN. It should be in the 10.0.0.0/24 network. Then it will send packets for 10.0.10.0/24 network addresses to the router.
  • Exceptions for some web pages

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Errors with my OpenVPN

    Locked
    8
    0 Votes
    8 Posts
    7k Views
    D
    Did I put the wrong files??  ???
  • Access to external subnet (Hairpinning or similar)

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    H
    i dont see a reason to use any kind of nat. as i understand currently the 10.10.88.0/24 is routed over the vpn and can contact clients on 192.168.78.0/24. if it were me i'd just add routes on both ends for the openvpn subnet (10.0.34.0/24), that way vpn users can go over the tunnel to reach the devices behind ASA5505.
  • Migrating OpenVPN filtering setup from 1.2.3 to 2.0.1

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Error msg when trying to create a CA

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    jimpJ
    What were you entering into all of the fields for the CA? As it says there, one of the strings was too long. Not sure which one it was complaining about though, if we can find out and repeat it, the input validation can be fixed to print a nicer error.
  • LAN connection problem after reboot.

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    R
    It is now working again  ;D The problem was that one of the routes did not survive the reboot.
  • 0 Votes
    5 Posts
    3k Views
    jimpJ
    I can make one for you also - just send an e-mail to wikiadmin (a) pfsense (d) org and it'll go to anyone who can make it for you. We'll need the username, password, e-mail, and name you want on the account.
  • Two route added by openvpn

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    N
    Look at the server configuration [image: 476896openvpnconfig.jpg]
  • Unable to setup OpenVPN client.

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    R
    Im still new to most network related issues, so maybe I'm using the wrong terminology when I search for how to set this up. But I have read every tutorial I could find with Google, I have read every tutorial I could find here on the forums, and I cannot find how to set-up this VPN connection. Can anybody at least point me in the right direction?
  • Pfsense to dd-wrt openvpn tunnel

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    C
    I use a P2P Shared Key tunnel… Not sure if this will help you but here is an example of my DD-WRT config.. And nothing is NAT from what I can tell. Straight routing..  pfsense site is 192.168.0.x, the other site is 192.168.50.x... 172.16.50.x is the tunnel. Startup commands # Config for Site-to-Site SiteA-SiteB echo " remote pfsense IP/Host proto udp          port 1195 dev tun0 persist-tun persist-key resolv-retry infinite secret /tmp/static.key nobind mute-replay-warnings verb 3 comp-lzo keepalive 15 60 daemon " > SiteA-SiteB.conf # Config for Static Key echo " -----BEGIN OpenVPN Static key V1----- -----END OpenVPN Static key V1----- " > static.key # Create interfaces /tmp/myvpn --mktun --dev tun0 ifconfig tun0 172.16.50.2 netmask 255.255.255.0 promisc up # Create routes route add -net 192.168.0.0 netmask 255.255.255.0 gw 172.16.50.1 route add -net 192.168.1.0 netmask 255.255.255.0 gw 172.16.50.1 route add -net 192.168.60.0 netmask 255.255.255.0 gw 172.16.50.1 route add -net 192.168.100.0 netmask 255.255.255.0 gw 172.16.50.1 route add -net 192.168.200.0 netmask 255.255.255.0 gw 172.16.50.1 # Initiate the tunnel sleep 5 /tmp/myvpn --config SiteA-SiteB.conf firewall commands, I need to tweaks these but they work… just can't ping the dd-wrt router but i can telnet/web into it # private subnets (anything FROM these subnets) iptables -A ALL_ACCEPT -s 192.168.0.0/16 -j ACCEPT iptables -A ALL_ACCEPT -s 172.16.50.0/24 -j ACCEPT iptables -A ALL_ACCEPT -s 172.16.60.0/24 -j ACCEPT # Open firewall holes iptables -I INPUT 2 -p udp --dport 1195 -j ACCEPT iptables -I FORWARD -i br0 -o tun0 -j ACCEPT iptables -I FORWARD -i tun0 -o br0 -j ACCEPT
  • Site-to-Site: Packet forwarding on client side

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    T
    I ended up reinstalling pfSense on the client side and testing with all packet filtering disabled, everything then started working as expected.
  • OpenVPN Behind PfSense on Separate server how to - Help

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Unable to maintain an OpenVPN connection longer than 3 seconds.

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    C
    The server log would probably be more telling than the client's log. That sounds like what happens when multiple clients are sharing a cert, one connects and knocks off another, then that one reconnects and knocks off the previous, over and over.
  • Security question.

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    C
    The latter requires a specific certificate for each user, and the former doesn't.
  • Need Help with OpenVPN Site to Site PKI 2.0.1

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    H
    can you ping the tunnel endpoints (most likely 10.0.8.1 - 10.0.8.2) from the pfsense webinterface ? If not and your firewall rules are good then the tunnel is probably not working correctly. If yes, try checking if the openvpn routes for the local lan and client lan are ok. (see remote network / local network in openvpn configuration page) If it then still doesn't work you should provide some more details like screenshots of configuration/routing tables/traceroutes/… kind regards
  • VyprVPN - OpenVPN - external program exited with error status: 1

    Locked
    7
    0 Votes
    7 Posts
    6k Views
    C
    And: Jun 19 13:12:50 openvpn[41217]: TUN/TAP device /dev/tun2 opened Jun 19 13:12:50 openvpn[41217]: do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0 Jun 19 13:12:50 openvpn[41217]: /sbin/ifconfig ovpnc2 10.17.0.47 netmask 255.255.0.0 mtu 1500 up Jun 19 13:12:50 openvpn[41217]: /sbin/route add -net 10.17.0.0 10.17.0.47 255.255.0.0 Jun 19 13:12:50 openvpn[41217]: ERROR: FreeBSD route add command failed: external program exited with error status: 1 Jun 19 13:12:50 openvpn[41217]: /usr/local/sbin/ovpn-linkup ovpnc2 1500 1542 10.17.0.47 255.255.0.0 init Jun 19 13:12:50 openvpn[41217]: /sbin/route add -net 138.199.67.149 86.28.104.1 255.255.255.255 Jun 19 13:12:50 openvpn[41217]: /sbin/route add -net 0.0.0.0 10.17.0.1 128.0.0.0 Jun 19 13:12:50 openvpn[41217]: /sbin/route add -net 128.0.0.0 10.17.0.1 128.0.0.0 Jun 19 13:12:50 openvpn[41217]: Initialization Sequence Completed Jun 19 13:13:57 openvpn[41217]: MANAGEMENT: Client connected from /var/etc/openvpn/client2.sock Jun 19 13:13:57 openvpn[41217]: MANAGEMENT: CMD 'state 1' Jun 19 13:13:57 openvpn[41217]: MANAGEMENT: CMD 'status 2' Jun 19 13:13:57 openvpn[41217]: MANAGEMENT: Client disconnected Jun 19 13:13:58 openvpn[41217]: MANAGEMENT: Client connected from /var/etc/openvpn/client2.sock Jun 19 13:13:58 openvpn[41217]: MANAGEMENT: CMD 'state 1' Jun 19 13:13:58 openvpn[41217]: MANAGEMENT: CMD 'status 2' Jun 19 13:13:58 openvpn[41217]: MANAGEMENT: Client disconnected Jun 19 13:13:59 openvpn[41217]: MANAGEMENT: Client connected from /var/etc/openvpn/client2.sock Jun 19 13:13:59 openvpn[41217]: MANAGEMENT: CMD 'state 1' Jun 19 13:13:59 openvpn[41217]: MANAGEMENT: CMD 'status 2' Jun 19 13:13:59 openvpn[41217]: MANAGEMENT: Client disconnected Jun 19 13:14:00 openvpn[41217]: MANAGEMENT: Client connected from /var/etc/openvpn/client2.sock Jun 19 13:14:00 openvpn[41217]: MANAGEMENT: CMD 'state 1' Jun 19 13:14:00 openvpn[41217]: MANAGEMENT: CMD 'status 2' Jun 19 13:14:00 openvpn[41217]: MANAGEMENT: Client disconnected Jun 19 13:14:01 openvpn[41217]: MANAGEMENT: Client connected from /var/etc/openvpn/client2.sock Jun 19 13:14:01 openvpn[41217]: MANAGEMENT: CMD 'state 1' Jun 19 13:14:01 openvpn[41217]: MANAGEMENT: CMD 'status 2' Jun 19 13:14:01 openvpn[41217]: MANAGEMENT: Client disconnected Jun 19 13:14:01 openvpn[41217]: MANAGEMENT: Client connected from /var/etc/openvpn/client2.sock Jun 19 13:14:01 openvpn[41217]: MANAGEMENT: CMD 'state 1' Jun 19 13:14:01 openvpn[41217]: MANAGEMENT: CMD 'status 2' Jun 19 13:14:01 openvpn[41217]: MANAGEMENT: Client disconnected Jun 19 13:14:14 openvpn[41217]: MANAGEMENT: Client connected from /var/etc/openvpn/client2.sock Jun 19 13:14:14 openvpn[41217]: MANAGEMENT: CMD 'state 1' Jun 19 13:14:14 openvpn[41217]: MANAGEMENT: CMD 'status 2' Jun 19 13:14:14 openvpn[41217]: MANAGEMENT: Client disconnected Jun 19 13:14:15 openvpn[41217]: MANAGEMENT: Client connected from /var/etc/openvpn/client2.sock Jun 19 13:14:15 openvpn[41217]: MANAGEMENT: CMD 'state 1' Jun 19 13:14:15 openvpn[41217]: MANAGEMENT: CMD 'status 2' Jun 19 13:14:15 openvpn[41217]: MANAGEMENT: Client disconnected Jun 19 13:14:16 openvpn[41217]: MANAGEMENT: Client connected from /var/etc/openvpn/client2.sock Jun 19 13:14:16 openvpn[41217]: MANAGEMENT: CMD 'state 1' Jun 19 13:14:16 openvpn[41217]: MANAGEMENT: CMD 'status 2' Jun 19 13:14:16 openvpn[41217]: MANAGEMENT: Client disconnected Jun 19 13:19:41 openvpn[41217]: MANAGEMENT: Client connected from /var/etc/openvpn/client2.sock Jun 19 13:19:41 openvpn[41217]: MANAGEMENT: CMD 'state 1' Jun 19 13:19:41 openvpn[41217]: MANAGEMENT: CMD 'status 2' Jun 19 13:19:41 openvpn[41217]: MANAGEMENT: Client disconnected I might just run OpenVPN on this specific server for the mean time
  • Have vpn traffic source from local subet?

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    I
    Hello CMB, Thank you for your response. Can you give me a little more detail on how to set this up? Basically, I want to come in from the internet thru my vpn. My source would be, 172.10.10.6. When I connect to a machine on my network, I would like the 172 ip to appear to be a 192.x ip. Thank you in advance!
  • OpenVPN Bridging between 1.2.3-RELEASE and 2.0.1-RELEASE

    Locked
    1
    0 Votes
    1 Posts
    962 Views
    No one has replied
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.