Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-13-2002, 03:04 AM
|
#1
|
LQ Newbie
Registered: Feb 2002
Location: Kiel / Germany
Distribution: RedHat 7.2
Posts: 10
Rep:
|
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!!!
|
|
|
02-13-2002, 07:27 AM
|
#2
|
LQ Newbie
Registered: Oct 2001
Location: Russia
Distribution: Slackware 8.0
Posts: 14
Rep:
|
Re: Linux Router / Win98SE Client can't connect the WWW
I think you must add DNS servers IP addresses in the client network configuration.
|
|
|
02-13-2002, 10:08 AM
|
#3
|
Member
Registered: Dec 2001
Distribution: RH5.2/6.2/7.0/7.1/7.2/9/ES21/ES31
Posts: 91
Rep:
|
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.
|
|
|
02-13-2002, 10:57 AM
|
#4
|
Member
Registered: Apr 2001
Location: London
Posts: 408
Rep:
|
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
|
|
|
02-14-2002, 03:20 AM
|
#5
|
LQ Newbie
Registered: Feb 2002
Location: Kiel / Germany
Distribution: RedHat 7.2
Posts: 10
Original Poster
Rep:
|
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.
|
|
|
02-15-2002, 07:19 AM
|
#6
|
LQ Newbie
Registered: Oct 2001
Location: Russia
Distribution: Slackware 8.0
Posts: 14
Rep:
|
Re: IT WORKS
Best Regards. 
|
|
|
All times are GMT -5. The time now is 02:57 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|