I want to implement an OpenBSD gateway with two interfaces like the following

ISP (xxx.yyy.zzz.0/25) <---> OpenBSD Gateway <---> Internal network (xxx.yyy.zzz.128/25)

My ISP will give me a pool of IP addresses (xxx.yyy.zzz.128/25). My OBSD box will have one default static route, which is going to be my ISP's gateway. I need to allow machines in my subnet to access the rest of the world and do bandwidth management based on IP addresses at the same time. I have a small checklist, but it seems to be so simple, am I missing something?

1. Enable net.inet.ip.forwarding
2. Create a CBQ queue and define the allowed bandwidth for the IP addresses
3. Create pass rules and assing queue for them

Thanks,
Shohrukh

Reply via email to