LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-28-2003, 06:20 AM   #16
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45

The equivalent bit's only there cos I forgot to delete it don't worry about it, on Red Hat 9 they'll be an actual file

in
/etc/sysconfig/
directory called
network
 
Old 07-28-2003, 06:30 AM   #17
SolidSnake
Member
 
Registered: Jul 2003
Location: UK,London
Distribution: White Box Enterprise Linux 3
Posts: 83

Original Poster
Rep: Reputation: 15
o ok. when I copy and paste the 'iptables -A FORWARD -s ! 192.168.0.0/24 - DROP' part it say
# iptables -A FORWARD -s ! 192.168.0.0/24 - DROP
Bad argument `-'
Try `iptables -h' or 'iptables --help' for more information.
 
Old 07-28-2003, 06:37 AM   #18
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
oops, here's me talking about typing errors too

it should be

iptables -A FORWARD -s ! 192.168.0.0/24 -j DROP
 
Old 07-28-2003, 06:41 AM   #19
SolidSnake
Member
 
Registered: Jul 2003
Location: UK,London
Distribution: White Box Enterprise Linux 3
Posts: 83

Original Poster
Rep: Reputation: 15
ok. Done that should it work now?
 
Old 07-28-2003, 06:45 AM   #20
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
If you've done all the restarts and stuff it should

you should at least be able to ping an external address from the windows machines as long as their gateway is correct......but I've got the feeling you're going to disagree ya?
 
Old 07-28-2003, 06:48 AM   #21
SolidSnake
Member
 
Registered: Jul 2003
Location: UK,London
Distribution: White Box Enterprise Linux 3
Posts: 83

Original Poster
Rep: Reputation: 15
hehehehehe unfortunatly your right it dont work
 
Old 07-28-2003, 07:03 AM   #22
SolidSnake
Member
 
Registered: Jul 2003
Location: UK,London
Distribution: White Box Enterprise Linux 3
Posts: 83

Original Poster
Rep: Reputation: 15
some 1 told me that i can use a distrobution of linux called SmoothWall which is a dedicated router and firewall distrobution if i can get a old computer and install that on it I can use that to share my internet connection but is there any way i can setup the server i'm using right now to send the files to that computer because im going to get 1 with out a cd drive so i cant use cds
 
Old 07-28-2003, 07:06 AM   #23
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
very frustrating,more so for you. Neither way is getting a result.


Does your switch have an uplink port although you ping from XP to linux so it's quite an unnecessary question.

And you can access the Internet from linux

all I can think of is the usual network stuff

Network cards are working
checking IP's fall with in the same subnet and the gateway is valid
everyone can ping everyone
DNS servers

Maybe best to roll back to the stage Mathieu left you at hopefully he or someone will be able to pick up on what's going wrong.
 
Old 07-28-2003, 07:13 AM   #24
SolidSnake
Member
 
Registered: Jul 2003
Location: UK,London
Distribution: White Box Enterprise Linux 3
Posts: 83

Original Poster
Rep: Reputation: 15
yep every thing is correct and working except the interent on the other computers. I think i'll use the smoothwall thing if i can ask my dads work to give me 1 of there old computers they dont need. But thatnks for your help and time.
 
Old 07-28-2003, 07:17 AM   #25
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
If that's the route you're heading down, on a machine withthout CDROM you can do a network install via ftp or http, haven't done it myself but at least you know it can be done,

hope you have better luck
 
Old 07-28-2003, 08:16 AM   #26
SolidSnake
Member
 
Registered: Jul 2003
Location: UK,London
Distribution: White Box Enterprise Linux 3
Posts: 83

Original Poster
Rep: Reputation: 15
ok thanks again
 
Old 12-02-2003, 10:23 AM   #27
tma_it
LQ Newbie
 
Registered: Dec 2003
Posts: 1

Rep: Reputation: 0
I have a gateway with 2 NIC's running Fedora 1 with a simple configuration following the instruction i this thread in regards to iptables and ip_forward. Everything works fine except that windows clients are only able to ping local adresses. However, they can go www, mail and so forth but no ping. Also the windows clients have to request a local hostname fx. the gateway's web-server before being able to request the world. What is wrong?
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to setup linux firewal/dhcp server but its not sharing the internet connection abefroman Linux - Networking 4 05-01-2005 04:39 AM
Internet Sharing w/o DHCP Server Mookid77 Mandriva 1 07-20-2004 07:18 AM
Internet sharing and dhcp trouble iceaway Mandriva 2 03-12-2004 03:50 PM
Internet Sharing with DHCP connection to the Net Earp Linux - Networking 1 06-15-2003 02:57 PM
Sharing internet between DHCP protocol? tr4nce Linux - Networking 10 03-25-2003 06:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:20 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration