LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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


Reply
  Search this Thread
Old 04-24-2005, 03:42 PM   #1
mullog
Member
 
Registered: May 2004
Posts: 61

Rep: Reputation: 15
DHCP firewall rules


I have an openbsd machine that is used as a bridging firewall to my desktop machine with windows.
I am setting the rules to allow dhcp on the windows machine to work, but I don't understand a few things.

The rules are:
-allow outbound connection to port 67 UDP
-allow outbound connection to port 53 UDP
-allow outbound connection to port 68 UDP
This rules work perfectly and combined with one to allow outbound connections to port 80 TCP i'm writing this on linuxquestions.org.

My doubt is this:why is it that dhcp(in the windows machine) is unable to retrieve the ip information with no rule to allow outbound traffic to port 67. Isn't port 67 used for a dhcp server to listen to. To retrieve the ip information should there be a need for more than the 68 port? If yes, why?

Another thing that i don't understand is why it doesn't make any difference whether i have an inbound or outbound rule for the 68 port. It works either way, but shouldn't this be important? The traffic has to come from somewhere specific, right?
 
Old 04-24-2005, 11:52 PM   #2
randyding
Member
 
Registered: May 2004
Posts: 552

Rep: Reputation: 31
I hope this clears it up, it works this way.
client transmitts requests from its source port 68 to server on port 67
server sends reply from its source port 67 to client on port 68
 
  


Reply



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
Resetting ALL Firewall rules RemusX2 Linux - Software 1 02-28-2005 07:18 AM
cannot change the firewall rules 0perat0r Linux - Newbie 4 08-05-2004 11:43 AM
Firewall Rules studpenguin Linux - Security 0 07-01-2004 03:14 AM
help with firewall rules please deuce868 Linux - Security 1 06-14-2004 03:18 PM
help building my firewall rules rhawi Linux - Security 19 05-16-2004 09:29 PM

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

All times are GMT -5. The time now is 11:47 AM.

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
Open Source Consulting | Domain Registration