View Full Version : How to set up router in Fedora Core 2
radioactive
2004-05-31, 07:51 PM CDT
Hello,
Can you help me?
I have server with 2 LAN cards and I want to make it as a router.
Can anybody tell a good HOW-TO or something....
renato
2004-06-02, 06:07 AM CDT
I use shorewall for my linux box.
wget http://shorewall.net/pub/shorewall/shorewall-2.0.2d/
Here is the setup guide for a box w/ 2 nics.
http://shorewall.net/two-interface.htm
wget http://shorewall.net/pub/shorewall/Samples/samples-2.0.1/two-interfaces.tgz
The file above will replace the files in /etc/shorewall after you've installed the program.
Then, you can modify the script to meet your needs.
From one noob to another. Hope this helps.
radioactive
2004-06-02, 05:59 PM CDT
thanks for help :)
mrsun2005
2004-06-12, 12:04 AM CDT
routing must be enabled. edit /etc/sysctl.conf and change the following line
net.ipv4.ip_forward = 1
service network restart
add additional routes if needed
vBulletin® v3.8.1, Copyright ©2000-2010, Jelsoft Enterprises Ltd.