ipchains....opening tcp and udp specific ports with Mandrake…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: CraigWhiteCraigWhite@AzApple.com
Date:  
Subject: ipchains....opening tcp and udp specific ports with Mandrake 7 kernel 2.2.14
providing your kernel has included portforwarding (not true on all
distros)...

# flush existing forwarding rules
/usr/sbin/ipmasqadm portfw -f

# sample of forwarding port for SSH port
/usr/sbin/ipmasqadm portfw -a -P tcp -L $EXTIP 26 -R $PORTFWIP1 22

substitute:
$EXTIP - your external network ip address
$PORTFWIP1 - the internal network ip address to forward to

Craig

----:----|----:----|----:----|----:----|----:----|----:----|
- Craig White - PO Box 8634 - Scottsdale, Arizona - 85252
- e-mail address ................ -
- world wide web address ........ - http://www.AzApple.com
- e-mail my pager address ....... -
- cellular phone ................ - (602) 377-9752
- voice/facsimile ............... - (480) 945-8445
----:----|----:----|----:----|----:----|----:----|----:----|

> -----Original Message-----
> From:
> [mailto:plug-discuss-admin@lists.plug.phoenix.az.us]On Behalf Of Marc
> Sent: Monday, May 15, 2000 3:09 PM
> To:
> Subject: Re: ipchains....opening tcp and udp specific ports with
> Mandrake 7 kernel 2.2.14
>
>
> ok Joel...they have additional commands for portfw, I tried those and they
> did not work either.
> ----- Original Message -----
> From: Joel Dudley <>
> To: <>
> Sent: Monday, May 15, 2000 2:26 PM
> Subject: Re: ipchains....opening tcp and udp specific ports with
> Mandrake 7
> kernel 2.2.14
>
>
> > Make sure you are allowing those ports with IP chains and I
> would suggest
> > using portfw instead of autofw.
> >
> > - Joel
> > ----- Original Message -----
> > From: Marc <>
> > To: <>
> > Sent: Monday, May 15, 2000 2:04 PM
> > Subject: ipchains....opening tcp and udp specific ports with Mandrake 7
> > kernel 2.2.14
> >
> >
> > > Hello all,
> > > Need some help opening specific tcp udp ports. I've read the ipchains
> how
> > > to and the firewall how to , but I guess I just can't quite comprehend
> > what
> > > I need to do to open specific ports so some programs on my winblows
> boxes
> > > can reach the net.
> > > One of the ports that I need open is 27960 udp and tcp.
> > > According to the web sight of one of these software companies you have
> to
> > > add these lines to open the proper ports for their software to
> > > work......well these are old and apparently dont work with the 2.2
> > > kernel...here they are:
> > > ipmasqadm autofw -A -v -r udp 2300 2400 -h www.xxx.yyy.zzz (ip of box
> > behind
> > > firewall)
> > > ipmasqadm autofw -A -v -r tcp 2300 2400 -h .........
> > > ipmasqadm autow -A -v -r tcp 47624 47624 -h .......
> > > ipmasqadm autow -A -v -r udp 47624 47624 -h .....
> > > ipmasqadm autow -A -v -r udp 28800 28900 -h .......
> > > I tried this and it did not work .....I need to know the ipchains
> > > equivalent of these commands???? Please help!! If you need any other
> info
> > > let me know.
> > >
> > > Thanks
> > > Marc
> > >
> > >
> > > _______________________________________________
> > > Plug-discuss mailing list -
> > > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
> >
> > _______________________________________________
> > Plug-discuss mailing list -
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
>
>
> _______________________________________________
> Plug-discuss mailing list -
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss