ipchains....opening tcp and udp specific ports with Mandrake 7 kernel 2.2.14

Joel Dudley joel@silverw.com
Mon, 15 May 2000 15:32:35 -0700


This is how I forward PC anywhere data.

$IPCHAINS -A input -p tcp -s $REMOTENET -d $EXTNET 5631 -j ACCEPT

$IPMASQADM portfw -a -P tcp -L xxx.xxx.xxx.xxx (public IP) -R
xxx.xxx.xxx.xxx (private IP) 5631

make sure that your script is flushing all rules when it executes
----- Original Message -----
From: Marc <mgfh_4@uswest.net>
To: <plug-discuss@lists.PLUG.phoenix.az.us>
Sent: Monday, May 15, 2000 3:08 PM
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 <joel@silverw.com>
> To: <plug-discuss@lists.PLUG.phoenix.az.us>
> 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 <mgfh_4@uswest.net>
> > To: <plug-discuss@lists.PLUG.phoenix.az.us>
> > 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  -  Plug-discuss@lists.PLUG.phoenix.az.us
> > > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
> >
> > _______________________________________________
> > Plug-discuss mailing list  -  Plug-discuss@lists.PLUG.phoenix.az.us
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
>
>
> _______________________________________________
> Plug-discuss mailing list  -  Plug-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss