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.
--- Bijan Soleymani <email@example.com> wrote:
> dudahhh <firstname.lastname@example.org> 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
> > box will be the firewall/gateway, internet on eth0
> > internal lan on eth1. What im looking for is
> > suggestions on my script, and also needing to know
> > i can lets say have all external connections that
> > to connect to me on port 10022 be forwarded to
> > 192.168.1.8:22, so that i can be able to ssh into
> > of my linux boxes, the firewall one, and an
> > one. Im pretty sure i have to either allow port
> > on the INPUT, or allow port 22 on the FORWARD,
> > 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,
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.