Hello Mailing List Readers,

I've been searching the Archived Mailing List to see if a poster has described my main doubt, found a few references, but none conclusive.

I have a DSL modem at home which my Phone Company provides. The company provides a public ip address through DHCP to the modem and renews leases every six hours. The modem has an Ethernet port which I connect to a HUB and finally to my internal network.

The doubt comes when all the examples I've found assumes the IPFilter box has a public IP address and the rules are built down from that assumption. In my internal network setup the IPFilter box's "untrusted" interface is connected to the hub, which connects to the ethernet port of the modem, using a private IP address: 192.168.x.x. From my googling and testing the only way I can use the modem to go through to the internet is by setting on the IPFilter box the default gateway pointing to the ethernet port of the modem. Then from there using the following rule to let clients, connected to the "trusted" interfaces, and IPFilter box to see the modem and pass through to the Internet.

## vr0 - 192.168.1.2, outside interface.
## 192.168.1.1, default gateway.

pass out quick on vr0 proto tcp/udp from 192.168.1.2/32 to any keep state
pass out quick on vr0 proto icmp from 192.168.1.2/32 to any keep state


Is this a normal rule to have in an ipfilter firewall, according to my setup? Is there a better way? Is my setup limiting a proper ipfilter firewall?

Thanks for your attention,

Daesden



Reply via email to