LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Closed Thread
  Search this Thread
Old 12-26-2004, 10:33 PM   #1
proton666
Member
 
Registered: Jan 2003
Distribution: FreeBSD 5.3
Posts: 35

Rep: Reputation: 15
Help with PF config


I am trying to set up PF and am having no luck. I'm not sure on what to do or where to start. What I am trying to is access my network from school. The only port I have outbound from school is ssh/22. I want to connect to my BSD box and access my network from there. I am behind a router and am going to forward port 22 to the BSD box. I have the ranges of ip's that the schools uses. So I'm wanting to use PF to only allow the ranges of ip's that my school uses so no one else can connect. I'm have I tough time with the config of PF. Could someone steer me in the general direction of what I need to do or provide a sample config?
 
Old 12-26-2004, 10:43 PM   #2
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 51
You have 2 useful files on your system

Code:
# locate pf.conf
/usr/share/examples/etc/pf.conf

/usr/ports/security/pf/files/pf.conf.default
 
Old 12-27-2004, 06:45 AM   #3
proton666
Member
 
Registered: Jan 2003
Distribution: FreeBSD 5.3
Posts: 35

Original Poster
Rep: Reputation: 15
Gee Mister thanks.
 
Old 01-06-2005, 02:15 PM   #4
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

You already had your thread ( http://www.linuxquestions.org/questi...hreadid=270731 ) moved to the appropriate forum, please direct follow-ups there.
 
Old 01-06-2005, 05:19 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Closed for the reasons above
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail - Config for IP Block's & Config Issues Thom_Redhat Linux - Software 1 04-07-2006 02:29 PM
I have an XF86 config file for video, how do I turn it into XORG config lowpingnoob Linux - Newbie 18 06-12-2005 01:07 PM
Webmin cannot handle Samba config files that use the config or include directives allelopath Linux - Networking 3 01-18-2005 10:36 AM
krfb --config; Format of config file? Need to allow ports below 1024. SavvyPlayer Linux - Software 0 10-16-2004 09:28 PM
possible samba config problem or network config issue? rruffin Linux - Networking 3 06-03-2003 05:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration