Pfsense setup over an existing wired network
-
Hello,
I need to configure pfsense to work with an existing LAN network.
the existing LAN is a university network that have it's DHCP serverpfsense server is now connected to this network on the WAN port (WAN adress 134.214.116.x/22)
the LAN side have DHCP and captive portal enabled (DHCP range 192.168.10.x/24) and is connected to an access point (WRT54G) to serve only wirless clients.
to extend the range of my wirless network, I am using many WRT54G connected by WDS.
Everything work great, I don't have any problem with this configuration
But over WDS my transfer rates are around 4Mbps.
Now I would like to modify my configuration and find a way to connect my access point by LAN to have higher transfer rates (on wan side I have ~45 Mbps)The idea is to use the existing university network (physical network) to connect my APs to Pfsense without changing any settings on the existing university LAN. So only wireless clients gets their DHCP leases from pfsense and other PC connected to the existing LAN get their leases from the univsersity DHCP server. i.e. in other words, i need a way to access to the pfsense LAN side (dhcp and captive portal) from the its WAN side
In this case, and if it is possible, I will be able to connect my APs anywhere on the existing university network.
My access points are VLANs, openVPN and EoIP compatible, but i am not the administrator of the existing university network.Thank you for your suggestions !
Chady
-
I don't think the administrator of the university network would want you to use his infrastructure for such a setup. The best thing to achieve this would be working with vlans to use the same infrastructure but to have seperate networks. However you really should check this with the administrator of the campus net as you also have to provide DHCP to the clients.
-
actually it's not possible to obtain a dhcp leases from the campus dhcp server. they use a kind of dhcp static leases and unknown clients (wired or wireless) could not obtain any dynamic ip adress.
with VLANs, all used switches should be vlan compatible ? or just the switch connected to the pfsense and the end switch ?
pfsense can do site to site VPN ? (or something like EoIP developed by mikrotik)
there is no way to access to pfsense lan side from the wan side ?thanks
-
You really should consult the network administrator of this network. Anything that we are discussing here is not worth anything if he doesn't allow you to run this on his network.
-
the administrator of the network is ok to modify some setups, but he cannot modify any material (switches or something like that)
DHCP leases from the university server are also possible -
Ask him if he can setup tagged vlans on the ports that you hook up your devices on. One vlan for the network that already is non vlaned present there. One additional vlan for your captive portal lan. Then setup 2 vlans at your pfSense. One for the incoming WAN and one for the captive portal LAN. Setup your accesspointdevices to be in the captive portal vlan. This way you onl need 1 nic for this setup at your pfSense and it's also pretty secure as though only using one physical wire the both networks are seperated.
-
Hello,
I need to configure pfsense to work with an existing LAN network.
the existing LAN is a university network that have it's DHCP serverpfsense server is now connected to this network on the WAN port (WAN adress 134.214.116.x/22)
the LAN side have DHCP and captive portal enabled (DHCP range 192.168.10.x/24) and is connected to an access point (WRT54G) to serve only wirless clients.
to extend the range of my wirless network, I am using many WRT54G connected by WDS.
Everything work great, I don't have any problem with this configuration
But over WDS my transfer rates are around 4Mbps.
Now I would like to modify my configuration and find a way to connect my access point by LAN to have higher transfer rates (on wan side I have ~45 Mbps)note that every added ap with wds will cut youre transfer rates in two
and that wireless is one way thafic and cabled is 2 way trafic
with one 54 mb ap(11g) you get a max transfer rate of 27 mb
example with 54 mb ap's
1 ap 27 mb
2 ap 13,5 mb
3 ap 6,7 mb
4 ap 3,4 mb
etc -
yes sure, I know that wds cut transfer rates. but i didn't have another option !
now i am trying to setup VLANs but i am not really familliar with this kind of setup
also we have some installed switched that are not vlan compatible so i can only play with start and end switches… any chance to work ?
-
Most non vlan capable switches will pass the traffic unchanged. it might work though you won't have the security level that real vlan switches would provide you with.
-
and what about PCs connected to non-compatible VLAN switches ? they get their dhcp leases from pfsense or from the campus network dhcp ?
thanks
-
They should get it from the campus server and ignore the vlan traffic though they might see them. Nics that support VLANs could be configured to reside in the VLAN though, so it depends on how the client is configured or what the client supports.
-
it didn't work as expected,
wireless clients always get their dhcp leases from pfsense, but other PCs connected to the university switches get sometimes their leases from pfsense too …
-
Sorry, no other solution that I can think of then.
-
Thank you anyway
I will try to use EoIP between dd-wrt routers and see if it works
Chady
-
Not sure if the DD-WRT's support dhcp relay. Maybe that would work too.
-
I just updated my WRT54G access point to DD-WRT v23 revision 2. It does support DHCP forwarding. So you could go this route.
-
DD-WRT support DHCP relay and i was playing with this option also.
on pfsense i have denied unkown users to get a lease from dhcp and i have connected the pfsense LAN side to the campus network
DHCP forwarder is set on dd-wrt routers to forward dhcp requests to pfsense. routers are connected to campus network from their LAN sideNow when a registred wireless user connects to ddwrt router, it gets a dhcp from pfsense. but if it's not a registred user, it get an IP from the university DHCP after 1 minute : so no captive portal authetication and no security
and when a PC connects to campus network, sometimes it doesn't get its IP quickly. this is not a real problem, i think there are some additionnal setup to do with university network and routers.