hello.
i'm using rh 7.0 +patches am i able to connect to a pc behind my firewall 
with ipmasqadm or another util.

i tryed that u said below i can ftp into 192.168.0.1 but i dont get a 
directory listing even when its set to passive mode ftp i get another error 
msg when i try passive mode "no route to host"


#ipmasqadm portfw -a -P tcp -L 61.x.x.x 25 -R 192.168.0.1 2121


thanx heeps
Steve


On Tuesday 20 March 2001 09:36, you wrote:
> It is in fact not hard at all:
>
> Example:
>
> NOWIP=`getifaddr eth1`
> /sbin/ipmasqadm portfw -a -P tcp -L $NOWIP 25 -R 10.1.4.2 25
>
>
> Since DHCP get's renewed only when you logon to a DHCP server the NOWIP
> variable will be correct all the time.
>
> I am currently going through a lot of scripts and put my own flavour to it.
> I have little experience with bastille-firewall scripting and have to learn
> how to implement it all correctly.
> Than again, I am not a real developper anyway.... ;-)
>
> The above is from my Coyote router script.
>
> Now I have to quickly learn how to do it with ipvsadm.
>
> Did you have problems getting an IP address?
> I am using cable 'service' from Rogers@Home and had to add this to the
> ifcfg-eth1 template:
>
> DHCP_HOSTNAME=$Eth1Hostname" if ($Eth1Hostname =~ /\S+/);
>
> and run the config-wrapper.pl -u function to implement it.
> Now it is working, let me know where you stand with the forwarding.  That
> way I can move the Cooker in front of my services and use the squid proxy.
>
> Kind regards,
>
> Aldert van der Laan
> London, Ontario
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ron Heron
> Sent: March 19, 2001 3:30 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Cooker-firewall] Port forwarding
>
> > Port forwarding works actually only for static external Interface.
>
> I have a dynamic IP.  Why does it only work for static external
> interfaces?  It seems it would be quite easy to hook a script to the
> network service to grep for new IP and restart the portforwarding
> services, right?  At least that's what I had to do.
>
> Ron
>
>
>
> =====
> ^C
> quit
>
> :q
>
> exit
> ?
> help
> shit
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/

-- 
######################################################
Steve Cooper:-  IT System Analyst                                           
Australian Taxation Office:- Small Business Electronic Commerce
Email:- [EMAIL PROTECTED] <- please use this address       
            [EMAIL PROTECTED]
Phone:- 62163337                                                              
ICQ:-    108978101
######################################################

Reply via email to