a076
![]() |
|
|
|
|
|||||||
| Firewalls IPFW, PF, IPF (but not limited) related discussion |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi.
I want to add new rules to pf dynamically but the only one way that I found from the websites and a man page is that I must write my new rules to pf.conf and use this command line to flush and load all rules Code:
pfctl -F all -f /path/pf.conf Code:
ipfw add 100 allow all from any to any Code:
pfctl -t table1 -T add 127.0.0.1 Thanks. |
|
#2
|
||||
|
||||
|
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
| The Following User Says Thank You to SirDice For This Useful Post: | ||
tanakorn (February 8th, 2010) | ||
|
#3
|
|||
|
|||
|
Thanks sir.
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Solved] RELEASE 8.0 rules | bigearsbilly | Installing & Upgrading | 13 | January 1st, 2010 18:31 |
| [Solved] pf question about rules | wonslung | Firewalls | 13 | November 14th, 2009 07:31 |
| [Solved] My first pf rules | locutus | Firewalls | 6 | October 13th, 2009 10:04 |
| devfs rules own | sossego | General | 10 | March 24th, 2009 23:19 |
| Need Help With Basic PF Rules | rob34 | Firewalls | 2 | March 13th, 2009 20:50 |