|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Simple Firewall with PF
Hi, this thread could fit into many different forums here, please move it if it will suit somewhere else better
I am trying to set up my laptop(PC-BSD 7.0) to act as a router allowing my eee running OpenBSD to connect to my university wireless network. The uni network use a WPA-Enterprise network, that isnt supported by openbsd yet, but i have working with the PC-BSD laptop. The network uses a proxy for http connections, but this might also effect other traffic I havent found a conclusive result yet. I have two network interfaces rum0(connects to uni wireless) and bge0 (to connect to the OpenBSD machine). I am not entirely sure the steps i need to set this up, so far i have gotten a basic pf.conf together(mostly gleamed for the book of PF), but with this config the PC-BSD machine cannot get any connection to the outside world. Code:
ext_if = "rum0" ##Macro for uniwireless network int_if = "bge0" ##Macro for openbsd network localnet = $int_if:network client_out = "{ssh, domain, auth, nntp,http,\ https,2628,5999,8000,8080}" udp_services = "{domain}" icmp_types = "{ echoreq,unreach }" nat on $ext_if from $localnet to any -> ($ext_if) block all pass quick inet proto {tcp, udp} from $localnet to any port $udp_services pass log inet proto icmp all icmp-type $icmp_types pass inet proto tcp from $localnet to any port $client_out
__________________
------------------------------ jones on the Super Dimension Fortress SDF Public Access System - http://sdf.lonestar.org |
|
|||
The sysctl wasn't set, thanks for that. My issue is that i cannot get DNS to resolve with that PF rule set, its probably just my lack of knowledge, am i missing something obvious?
__________________
------------------------------ jones on the Super Dimension Fortress SDF Public Access System - http://sdf.lonestar.org |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Quick, simple tcsh tips for beginners | anomie | Guides | 9 | 6th November 2014 03:55 PM |
Simple human front-end for 'bc(1)', the unlimited precision calculator | J65nko | Guides | 1 | 2nd February 2013 06:50 PM |
A simple question | Mr-Biscuit | Off-Topic | 1 | 16th April 2009 04:26 PM |
Help With [seemingly] Simple Problem | MustLearn | FreeBSD General | 3 | 7th October 2008 10:05 AM |
Simple/easy ircd | Weaseal | FreeBSD Ports and Packages | 0 | 17th July 2008 12:31 PM |