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

    Android USB Tether via USB and Hyper-V

    Scheduled Pinned Locked Moved Hardware
    5 Posts 3 Posters 2.2k 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.
    • B
      britcowboy
      last edited by

      Due to cirumstances beyond my control, I currently have no hardwired internet, having to go via my phone. ATM it's connected to one of my workstations and only that computer has internet access.

      I run pfsense as a VM on Hyper-V. I was wondering, as the host is running Windows Server, it'll pick up the driver and deal with that complexity - if I share that connection with the pfsense VM, in theory it should be able to use the tether - my question though is how would I set this up in pfsense? What settings would I put on the interface?

      Thanks

      1 Reply Last reply Reply Quote 0
      • T
        Taiidan
        last edited by

        DHCP as a regular WAN gateway, generally the phone should runs its own dhcp server to hand out leases.

        1 Reply Last reply Reply Quote 0
        • B
          britcowboy
          last edited by

          @Taiidan:

          DHCP as a regular WAN gateway, generally the phone should runs its own dhcp server to hand out leases.

          Hey, I tried that but pfsense was just getting an IP of 0.0.0.0, it didn't seem able to get an IP - but the windows host could fine. Any ideas as to why this is?

          1 Reply Last reply Reply Quote 0
          • I
            ikkuranus
            last edited by

            I had the same issue but the major difference was I used a raspberry pi to create an ethernet bridge. If I hooked up the pi bridge directly to the switch all was good but trying to use it as a wan for pfsense just never worked at all.

            1 Reply Last reply Reply Quote 0
            • B
              britcowboy
              last edited by

              For the benefit of the thread I worked it out, in retrospect it made perfect sense, but there ya go.

              So I setup an internal hyper-v network, which only the pfsense VM can access. Then I connected the android phone and shared it with the new LAN via internet sharing, this then let Windows create a DHCP server that pfsense could grab an IP from.

              Phew!

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