LinuxQuestions.org
Visit Jeremy's Blog.
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 05-28-2003, 12:48 AM   #46
Wimpie22
Member
 
Registered: May 2003
Posts: 85

Original Poster
Rep: Reputation: 15

i didn't install an dns server on my linux server does that help if i install it?
 
Old 05-28-2003, 02:55 AM   #47
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
you dont need to install a DNS server on the linux machine itself, on the winxp machine do this:

Start -> Run , type "cmd" without the quote.
At the command prompt type "ipconfig /all" without the quotes again and post what you get here. To do this the easy way. Highlight what's in the command window, then click on the blue icon in the upper left corner, then click edit, the click copy. You will be able to paste it in the post afterwards.
 
Old 05-28-2003, 12:43 PM   #48
Wimpie22
Member
 
Registered: May 2003
Posts: 85

Original Poster
Rep: Reputation: 15
Microsoft Windows XP [versie 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administrator>ipconfig /all

Windows IP-configuratie

Host-naam . . . . . . . . . . . .: adsl-pc
Primair DNS-achtervoegsel. . . . .:
Knooppunttype: . . . . . . . . . .: onbekend
IP-routering ingeschakeld. . . . .: nee
WINS-proxy ingeschakeld . . . . . : nee

Ethernet-adapter LAN-verbinding:

Verbindingsspec. DNS-achtervoegsel:
Beschrijving . . . . . . . . . . .:
3Com EtherLink XL 10/100 PCI For Complete PC Management NIC (3C905C-TX
)
Fysiek adres. . . . . . . . . . . : 00-04-76-F5-7A-03
DHCP ingeschakeld:. . . . . . . . : nee
IP-adres. . . . . . . . . . . . . : 192.168.1.3
Subnetmasker. . . . . . . . . . . : 255.255.255.0
Standaardgateway. . . . . . . . . : 192.168.1.1
DNS-servers . . . . . . . . . . . : 194.134.5.55
194.134.5.5

C:\Documents and Settings\Administrator>
 
Old 05-28-2003, 01:10 PM   #49
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
and you said u already modified /etc/resolv.conf to include the DNS server: 194.134.5.55 and 194.134.5.5 and your resolv.conf does look something like the following right:

domain domain.com
nameserver 194.134.5.55
nameserver 194.134.5.5


if so, im stumped on this one.
 
Old 05-28-2003, 01:47 PM   #50
Wimpie22
Member
 
Registered: May 2003
Posts: 85

Original Poster
Rep: Reputation: 15
i dont realy know the domain name of my ISP

the website is www.wanadoo.nl

so i think it's wanadoo.nl


is that right!
 
Old 05-29-2003, 03:26 AM   #51
Wimpie22
Member
 
Registered: May 2003
Posts: 85

Original Poster
Rep: Reputation: 15
hello i've installed windows 2000 But that doesn't solve the problem its a linux problem!
 
Old 05-29-2003, 03:54 AM   #52
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
Can you post the output of:
ipchains -L
 
Old 05-30-2003, 01:42 AM   #53
Wimpie22
Member
 
Registered: May 2003
Posts: 85

Original Poster
Rep: Reputation: 15
Helloi hope you can find something from ipchains -L

Red Hat Linux release 7.3 (Valhalla)
Kernel 2.4.18-3 on an i586
[root@localhost root]# echo 1 >/proc/sys/net/ipv4/ip_forward
[root@localhost root]# /sbin/ipchains -A forward -j MASQ -s 192.168.1.0/24 -d 0
/0

[root@localhost root]# /sbin/ipchains -L
Chain input (policy ACCEPT):
target prot opt source destination ports
ACCEPT udp ------ dns.wanadoo.nl anywhere domain -> 1
025:65535
ACCEPT tcp -y---- anywhere anywhere any -> smtp
ACCEPT tcp -y---- anywhere anywhere any -> http
ACCEPT tcp -y---- anywhere anywhere any -> ftp
ACCEPT tcp -y---- anywhere anywhere any -> ssh
ACCEPT tcp -y---- anywhere anywhere any -> teln
et
ACCEPT udp ------ anywhere anywhere bootps:bootpc
-> bootps:bootpc
ACCEPT udp ------ anywhere anywhere bootps:bootpc
-> bootps:bootpc
ACCEPT all ------ anywhere anywhere n/a
REJECT tcp -y---- anywhere anywhere any -> 0:10
23
REJECT tcp -y---- anywhere anywhere any -> nfs
REJECT udp ------ anywhere anywhere any -> 0:10
23
REJECT udp ------ anywhere anywhere any -> nfs
REJECT tcp -y---- anywhere anywhere any -> x11:
6009
REJECT tcp -y---- anywhere anywhere any -> xfs
Chain forward (policy ACCEPT):
target prot opt source destination ports
MASQ all ------ 192.168.1.0/24 anywhere n/a
Chain output (policy ACCEPT):
[root@localhost root]#
 
Old 05-30-2003, 04:22 AM   #54
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
Try temporarily flushing your ipchains:
ipchains -F

then adding the MASQ rule again.
 
Old 05-30-2003, 07:44 AM   #55
Wimpie22
Member
 
Registered: May 2003
Posts: 85

Original Poster
Rep: Reputation: 15
Hello

it WORKS I have fushed my ipchain and now i can acces internet but witch ipchain is the problem and how can i save the ipchain so that the nesxt time the MASQ rule again is already fillt in i have to type the rule everytime i start my linux server. and teh last question how do i save the file ip_forward so i dont have to type the 1 in that file THANKS ALREADY FOR YOURE HELP!!!!
 
  


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
routing jmono Linux - Networking 5 02-07-2006 06:20 AM
Routing gtkmike Linux - Networking 1 11-13-2003 09:21 AM
real routing under nat routing nothingmuch Linux - Networking 4 10-27-2003 03:11 PM
Routing in RH 8.0 Hybrid Blue Linux - Networking 2 10-12-2003 05:41 PM
Routing jimval7 Linux - Networking 3 02-08-2002 04:06 PM

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

All times are GMT -5. The time now is 12:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration