Re: Firestarter on Fedora
- From: Ashish Shukla आशीष शुक्ल <wahjava@xxxxxxxxx>
- Date: Mon, 26 Nov 2007 14:42:36 +0530
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
ChrisW wrote:
Hi,
I hope this is the correct place to post this... (and apologies if I
get any teminology wrong, I'm still a relatively newbie with Linux
admin).
I've got the following setup:
Internet connection -> wireless router (192.168.0.1) -> Fedora (eth0)
(DHCP / 192.168.0.3) -> Fedora (eth1) (192.168.0.100)-> Switch -> ~10
Windows computers (192.168.0.101-110)
I've not used Firestarter.
You've not indicated any network masks, so I'm assuming they're /24. Is
there any specific reason you chose eth0 and eth1 of your Fedora box to be
of same network.
If you put your 'eth1' and your Windows boxen in different network
than 'eth0', you can setup internet connection sharing very easily.
Edit '/etc/sysctl.conf' and set 'net.ipv4.ip_forward' equals to '1'. This
will enable IPv4 packet forwarding between your interfaces. Now you need to
enable masquerading, to do this simply execute:
root# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Now try accessing internet from your other Windows box, if it works, you
need to save this firewall configuration, execute:
root# iptables-save >/etc/sysconfig/iptables
Above command will also overwrite your existing firewall rules. So it is
better to first create a desired firewall, using 'iptables' command, and
then save all rules at once using 'iptables-save'.
HTH
- --
Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHSo4JHy+EEHYuXnQRAo4kAJ9RKhYVETcdWKiWhk47c5HJ1MpNDQCeMpH5
qu9ygfbOjgZfcJKI/bKv8Rs=
=SGgn
-----END PGP SIGNATURE-----
.
- Follow-Ups:
- Re: Firestarter on Fedora
- From: ChrisW
- Re: Firestarter on Fedora
- References:
- Firestarter on Fedora
- From: ChrisW
- Firestarter on Fedora
- Prev by Date: Re: Duplicate MAC problems
- Next by Date: Re: Duplicate MAC problems
- Previous by thread: Firestarter on Fedora
- Next by thread: Re: Firestarter on Fedora
- Index(es):
Relevant Pages
|
|