or if you want to do stuff easily on the existing Ubuntu then install
the shorewall package.
it is a good front end to iptables :-)

FAQs available on


http://www.shorewall.net/

--Siju


On Fri, May 21, 2010 at 2:42 PM, Siju George <[email protected]> wrote:
> Hi Papu,
>
> IP tables can be very daunting if you are new.
>
> Try
>
> http://www.pfsense.org/
>
> It is free and many people find it easy to manage since it has got a
> nice GUI and it is claimed to be more secure than ubuntu/linux
>
> IF you want to insist on Linux then give
>
> http://www.smoothwall.org/
>
> a try
>
> --Siju
>
> On Fri, May 21, 2010 at 2:14 PM, pappu ps <[email protected]> wrote:
>> hi,
>>
>> myself pappu from Rajagiri College. i am dealing with the public relation
>> section of the college's community service wing RAJAGIRI outREACH. i have
>> minimal information about computing. but using linux for the past 2 years.
>>
>> our office is using a windows network with nearly 20 computers connected.
>> and of course there is lot of trouble always. due to constant virus attack,
>> the server that share internet connection gets crashed every time. so i
>> suggested to use a linux computer that share internet.
>>
>> for this purpose, i have set up a machine with ubuntu 10.04. i could
>> configure the network and all - one internal and one addl card lan. (it
>> shows eth0 and eth1). i could also configure the BSNL broadband connection.
>> but i am not able to share the connection with other computers in the
>> windows network.  i have gone through many steps described in ubuntu forums.
>> ( https://help.ubuntu.com/community/Internet/ConnectionSharing  is one)
>>
>>
>>
>> this was the procedure and status.!
>>
>> ch...@child-desktop:~$ sudo iptables -A FORWARD -i eth0 -o eth1 -s
>> 192.168.0.0/24 -m conntrack --ctstate NEW -j ACCEPT
>>
>> ch...@child-desktop:~$ sudo iptables -A FORWARD -m conntrack --ctstate
>> ESTABLISHED,RELATED -j ACCEPT
>>
>> ch...@child-desktop:~$ sudo iptables -A POSTROUTING -t nat -j MASQUERADE
>>
>> ch...@child-desktop:~$ sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward"
>>
>> ch...@child-desktop:~$ iptables -t nat -A POSTROUTING -o eth0 -j MASQUERAD
>> iptables v1.4.4: can't initialize iptables table `nat': Permission denied
>> (you must be root)
>> Perhaps iptables or your kernel needs to be upgraded.
>>
>> ch...@child-desktop:~$ sudo iptables -t nat -A POSTROUTING -o eth0 -j
>> MASQUERAD
>> iptables v1.4.4: Couldn't load target
>> `MASQUERAD':/lib/xtables/libipt_MASQUERAD.so: cannot open shared object
>> file: No such file or directory
>>
>> Try `iptables -h' or 'iptables --help' for more information.
>>
>> i stuck at this step. i have no idea what happened when i typed these
>> codes!!!
>>
>> please help me resolve this issue.
>> also, is there any other simple methods to share the connections ?
>>
>> i would be greatful if you can suggest some simple methods. i mean codes
>> with explanation.
>>
>>
>> Thanks and regards
>>
>>
>> Pappu
>>
>> _______________________________________________
>> Indian Libre User Group Cochin Mailing List
>> http://www.ilug-cochin.org/mailing-list/
>> http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
>> #[email protected]
>>
>

_______________________________________________
Indian Libre User Group Cochin Mailing List
http://www.ilug-cochin.org/mailing-list/
http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
#[email protected]

Reply via email to