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   Previous Message  |  Next Message 
 RE: NATD and IPFW too
Author: Dan Langille 
Date:   01-09-00 22:41

> ifconfig xl1 202.77.127.220 alias netmask 255.255.255.0
> ifconfig lo0 202.77.127.220 alias netmask 255.255.255.0

I'm not sure about the alias on lo0. Try removing that first. Giving two interfaces the same IP may be confusing it.

>options IPFILTER #ipfilter support
>options IPFILTER_LOG #ipfilter logging

If you are using ipfw and not ipfilter, you can remove the above options.

> 00040 fwd 192.168.100.250 log ip from any to 202.77.127.220

I don't use natd/ipfw (I use ipnat/ipfilter) but I think the above IPs should be swapped. Check the fwd command for details.

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

 Topics Author  Date
 NATD and IPFW too   new
Andy 01-09-00 16:03 
 RE: NATD and IPFW too   new
Dan Langille 01-09-00 22:41 


 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