> Date:          Tue, 14 Jul 1998 20:57:44 -0400 (EDT)
> From:          jac--no-spam <[EMAIL PROTECTED]>
> To:            [EMAIL PROTECTED]
> Cc:            Masq <[EMAIL PROTECTED]>
> Subject:       Re:  [masq] I have just set up ip-masq...


Masq works the same with static or dynamic ip addressing.  For the 
first year or two that I used it, I had a dynamic address; when I 
went to a static ip, I didn't have to change anything.  My ISP did 
all the work.

A couple of pertinent configurations --

from rc.local:
     /sbin/ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0
masquerades the local private net to everywhere else

from /etc/ppp/ip-up:
     /sbin/route add $4 ppp0
     /sbin/route add -net default gw $5
(this executes as the last stage of bringing PPP up)
$4 is the local address of the ppp link, our ip address
$5 is the remote side of the ppp link, and the second line adds this 
as the default gateway.  This syntax might not be the cleanest, but 
it has worked for me for a couple of years, from old Slackware and 
kernel 1.something, to the newest RedHat and kernel 2.0.34.




>    If you get IP Masquerade to work with a dynamic IP address, please let
> us all know, and pass the details of your scripts to the IP Masq web site. 
> According to the manuals I've read, Masq requires a static address to
> work.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For daily digest info, email [EMAIL PROTECTED]
> 
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]

Reply via email to