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

ipmasqadm and firewall stuff



ok... so, i have this nice new firewall script that's auto-executed whenever
i start rp-pppoe...

i'm connecting using ADSL, so ppp0 is different every time i connect (which
isn't very frequent unless something goes whacky on the ISP's side). so,
here's the deal...  i have a nice ipmasqadm part that forwards ICQ stuff for
me:

ipmasqadm portfw -a -P tcp -L 4.x.x.x 4000 -R 192.168.1.11 4000

now then... i had to manually put in my $EXTERNAL_INTERFACE (the 4.x.x.x)
because for some reason, ipmasqadm won't accept the variable.

i would like the ipmasqadm to work with the variable for ppp0
($EXTERNAL_INTERFACE)...   rather than manually typing in the dang external
ip and re-running the script just so i can use ICQ.

any idears?

thanks!!!

-jeff



Reply to: