SunQuest
           Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old October 17th, 2002, 09:36 AM
hedev hedev is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Berlin, Germany
Posts: 6 hedev User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Routing with SUSE 8.0

I want to use a SUSE 8.0 machine as a router for our LAN.
The connection and "pings" between the server and the clients work.
But only the server's internet connection works.

The guide i read says that it is required to set IPFORWARDING in the configuration file of the personal-firewall.
I did so und and also started the firewall.

Everytime i ping from a client with the firewall runnig directly to an internet ip the "internet answers" but if i ping a domain name nothing works, so it seems to be a problem with the named running on the server.

But if i turn of the firewall, the named works. A ping to an domain name shows the ip adress and then breaks. A traceroute shows that the request is send to the server and then breaks so, to my mind, it seems that in this case the ipforward doesn't work.

Any suggestions ?

Reply With Quote
  #2  
Old October 17th, 2002, 11:05 AM
realnowhereman realnowhereman is offline
Not there when you need me
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Oct 2001
Location: Berlin, Germany
Posts: 1,438 realnowhereman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 46 sec
Reputation Power: 8
The Personal Firewall is not intended for server/router use. Use SuSEfirewall2 instead (which also allows easy routing but is more secure and better configurable).

Reply With Quote
  #3  
Old October 17th, 2002, 01:48 PM
hedev hedev is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Berlin, Germany
Posts: 6 hedev User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
And if i would like to use the server without the firewall ? where do i tell the server to forward the requests ?

Reply With Quote
  #4  
Old October 17th, 2002, 01:56 PM
rendy's Avatar
rendy rendy is offline
Moderator
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: London
Posts: 348 rendy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 21 m 17 sec
Reputation Power: 7
Use IPTables

Search here, I think theres a few examples etc..

Reply With Quote
  #5  
Old October 17th, 2002, 02:23 PM
realnowhereman realnowhereman is offline
Not there when you need me
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Oct 2001
Location: Berlin, Germany
Posts: 1,438 realnowhereman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 46 sec
Reputation Power: 8
Unless one is an expert with iptables, the SuSEfirewall2 script (which uses iptables, btw) is securer And since the router is directly on the internet, it should not run without a firewall.

Reply With Quote
  #6  
Old October 17th, 2002, 05:38 PM
rendy's Avatar
rendy rendy is offline
Moderator
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: London
Posts: 348 rendy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 21 m 17 sec
Reputation Power: 7
Quote:
Originally posted by realnowhereman
Unless one is an expert with iptables, the SuSEfirewall2 script (which uses iptables, btw) is securer And since the router is directly on the internet, it should not run without a firewall.


I told him how to do what he asked! What he does with that information isn't my problem

The question was answered, wether or not it was the right question is another matter

Reply With Quote
  #7  
Old October 17th, 2002, 05:47 PM
realnowhereman realnowhereman is offline
Not there when you need me
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Oct 2001
Location: Berlin, Germany
Posts: 1,438 realnowhereman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 46 sec
Reputation Power: 8
Re: Routing with SUSE 8.0

You did not answer his question It was:
Quote:
Originally posted by hedev
Any suggestions ?

Obviously, if you have had any suggestions you should have replied with (yes, true, T, 1, on, ...) otherwise with (no, false, F, 0, off, ...)

Reply With Quote
  #8  
Old October 18th, 2002, 04:58 AM
rendy's Avatar
rendy rendy is offline
Moderator
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: London
Posts: 348 rendy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 21 m 17 sec
Reputation Power: 7
Quote:
Originally posted by hedev
And if i would like to use the server without the firewall ? where do i tell the server to forward the requests ?


Muhaha I was answering this question

Reply With Quote
  #9  
Old October 18th, 2002, 07:45 AM
realnowhereman realnowhereman is offline
Not there when you need me
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Oct 2001
Location: Berlin, Germany
Posts: 1,438 realnowhereman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 46 sec
Reputation Power: 8
Then the answer would have to be a location, e. g. "at the shell prompt". Afaik there is no UI in iptables

Reply With Quote
  #10  
Old October 19th, 2002, 03:02 AM
hedev hedev is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Berlin, Germany
Posts: 6 hedev User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question The return to the subject :D

Back again

So, I configured SuSEfirewall2 and... WOHOO... nearly everything works.

After bootup i have to perform these commands:

cinternet -start
rcSuSEfirewall2 start

The first command...ok
But why the second ?
I told the runlevel editor to start everything with SUSEfirewall2 in Runlevel 3 and, because i found out that these ones seem to be required, all the personal firewall jobs, too.

And now... could you tell me, answer, suggest how to configure cinternet and firewall so that they start automatically at bootup ?

THX !

Reply With Quote
  #11  
Old October 19th, 2002, 05:41 AM
realnowhereman realnowhereman is offline
Not there when you need me
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Oct 2001
Location: Berlin, Germany
Posts: 1,438 realnowhereman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 46 sec
Reputation Power: 8
Re: The return to the subject :D

Quote:
Originally posted by hedev
After bootup i have to perform these commands:
cinternet -start
rcSuSEfirewall2 start

The second should not be necessary.
Quote:
I told the runlevel editor to start everything with SUSEfirewall2 in Runlevel 3 and, because i found out that these ones seem to be required, all the personal firewall jobs, too.

The personal-firewall script should _not_ be started if you intend to use SuSEfirewall2.
Quote:
And now... could you tell me, answer, suggest how to configure cinternet and firewall so that they start automatically at bootup ?

Dunno about cinternet (I use rp-pppoe), but for SuSEfirewall2 it should be sufficient to enable the three init scripts.

Try disabling the personal firewall, then init 1, init 3, run cinternet -start without the firewall and check whether your machine is protected (let someone do a portscan on you, e. g. a website).

HTH

Reply With Quote
  #12  
Old October 19th, 2002, 12:20 PM
rendy's Avatar
rendy rendy is offline
Moderator
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: London
Posts: 348 rendy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 21 m 17 sec
Reputation Power: 7
Quote:
Originally posted by realnowhereman
Then the answer would have to be a location, e. g. "at the shell prompt". Afaik there is no UI in iptables


ROFL OK I give up

Reply With Quote
  #13  
Old October 19th, 2002, 02:54 PM
hedev hedev is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Berlin, Germany
Posts: 6 hedev User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
THX. I'm gonna try it... hopefully it works

@ realnowwhereman: Deutsch ist eigentlich auch ne schöne Sprache

Reply With Quote
  #14  
Old October 19th, 2002, 06:35 PM
realnowhereman realnowhereman is offline
Not there when you need me
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Oct 2001
Location: Berlin, Germany
Posts: 1,438 realnowhereman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 46 sec
Reputation Power: 8
Quote:
Originally posted by hedev
@ realnowwhereman: Deutsch ist eigentlich auch ne schöne Sprache

Yes. However, in this forum the internet's lingua franca, English, is used to allow everyone to follow discussions so that the entire community benefits (and is able to contribute). Btw, the English language's beauty's advantages' list is headed by its simplicity which significantly facilitates technical talk. Also, native English speakers are more tolerant towards their language's grammar's abuse by foreigners than other languages' native speakers are. Just consider this paragraph - if I were to post on a German board modifying the language to the extent of seeming so foreign to the German speakers there as my English probably does to the English-speaking people reading this, others would be sure to remark on my language.

Reply With Quote
  #15  
Old October 20th, 2002, 03:43 AM
hedev hedev is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Berlin, Germany
Posts: 6 hedev User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
To my mind your English is much better than mine. It's a desaster by now, i think i should return to school again *g*

But in order to say something about the "trouble" I had:
disabling the personal scripts WORKED

So thx a lot.

PS: If you also know about how to get BattleCom work with SuSEfirewall2... tell me. An other client of our little LAN would be very exited about that *g*

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Routing with SUSE 8.0


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread