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.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 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 203.123.123.12/32, I've changed it to be 203.123.1.1/16. (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 203.123.1.1/16 \
port = 67 to any port = 68 keep state

Leon

Reply To This Message
 
 Re: A correction to an ipfilter rule
Author: Dino Heerenveen 
Date:   07-01-03 21:59

Hey, i need the ip address to get access to my modems config page, can you help me?

Dino

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


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 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

phorum.org