LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 10-15-2001, 03:07 PM   #1
jmelgin
LQ Newbie
 
Registered: Jun 2001
Location: Frankfort, IL
Distribution: Suse 7.1
Posts: 9

Rep: Reputation: 0
ipchains & dhcp for internal network


I am trying to configure dhcp for my internal network and am having trouble with my firewall blocking it. I am using ipchains (configured through "newbie" settings on webmin at "low" setting) and have the following text show up when logging:

DHCPDISCOVER from 00:a0:cc:73:bb:d2 via eth1
DHCPOFFER on 192.168.0.3 to 00:a0:cc:73:bb:d2 via eth1
send_packet: Operation not permitted

My internal (LAN) interface is eth1 with an IP of 192.168.0.254. I've set up the dhcp script to lease from a range of 192.168.0.1 to 192.168.0.10.

Here's the section labeled for DHCP rules in my firewall script:

ipchains -A input -i eth1 -s 0.0.0.0 68 -d 255.255.255.255 67 -p udp -j ACCEPT
ipchains -A output -i eht1 -s 192.168.0.254 67 -d 192.168.0.0/255.255.255.0 68 -p udp -j ACCEPT

When I turn off the firewall, the dhcp stuff works like a charm, but as soon as I turn the firewall back on, the clients can't grab an IP from the dhcp server.

Any thoughts on what to do to fix the ipchains?
 
Old 10-15-2001, 08:29 PM   #2
jmelgin
LQ Newbie
 
Registered: Jun 2001
Location: Frankfort, IL
Distribution: Suse 7.1
Posts: 9

Original Poster
Rep: Reputation: 0
Smile fixed it!

edit second line to be:

ipchains -A output -i eth1 -s 192.168.0.254 67 -d 255.255.255.255 68 -p udp -j ACCEPT
 
  


Reply


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
Zoom modem/switch & linux<->linux network: DHCP / Static ? tredegar Linux - Networking 8 11-11-2007 03:41 AM
dhcp internal dns problem snoyl Linux - Networking 0 12-02-2005 05:17 AM
Internal DHCP and Hostnames jeffxor Linux - Networking 2 11-26-2004 01:18 AM
dhcp & network problems time112852 Linux - Networking 8 09-24-2003 05:43 PM
DHCP Server for internal LAN and DMz NVETHIS Linux - Networking 1 07-11-2003 10:16 AM


All times are GMT -5. The time now is 07:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration