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

Re: Converting router from W2K to Debian



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 02 November 2002 00:12, Alex Malinovich wrote:
> 1) Get NAT working. I know that this will most likely be a
> combination of iptables and ipmasq. Unfortunately, the HOWTO's that
> I've found so far haven't been very helpful. As far as I can figure,
> they only talk about mapping specific IP's. i.e. Any time a
> connection for IP 1.2.3.4 comes in, forward it out through the
> gateway. Well, what about IP 2.3.4.5, etc. Having a seperate entry
> for every site I want to visit sounds rather ludicrous. :)

You don't have to do DNAT for each and every connection you need ;-)
Have a look at

http://www.netfilter.org/documentation/HOWTO//NAT-HOWTO.html

especailly part 4.1. It's written for exactly that case. After that, I'd 
recommend reading some other stuff at http://www.netfilter.org/ to 
learn how to make your system a little more secure.

- -- 
Embedded Linux -- True multitasking!
TWO TOASTS AT THE SAME TIME!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9w60XeOF0+zcVdv8RAlLOAJ9siGBLUgzGQ4MN195gnIpwe+1+NQCfS36t
3YxVF8/iEiXOIM9S2amxh5U=
=F9rM
-----END PGP SIGNATURE-----



Reply to: