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

Re: iptables - port forwarding help



Thanks for the info, though i kinda prefer to keep
everything defined in one file, in case I ever care to
test other distros, or come across a friend who needs
help with their firewall etc.

-paul
--- Bijan Soleymani <bijan@psq.com> wrote:
> dudahhh <gabaod@yahoo.com> writes:
> 
> > Ok, im resetting up my home network, and hence the
> > reason for this letter :)
> >
> > I have 2 linux boxes, and 2 windows boxes.  One
> linux
> > box will be the firewall/gateway, internet on eth0
> and
> > internal lan on eth1.  What im looking for is
> basic
> > suggestions on my script, and also needing to know
> how
> > i can lets say have all external connections that
> try
> > to connect to me on port 10022 be forwarded to
> > 192.168.1.8:22, so that i can be able to ssh into
> both
> > of my linux boxes, the firewall one, and an
> internal
> > one.  Im pretty sure i have to either allow port
> 10022
> > on the INPUT, or allow port 22 on the FORWARD,
> then
> > also set up a PREROUTING, though each example ive
> > tried ive had no success with.
> 
> There's a much easier way of forwarding ports!
> 
> apt-get install rinetd
> 
> Hope that helps,
> Bijan


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com



Reply to: