a)Two identities are required -
Lets name is as ethX – external and ethN – internal
- yours will be called eth0 and eth1
b)The internal should be cabled physically into the LAN and should consist of an IP
address that should be off to a non-routing range. Make sure all the computers should
have the same IP and the ping relationship is maintained thoroughly.
c) For external, unplug the internal and plug in the external, make sure it is connected to an internet connectivity device; you could now activate NIC and check if you are connected. After this is being done, we are sure that our both external and internal are working properly.
d)We are going to use firestartor which can be downloaded from the following link -
http://firestarter.sourceforge.net/
e)In order to this, we need to disable IP tables,
In fedora -
In the main menu -
select system settings - \server settings\
Next to IP tables – remove the tick
Save the changes.
f)Now the next step, would be running firestarter -
From the command line - Run firestarter
If does not run automatically, you could follow the following instruction -
- Select extX/PPP0 then click on forward
- Enable NAT – then select extN(auto-detect) then click on forward.
Firewall is now ready to work.
g)To activate IP routing -
Check the file - /etc/sysctl.conf
contains the line - net.ipv4.ip_forward=1
with this, data will be allowed to be sent across NIC’s.
This is optional; the firestartor daemon could be set through the service manager, saving the changes thereafter.
The process is now completed.
Cheers