This appears to be a virtualized environment, but I'll provide the comprehensive guide for pfSense Xfinity hotspot sharing:
---
## pfSense Xfinity Hotspot Connection & WiFi Sharing
**Critical Hardware Requirements:**
- **WiFi Adapter for Client Mode**: Must support Linux/macOS in monitor/client mode (Alfa AWUS036ACS, TP-Link AC600, etc.)
- **Separate WiFi AP Adapter**: For broadcasting shared connection (same or different adapter)
- **NOT possible with single WiFi radio** - requires at least 2 adapters
---
### Step 1: Connect to Xfinity Hotspot
**Option A: Captive Portal Login (xfinity SSID requires portal auth)**
1. **Install wifidog package** (for captive portal handling):
``
System > Package Manager > Available Packages > Install wifidog
`
2. **Configure wireless interface as client**:
`
Interfaces > Assignments > Add
Select available WiFi interface (e.g., ath0)
`
3. **Set up wlan0 as client**:
- **SSID**: "xfinitywifi" (or your local xfinity SSID)
- **Security**: NONE (open network)
- **BSSID**: Optional - select specific hotspot router
4. **Set up DHCP client on wlan0**:
- IPv4 Configuration Type: DHCP
5. **Configure wifidog** (handles captive portal):
`
Services > wifidog > Add
Interface: wlan0
Gateway Name: "xfinity-wifi"
`
**Option B: Using Xfinity Credentials (more reliable)**
`
bash
# Via console/ssh - bypass web portal
# Connect to xfinity network, then authenticate via HTTP POST
# Xfinity uses: https://login.xfinity.com/xfinity-auth/
# This requires custom scripting - wifidog + custom auth script
`
---
### Step 2: Share via WiFi Access Point
**Configure Second WiFi Interface as AP:**
1. **Add WiFi interface for AP**:
`
Interfaces > Assignments > Add
Select second WiFi adapter (e.g., ath1)
`
2. **Configure ath1 as AP**:
- **Mode**: AP
- **SSID**: "YourNetwork"
- **Security**: WPA2-PSK
- **Passphrase**: Strong password
3. **Set up AP DHCP server**:
- Services > DHCP Server > ath1
- Enable, Range: 192.168.2.100-200
---
### Step 3: NAT Routing Between Interfaces
`
Firewall > NAT > Port Forward
Interface: wlan0
Protocol: any
Destination: wlan0 net
Translation/Target: 192.168.2.0/24 (AP net)
`
**Firewall Rules:**
`
Firewall > Rules > WAN (wlan0)
Action: Pass
Source: 192.168.2.0/24
Destination: any
Firewall > Rules > LAN (for management access)
Add rule to allow access to AP network
``
---
### Alternative: USB Tethered Hotspot
**Cheaper hardware approach:**
1. **USB tethering from smartphone** (xfinity mobile app)
- Connect phone via USB
- System > Gateways > Add
- Interface: usb0
- Gateway: DHCP
2. **Bridge or NAT** the usb0 interface to your LAN/WiFi AP
---
### Legal & Policy Notes
โ ๏ธ **Xfinity Terms of Service**:
- Hotspot access is typically for personal device use only
- Commercial/reseller use violates ToS
- Concurrent sessions may be throttled
---
### Virtual/PFsense Hardware Limitation
Since your system shows virtualized hardware (no WiFi adapters detected), you'd need:
- Pass-through WiFi USB adapters to the VM
- Or use physical pfSense/OPNsense appliance
**Would you like me to:**
1. Create a firmware flash drive for a dedicated WiFi router?
2. Set up a software bridge using available Ethernet interface?
3. Proceed with one of the above hardware solutions?
What hardware do you have available?