/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting!
/* ALSO: Don't quote this header. It makes you look lame :-) */
John E. Christ III wrote:
>>>ACCEPT udp ------ 0.0.0.0/0 0.0.0.0/0 67 -> 68
>>
>
> This implies you use DHCP to get an IP address.
Yes, that's correct.
>
>
>>ipmasqadm portfw -a -P udp -L 144.132.1.2 $port -R 192.168.1.225 $port
>
>
> This implies you have a static IP address - or else you change it manually
> whenever your address changes. Also, you do know that only one machine may
> be forwarded?
The way that the DHCP server hands out IP addresses, it's "mostly constant".
So, it's "safe" and if it stops working, I can easily change it, but I've
had this IP address for over 2 years without change.
Thanks, I know that only one machine can be forwarded. My wife doesn't get
to play ;-)
>
> Here's what I am using (it's DirectX 7 but it still seems to work.)
They've changed it for DX8, there's no TCP ports. I wonder if that
makes any difference.
The question is, do you have a similar ipchains setup, and if so,
do you perform any additional magic to make the 'portfw' "work" in
concert with the MASQ ?
Does ipmasqadm work with ipchains, or does ipchains get "first dibs"
on the packets and you have to manually let them through ?
>
> EXTIF="eth1"
> IP=`ifconfig $EXTIF | awk '/inet addr/ { gsub(".*:", "", $2) ; print $2 }'`
Excellent, that stops me from manually changing the shell script ;-)
Cheers,
-- jon
--
Jon Eaves <[EMAIL PROTECTED]>
http://www.eaves.org/jon/
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ --
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]
PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.