LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-01-2005, 02:35 PM   #1
e6x
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Rep: Reputation: 0
Sharing Internet Connection Windows <- Linux (Fedora Core 3)


Hi,

I have a problem with connection sharing. I have a home server with Fedora Core 3 Linux installed and 2 nic cards in it, one for internet and one for lan. So, i can ping a computer in my network and i can ping the server from that computer. But internet doesn't work? any ideas?

Thanks.
 
Old 08-01-2005, 05:41 PM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
This doc solved the problem, when I was running redhat 8/9, some time ago: http://www.tldp.org/HOWTO/Masquerading-Simple-HOWTO/

Remember to edit the ppp stuff, if you use ethernet.
 
Old 08-02-2005, 03:33 AM   #3
e6x
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks! I will try this now. I'm newbie so where do i set that ppp0?

Thanks!
 
Old 08-02-2005, 04:37 AM   #4
e6x
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Original Poster
Rep: Reputation: 0
umm.. ok, i was trying something with firestarter before.. how can i remove it? and i have a slight problem with iptables:

[root@BleBox e6]# iptables -F
bash: iptables: command not found
[root@BleBox e6]#

but i installed iptables, then i updated whole system and they were installed again? so what now? :/

edit: when i boot the system it says Starting iptables [ ok ] so im really lost atm

Last edited by e6x; 08-02-2005 at 04:47 AM.
 
Old 08-02-2005, 07:19 AM   #5
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
(umm.. ok, i was trying something with firestarter before.. how can i remove it? )


Tell fedora to remove it with yum (guess thats the name of the utility?). But IŽn not sure removing firestarter is necessary for iptables to work.




(and i have a slight problem with iptables:

[root@BleBox e6]# iptables -F
bash: iptables: command not found
[root@BleBox e6]#)


Thats weird. Try to call iptables by the absolute path, eg, /usr/bin/iptables (or whatever the path is).

The command

whereis iptables

can tell you where is it.

(but i installed iptables, then i updated whole system and they were installed again? so what now? :/)

Well, if you donŽt really have iptables, which I dont think its the case, you only have to install it again.


Last edited by bruno buys; 08-02-2005 at 07:20 AM.
 
Old 08-02-2005, 08:26 AM   #6
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
try su - to gain roots paths, maybe iptables is in that (runnign it's absolute path will have the same effect), i've had a few programs requiring that step
 
Old 08-03-2005, 09:14 AM   #7
e6x
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by ethics
try su - to gain roots paths, maybe iptables is in that (runnign it's absolute path will have the same effect), i've had a few programs requiring that step
thanks, this did the trick!

[root@BleBox ~]# iptables
iptables v1.2.11: no command specified
Try `iptables -h' or 'iptables --help' for more information.
[root@BleBox ~]# iptables -H

yey
 
Old 08-03-2005, 12:58 PM   #8
e6x
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Original Poster
Rep: Reputation: 0
hmhm... i tried now many iptables sht, but didn't work, nothing .. could any1 with fc3 sharing internet with win xp box tell me how to do this?
thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Connection Sharing - Windows XP Home to Fedora 2 Covenent Linux - Networking 12 11-05-2006 06:57 PM
How do I set up Internet Connection Sharing on fedora core 1? milkrock Linux - Networking 7 01-29-2006 04:52 AM
Internet Connection Sharing from Windows XP to Linux Patchy Linux - Networking 2 09-21-2005 03:02 PM
how to share a internet connection with fedora core and windows 2000 jxzk007 Linux - Networking 1 11-29-2004 08:04 PM
sharing internet connection between linux and windows homer_3_16uk Linux - Networking 1 03-21-2004 01:23 PM


All times are GMT -5. The time now is 09:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration