Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




1995 posts

Uber Geek
+1 received by user: 323

Subscriber

Topic # 94339 8-Dec-2011 12:44 Send private message

So I have gone away from IPcop and installed pfsense. Mainly I want to have a play with the captive portal function. so far been quite succesful in making a 'wireless hotspot' type connection. Only problem I am having is I cant block stuff coming from my WLAN (192.168.100.0) to the LAN (192.168.1.0).

The LAN has a the default 'allow' rule letting traffic go any where it wants from the LAN so I assumed if I just made the allow rule on WLAN let traffic in the WLAN only go to the WAN. However when I put in a rule like that it doesnt allow internet access at all. So then I thought well put in the standard allow rule for WLAN and then put in a block rule saying traffic from WLAN isnt allowed to access LAN but then I read the caption below the firewalling stuff on pfsense and it evaluates the rules on a first match basis so my next theory was no good. My last option was putting that same block rule on the LAN interface but that didnt do anything either.

Am i barking up the wrong tree trying to use the firewall rules to block between interfaces? Or is it doable. Do I need to run a squid proxy to do this?

Any help much appreciated.

Create new topic
537 posts

Ultimate Geek
+1 received by user: 67

Subscriber

  Reply # 555435 8-Dec-2011 13:06 Send private message

Restart pfSense after you make those rule changes.

Although it's been a while since I've setup pfSense, it probably hasn't changed much. I'm sure that it can be done because I had similar setup where I used it as a router with various NICs (obviously, in and out) and WIFI. Plus I managed what was allowed between the different networks and LAN segments. I haven't kept anything but, from memory, there were some similar examples of rules on the web for LAN segmenting, pass through, etc.

It didn't work initially and I spent a lot of time working on it until I accidentally shutdown pfSense. Although I had understood that the rules would take without a restart, apparently that's what was needed.




The electro-saurs are dying out!
• 68kg HP Color LaserJet behemoth - Extinct 2013?
• 61kg HP Netserver brontosaurus - Extinct 2010
• 32kg Compaq Proliant goliath - Extinct 2010
• 31kg 21" IBM CRT gargantua - Extinct 2010

3009 posts

Uber Geek
+1 received by user: 193

Trusted
Subscriber

  Reply # 555463 8-Dec-2011 13:45 Send private message

You'll want to put a block rule on the WLAN interface to the LAN network and then underneatht aht do an allow all to everywhere. That will do what you want.







1995 posts

Uber Geek
+1 received by user: 323

Subscriber

  Reply # 555614 8-Dec-2011 18:57 Send private message

Ah so I just havent been ordering the rules properly. Will keep playing around. Thanks!



1995 posts

Uber Geek
+1 received by user: 323

Subscriber

  Reply # 555621 8-Dec-2011 19:21 Send private message

Worked like a charm. I can understand it now. You set the base allow rule and then just build on that. Thanks heaps!!

Create new topic




Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:




News »

Trending now »
Hot discussions in our forums right now:

Windows 10 announced, as well as developer preview
Created by macuser, last reply by Behodar on 2-Oct-2014 19:42 (107 replies)
Pages... 6 7 8


What time will the Apple Store online be selling the iPhone 6?
Created by scotiwis, last reply by zipstacrack on 2-Oct-2014 19:53 (201 replies)
Pages... 12 13 14


Moment of Truth?
Created by BarTender, last reply by JimmyC on 29-Sep-2014 09:16 (441 replies)
Pages... 28 29 30


Can i have 2 ISP's at home?
Created by ReckITT, last reply by Lazarui on 30-Sep-2014 18:15 (49 replies)
Pages... 2 3 4


Samsung Galaxy S4
Created by beenz, last reply by fizzychicken on 2-Oct-2014 19:46 (21 replies)
Pages... 2


Why is your nickname what it is, what are the origins of it?
Created by Presso, last reply by BlueShift on 2-Oct-2014 16:24 (96 replies)
Pages... 5 6 7


iPhone 6 From Spark - Order Dates and Pricing?
Created by Otagolad, last reply by Aquarius on 2-Oct-2014 19:31 (354 replies)
Pages... 22 23 24


Harvey Norman's Biggest Ever Retail Sale
Created by DravidDavid, last reply by joker97 on 2-Oct-2014 14:24 (30 replies)
Pages... 2



Geekzone Live »
Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.