| Author |
Message |
Guest
|
Posted:
Thu Jan 13, 2005 10:13 pm Post subject:
Multi-NAT router under Linux? |
|
|
Can this be done without going to a dedicated router.
My ISP has assigned me a /29 routable subnet for the DSL line. I'm
looking to make a Linux box be a firewall and a multi-nat gateway.
Specifically, I'd like the Linux box (2.6.9 kernel) to:
- route
- serve web pages and e-mail
- Mutli-NAT for the five usable IP addresses.
Cna this be done? Or, do I have to go to a pro-sumer router? |
|
| Back to top |
|
 |
Computer Doctor
Guest
|
Posted:
Fri Jan 14, 2005 12:21 am Post subject:
Re: Multi-NAT router under Linux? |
|
|
ja@s21.com wrote:
| Quote: | Can this be done without going to a dedicated router.
- route
- serve web pages and e-mail
- Mutli-NAT for the five usable IP addresses.
Cna this be done? Or, do I have to go to a pro-sumer router?
|
If you install SuSE it will allow you to configure all those options during
the installation. Though I would be very careful using up all the Internet
routable IP's as they are quite valuable. It may be advisable to only use
one routable IP and create an internal non-routable IP network (private ip
block eg. 192.168.1.0 /24) and port forward any servers needing to supply
assets to the Internet.
Just my 2 cents ;-) |
|
| Back to top |
|
 |
Guest
|
Posted:
Fri Jan 14, 2005 1:42 am Post subject:
Re: Multi-NAT router under Linux? |
|
|
Agreed, but I have been assigned this /29 subnet, My internal blocks
are already private. This is for a collection of hosts outside that
block. I wish I could run SuSE but so far as I know, the SuSE 9.2
product does not, as yet,, support the Intel ICH6R RAID controller.
Fedora 3 does. |
|
| Back to top |
|
 |
henry
Guest
|
Posted:
Fri Jan 14, 2005 1:53 am Post subject:
Re: Multi-NAT router under Linux? |
|
|
ja@s21.com wrote:
| Quote: | Agreed, but I have been assigned this /29 subnet, My internal blocks
are already private. This is for a collection of hosts outside that
block. I wish I could run SuSE but so far as I know, the SuSE 9.2
product does not, as yet,, support the Intel ICH6R RAID controller.
Fedora 3 does.
|
Any disto with a 2.4 kernel or later will do what you need. As for
Multi-NAT, why? You could setup a differnt SNAT rule for each of your
internal hosts, effectly making each of your PCs using a differnt IP,
and then use a differnt IP still for your server applications. But I
don't know of a way to NAT out from a pool of external IPs, nor would I
know of any reason to do such a thing. |
|
| Back to top |
|
 |
Justins local account
Guest
|
Posted:
Fri Jan 14, 2005 2:42 pm Post subject:
Re: Multi-NAT router under Linux? |
|
|
ja@s21.com writes:
| Quote: | Can this be done without going to a dedicated router.
- Mutli-NAT for the five usable IP addresses.
|
If you are multi-natting, you can use all 8 addresses (unless 1 is
overloaded as the connection IP address - in which case you can use 7)
I would be very surprised if linux couldn't do so.
--
Justin Murdock |
|
| Back to top |
|
 |
Wolfgang Kueter
Guest
|
Posted:
Sun Jan 16, 2005 12:04 am Post subject:
Re: Multi-NAT router under Linux? |
|
|
ja@s21.com wrote:
| Quote: | Specifically, I'd like the Linux box (2.6.9 kernel) to:
- route
|
echo "1" > /proc/sys/net/ipv4/ip_forward
| Quote: | - serve web pages and e-mail
|
/etc/init.d/<script_to_start_daemon> start
| Quote: | - Mutli-NAT for the five usable IP addresses.
|
man iptables
Wolfgang |
|
| Back to top |
|
 |
|
|
|
|