Re: Setting up Net Gateway in Linux?
- From: sunil.maryala@xxxxxxxxx
- Date: 10 Sep 2006 13:11:03 -0700
Hi,
First of all you need to enable IP Forwarding on Linux Box, below is
the Procedure
Turn on IP forwarding to allow Linux computer to act as a gateway or
router.
echo 1 > /proc/sys/net/ipv4/ip_forward
Default is 0. One can add firewall rules by using ipchains.
Another method is to alter the Linux kernel config file:
/etc/sysctl.conf Set the following value:
net.ipv4.ip_forward = 1
See file /etc/sysconfig/network for storing this configuration.
FORWARD_IPV4=true
And now we come to firewall configuration, here is the link where a
sample configuration is mentioned which might help you configuring your
scenario
http://www.faqs.org/docs/linux_network/x-087-2-firewall.example.html
Thanks,
Sunil
x0054 wrote:
Davide Bianchi <davideyeahsure@xxxxxxxxxxxxxx> wrote in
news:slrneg3ip4.ib8.davideyeahsure@xxxxxxxxxxxxxxxx:
On 2006-09-08, x0054 <x0054@xxxxxxxxx> wrote:
The router is WNR854T and it is the worst piece of shit I have ever
owned :(
So why don't you return it and get a new one?
I would, unfortunately the 30 day return period is up. I bought it
before moving, and did not plug it in until 3 weeks later.
Basically, it's very unstable and it crashes regularly. What I would
like to do is connect the DSL modem directly to eth0 and then connect
the plug eth1 to one of the ports on the router.
That would be good... especially if you could explain what kind of
'DSL modem' you've got and what stop you to connect it.
The outside connection to the dsl works fine. It actually supports dhcp
so all I have to do is plug it in and it's good to go. My question was,
how to setup the firewall and other stuff, so my server can share it's
connection with other computers on the network.
- Bogdan
Davide
.
- References:
- Setting up Net Gateway in Linux?
- From: x0054
- Re: Setting up Net Gateway in Linux?
- From: x0054
- Setting up Net Gateway in Linux?
- Prev by Date: Re: HTTP on port 8080 ??? Why?
- Next by Date: Stats comp.os.linux.networking (last 7 days)
- Previous by thread: Re: Setting up Net Gateway in Linux?
- Next by thread: nfs issue
- Index(es):
Relevant Pages
|