LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-13-2002, 03:04 AM   #1
themorph
LQ Newbie
 
Registered: Feb 2002
Location: Kiel / Germany
Distribution: RedHat 7.2
Posts: 10

Rep: Reputation: 0
Question Linux Router / Win98SE Client can't connect the WWW


- I'm using RedHat 7.2
- connecting via DSL with RP-PPPoE 3.3.1
(Masquerading is enabled there)
- using iptables for enabling Masq
- i think i am also enabling ip_forward
- 2 eth device
- for internal network 192.168.0.1/255.255.255.0

Win98SE - Client
- entered 192.168.0.1 as Gateway
- 192.168.0.2/255.255.255.0
- can ping the linux-server

What should I've done wrong, configuring linux or windows?
Is it right that there's no /etc/route.conf under RedHat 7.2?
Can I improve via Dos, if Windows is really using my Standard-Gateway configuration?

Thx for help!!!
 
Old 02-13-2002, 07:27 AM   #2
Dmitry
LQ Newbie
 
Registered: Oct 2001
Location: Russia
Distribution: Slackware 8.0
Posts: 14

Rep: Reputation: 0
Lightbulb Re: Linux Router / Win98SE Client can't connect the WWW

I think you must add DNS servers IP addresses in the client network configuration.
 
Old 02-13-2002, 10:08 AM   #3
Jon-
Member
 
Registered: Dec 2001
Distribution: RH5.2/6.2/7.0/7.1/7.2/9/ES21/ES31
Posts: 91

Rep: Reputation: 15
Verify ip masquerading is working. Assuming your don't have a firewall installed someplace, you should be able to ping any IP address using your windows box that you can ping using your RH box.
 
Old 02-13-2002, 10:57 AM   #4
raz
Member
 
Registered: Apr 2001
Location: London
Posts: 408

Rep: Reputation: 31
You say you think you have enabled forwarding.

check with
cat /proc/sys/net/ipv4/ip_forward

should show 1
if not

echo 1 > /proc/sys/net/ipv4/ip_forward

if this is ok then take down your firewall, do the following to see if it's the problem.

iptables -F
iptables -X
iptables -F -t nat
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o eth_number_of_external_card -j SNAT --to-source your_firewalls_external_ip_address_goes_here
# example: iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source 202.18.106.12
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT

/Raz
 
Old 02-14-2002, 03:20 AM   #5
themorph
LQ Newbie
 
Registered: Feb 2002
Location: Kiel / Germany
Distribution: RedHat 7.2
Posts: 10

Original Poster
Rep: Reputation: 0
IT WORKS

Thx a lot, to all of you and especially to Dmitry.
I was to stupid configuring Windows.
I forgot to enter the DNS.
 
Old 02-15-2002, 07:19 AM   #6
Dmitry
LQ Newbie
 
Registered: Oct 2001
Location: Russia
Distribution: Slackware 8.0
Posts: 14

Rep: Reputation: 0
Smile Re: IT WORKS

Best Regards.
 
  


Reply



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
can not connect to my pureftp server from Linux client, but i can from windows client bonito SUSE / openSUSE 5 03-16-2005 09:45 PM
linux client behind router atharumar Linux - Networking 6 10-27-2004 01:12 AM
linux 8 server but windows couldn't connect to WWW through router sheng8 Linux - Networking 2 08-17-2004 01:00 PM
can't connect to linux server using X client netkepala Linux - Networking 7 01-06-2003 01:48 AM
connect to samba with linux client keegnotrub Linux - Networking 1 08-09-2001 08:01 PM

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

All times are GMT -5. The time now is 05:26 AM.

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