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 ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 rc.firewall config question
Author: Jeff Bitgood 
Date:   31-07-00 15:35

I'm trying to get my home network set up with a cable modem. I'm using FreeBSD 4 Release with ipfw/natd, and I'm having some troubles. I've got things working great using the default rc.firewall with the open option, but simple isn't working for me. I'm not sure if I have my info set up properly. Here's what I have for my IP settings:

oif="ep0"
onet="xxx.xxx.xxx.120"
omask="255.255.255.248"
oip="xxx.xxx.xxx.122"

iif="ep1"
inet="192.168.1.0"
imask="255.255.255.0"
iip="192.168.1.3"

Any help would be greatly appreciated.

Reply To This Message
 
 RE: rc.firewall config question
Author: Brizzy Mike 
Date:   03-08-00 03:31

Tell me if I'm out of line here, but your netmask on the outside interface looks a little dodgy... I'd try 255.255.255.0 personally...

Can you clarify more on what you mean by "simple isn't working for me".

What specifically doesn't it do?

Reply To This Message
 
 RE: rc.firewall config question
Author: PatHenry 
Date:   03-08-00 17:13

Hola Jeff
Hi!

you have problem with natd, if the rc.conf is:


firewall_enable="YES"
gateway_enable="YES"
hostname="jeff.anonymous.style"
firewall_enable="YES"
firewall_type="open"
firewall_quiet="NO"
natd_enable="YES"
natd_interface="vr0"
natd_flags"-u -m -dynamic"
router_enable="YES"
router="routed"
router_flags="-q"
forward_sourceroute="YES"
ifconfig_vr0="inet 2XX.XXX.XXX.XXX netmask 255.255.255.210" # this is IP public of INTERNET
ifconfig_rl0="inet 192.168.0.1 netmask 255.255.255.0"
defaultrouter="208.197.137.129"
network_interfaces="vr0 rl0 lo0"

...

and have installing a Custom Kernel

all Super COOL!

if have questions sendme to:

mailto:pathenry@flashinternet.cl


GOODBYE!

Pathenry


http://www.flashinternet.cl/pathenry


Jeff Bitgood wrote:
-------------------------------
I'm trying to get my home network set up with a cable modem. I'm using FreeBSD 4 Release with ipfw/natd, and I'm having some troubles. I've got things working great using the default rc.firewall with the open option, but simple isn't working for me. I'm not sure if I have my info set up properly. Here's what I have for my IP settings:

oif="ep0"
onet="xxx.xxx.xxx.120"
omask="255.255.255.248"
oip="xxx.xxx.xxx.122"

iif="ep1"
inet="192.168.1.0"
imask="255.255.255.0"
iip="192.168.1.3"

Any help would be greatly appreciated.

Reply To This Message
 
 RE: rc.firewall config question
Author: Jeff Bitgood 
Date:   03-08-00 22:37

That's what I was given by my ISP. I tried 255.255.255.0 also, but that didn't help.

What's happening is that when I set firewall_type="OPEN", I can get through no problem. If I set firewall_type="SIMPLE", I can't get through at all.

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