[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ipmasqconfig! how?



Hi! 
I have Debian 2.0 linux box, i need to configure ipmasq!
I want to use the scrip ipmasqconfig, but i dont understend how?

my IP is 192.168.1.1
I use ppp to connect to my provider

I dont know how to aswer to the script!

+++++++
the script ask me:


- What is the IP address of your external interface?
- What is the netmask of your external interface?

- Please specify the internal interfaces to be masqueraded. Enter a '.' to
  finish.
- Enter an internal interface's IP address.
- Enter that internal interface's netmask.


+++++++++++

now I have have meked the ipmasq by me:


########## Start IP masquerading ########################### 
echo "setting up ip masquerde"
/sbin/depmod -a
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_raudio
/sbin/modprobe ip_masq_irc


echo "setting up permissions for 192.168.1.0 domain "
ipfwadm -F -p deny
ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0

########## End IP masquereding ############################


but I d' like to use the script...


thanks 
Luca

-- 
________________________________________________________________
Luca Di Taranto                             ditarant@zappami.tin
to email me, please, remove "zappami" and add ".it" after ".tin"


--  
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null


Reply to: