I removed the Linksys Router, and ran "sysctl -w net.inet.ip.forwarding=1".
I have no blocks set up right now.
I also tested with those rules you posted for the pf.conf file, and commented out the line I had.
I was still unable to get the workstations to connect out the internet, even though the OpenBSD box can. None of the workstations will ping the OpenBSD box in that configuration still.
But for some reason I could not get everything working again when I put the Linksys router back inbetween the Cable Modem and the OBSD box. So right now I am just hooked up straight to the Linksys Router.
I do have the dc0 interface using DHCP however. During boot up, when its setup Cable Modem straight to the dc0 interface, it grabs an IP from a 10.x.x.x address. The IP that it grabs is not my public IP. I have dynamic IP ont he Cable Modem, but its been teh same IP for months now, and that number it finds for dc0 on boot up is not my public IP. But when it does this, I can still get out on the OBSD box.
The IP listed in "ipconfig dc0" when I do this, is 68.32.210.146 where as my public IP is really 69.244.xx.xx.
Should I not be running dchp on dc0 when I am just going straight from the cable modem to the dc0 interface on the OBSD box?
Main Topics
Browse All Topics





by: gheistPosted on 2005-07-04 at 01:37:40ID: 14360821
sysctl -w net.inet.ip.forwarding=1 with matching entry in /etc/sysctl.conf
is first that comes in mind.
next is - enable logging on all block rules (if any)
this might be more accurate, but yours should be of no problem for normal TCP/IP setup.
nat on dc0 from dc1:network to !dc1:network -> (dc0)
no nat on dc0 from dc1 to !dc1:network -> (dc0)
Do you need/use dhcp ???