Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 1998 20:14:48 -0300
From:      Capriotti <capriotti@geocities.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   IPFW and dial-up link to internet
Message-ID:  <3.0.32.19691231210000.0094a9c0@pop.mpc.com.br>

next in thread | raw e-mail | index | archive | help
Hello !

I am attempting to set up a dial-up connection to the internet using
dynamic IP.

the connection works great and it was done "by the book", following
instrucions at the ppp man pages and docs at FBSD site.

The point I have to discuss is how to use IPFW with a dynamic IP environment.

My doubt, basically is how to set up these lines:

 # set these to your outside interface network and netmask and ip
    oif="tun0"                # I am using tun0 to connect
    onet="200.246.0.0"        # My ISP's address is 200.246.0.252
    omask="255.255.255.0"     # I guess this is right
    oip="192.168.4.17"        # I have no idea what I should put here


    # set these to your inside interface network and netmask and ip
    iif="ed1"                 # my network card
    inet="192.168.0.0"        # the internal network
    imask="255.255.255.0"     # the mask seems to be ok also
    iip="192.168.0.30"        # the internal IP

Next I am using basically al the rules from "simple", at the rc.firewall
file, plus a couple more to ensure that netbios is not being manipulated
from outside, and also telnet will work within the LAN only.

Could someon take a look at those lines and give me some advice ?

Is there anything wrong there ? Any other enhancements ?

Thank you.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.32.19691231210000.0094a9c0>