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

Force youtube over vpn, mostly working just need some help.

Scheduled Pinned Locked Moved OpenVPN
7 Posts 3 Posters 1.7k 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.
  • D
    diablo266
    last edited by Sep 12, 2013, 7:30 PM

    Hi everyone,

    I have a site-site vpn setup between two pfsense installations. Routing between their LAN subnets works fine (192.168.1.1 - 192.168.2.1) all clients on both sides can talk to each other. I'm trying to force all traffic destined for youtube.com (i'm just using an alias to 74.125.224.1/24 for now) over the vpn tunnel. I've created the firewall rules and traffic appears to be routed to the VPN interface properly when i traceroute youtube.com however the clients are unable to connect to the website and the traceroute dies at the first vpn hop. It seems like the VPN isn't routing the traffic past itself? I'm not really sure how to proceed. Thanks!

    1 Reply Last reply Reply Quote 0
    • P
      phil.davis
      last edited by Sep 13, 2013, 2:22 AM

      Firewall rules on OpenVPN at the other end of the link?
      I know that I use rules on site-to-site VPNs to only pass traffic with internal private IP addresses, maybe you have something similar blocking a public IP passed across the VPN.

      As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
      If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

      1 Reply Last reply Reply Quote 0
      • D
        diablo266
        last edited by Sep 16, 2013, 10:08 PM

        Phil,

        Thanks for the reply. I've looked over the firewall rules and i'm fairly sure there aren't any blocking the traffic.

        1 Reply Last reply Reply Quote 0
        • D
          diablo266
          last edited by Sep 18, 2013, 8:48 PM

          There must be someone else doing this? My ISP's connection to youtube is unusably slow, it would be extremely nice to get this working, i'm sure many others are in the same boat. I've tried everything i can think of, any help would be greatly appreciated.

          1 Reply Last reply Reply Quote 0
          • D
            darkcrucible
            last edited by Sep 18, 2013, 10:51 PM

            Can you post your routing tables for both ends of the VPN?

            Maybe the traceroute too?

            1 Reply Last reply Reply Quote 0
            • D
              darkcrucible
              last edited by Sep 18, 2013, 11:35 PM

              It might also be the outbound NAT. Do you use automatic outbound nat or manual?

              If it's manual then you'll need to add a rule for the other network to go through NAT.

              If it's automatic then you might need to switch to manual. Not too sure since I've never really used automatic.

              1 Reply Last reply Reply Quote 0
              • D
                diablo266
                last edited by Sep 23, 2013, 12:16 AM

                @darkcrucible:

                It might also be the outbound NAT. Do you use automatic outbound nat or manual?

                If it's manual then you'll need to add a rule for the other network to go through NAT.

                If it's automatic then you might need to switch to manual. Not too sure since I've never really used automatic.

                Aha! Thank you so much for that suggestions! I just enabled manual outbound NAT on the remote server (the one I would like to route all of my youtube traffic through, and added a rule to pass all traffic from 192.168.1.0/24). Thank you!

                1 Reply Last reply Reply Quote 0
                7 out of 7
                • First post
                  7/7
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                  This community forum collects and processes your personal information.
                  consent.not_received