nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

ipfw: getsockopt(IP_FW_GET): Protocol not available

This is a discussion on ipfw: getsockopt(IP_FW_GET): Protocol not available within the All about FreeBSD/OpenBSD/NetBSD forums, part of the *BSD Operating systems category; I'm trying to setup a freebsd firewall and getting an error - ipfw: getsockopt(IP_FW_GET): Protocol not available. How do I ...


Go Back   nixCraft Linux Forum > *BSD Operating systems > All about FreeBSD/OpenBSD/NetBSD

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-03-2007, 06:29 PM
raj raj is offline
Contributors
User
 
Join Date: Jun 2005
Location: Hyderabad
Posts: 146
Rep Power: 4
raj is on a distinguished road
Angry ipfw: getsockopt(IP_FW_GET): Protocol not available

I'm trying to setup a freebsd firewall and getting an error - ipfw: getsockopt(IP_FW_GET): Protocol not available. How do I fix this problem

TIA
__________________
Raj
Linux rulz.
I have never turned back in my life ; I shall not do so today.. haha
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-08-2007, 01:31 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Any distro with shell
Posts: 910
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Add following option to /etc/rc.conf
Code:
firewall_enable="YES"
firewall_script="YES"
firewall_script="/usr/local/etc/ipfw.rules"
Setup firewall rules in /usr/local/etc/ipfw.rules and restart or reboot the server. If you are using old version or if you need NAT compile freebsd kernel. More info in our FAQ section:
FreeBSD Setting up Firewall using IPFW | Frequently Asked Questions
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Xlib: connection to ":0.0" refused by server and Xlib: No protocol specified rajnivanza Linux software 1 04-08-2008 02:44 PM


All times are GMT +5.5. The time now is 12:12 PM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36