Wireless interface not visible
-
Team,
Recently i have instated pfsense on proxmox environment. I am trying to configure pfsense as an wirekess access point in order to configure Dynamic Domain and open vpn.
While configuring, I noticed that, pfsense console not showing interface for wireless. Proxmox installed on laptop having wirless card.
So what could be the issue and how to overcome this. Kindly assist.
Best Regards,
Sujan.
-
@sujan-0
If Proxmox has already a driver for the card, create a bridge on Proxmox and add the wifi interface and a new pfSense interface to it. Otherwise you should install a driver first. -
@viragomann correct me i am wrong. Bridge interface to WIFI is not possible right?
-
@sujan-0
Can't think of any reason, why it shouldn't be possible to bridge it.
The wifi card is basically a network adapter on the operating system. So you can communicate with it on L2 basis and you can bridge it with other network adapters.The question is, if Proxmox can run the device. But I think it's easier to get a driver for the device for Proxom then for pfSense.
If you have trouble, I'd suggest to install another Linux distribution + KVM for virtualisation. -
@viragomann
Thank you for you prompt response.
I am trying in different way and my current lab setup as follows:Home router with internet access.
A laptop with Ethernet and Wireless Card.
Proxmox as hypervisor
pfSence for firewall and VLANs.My 5G router don't have any ethernet socket. So i enabled wireless lan interface in proxmox. My configuration as below.
auto lo
iface lo inet loopbackauto eth0
iface eth0 inet manual#auto wlan0
#iface wlan inet static
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up echo 1 > /proc/sys/net/ipv4/conf/wlan0/proxy_arpauto vmbr0
iface vmbr0 inet dhcp
address 192.168.8.104/24
gateway 192.168.8.1
bridge-ports eth0
bridge-stp off
bridge-fd 0post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '192.168.8.0/24' -o wlan0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '192.168.8.0/24' -o wlan0 -j MASQUERADEauto vmbr1
iface vmbr1 inet manual
bridge-ports none
bridge-stp off
bridge-fd 0Based on above configuration, i can access the proxmox ui.
I have installed pfSence successfully with 2 network interface vmbr0 and vmbr1Now i am trying to configure WAN and LAN in pfSence. but not getting ip for WAN. Tried with static and DHCP method. But noticed that no routing to proxmox or router IPs? Hence pfSense UI is not accessible. If i have connection to WAN so i will get Internet access and eventually i can configure dynamic dns for open vpn.
Kindly assist to solve this issue.
Best Regards,
Sujan
-
This is a Proxmox topic and i'm not an expert on it.
@sujan-0 said in Wireless interface not visible:
I have installed pfSence successfully with 2 network interface vmbr0 and vmbr1
vmbr1 has no network adapter connected yet.
If you install pfSense with to interfaces, it uses the first one for WAN, the second for LAN. However, it allows only access on LAN, but that might be connected to vmbr1 which is not connected to any network.If you only enable one interface, the GUI should be accessible on this.
Or if you're running other VMs on Proxmox, you can connect to vmbr1 as well as pfSense and access the GUI from there.However, basically if your router provides DHCP, pfSense should pull an IP from it on WAN if it's connected to vmbr0.
post-up iptables -t nat -A POSTROUTING -s '192.168.8.0/24' -o wlan0 -j MASQUERADE
I think, there is no reason to have a masqerading rule on the wifi.