The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 A correction to an ipfilter rule
Author: Leon Dang 
Date:   16-08-01 15:10

I noticed that my cable modem has automatically switched to a new IP address (note that this is not the gateway box's address which remains the same throughout my connection contract so far). This is a remotely administrable cable-modem (Cornerstone CM200) that the ISP can configure settings at their site. I found that the cable-modem remains on the same subnet, fortunately, so a simple change of the IPF rules is necessary.

If your provider changes the modem IP (if you notice that you are blocking new DHCP configure requests - UDP/67->UDP/68), then you might also have to change the rule a bit. It's straight-forward. Basically, instead of having the IP address of the cable-modem be, I've changed it to be (Yes a /16 because I noticed this significant change in the modem's IP address). So the rule looks like:

pass in log quick on ext0 proto udp from \
port = 67 to any port = 68 keep state


 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 A correction to an ipfilter rule   new
Leon Dang 16-08-01 15:10 
 Re: A correction to an ipfilter rule   new
Dino Heerenveen 07-01-03 21:59 

 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Remember my login:
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum