LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-19-2005, 06:35 PM   #46
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75


It's not that complicated really.

Quote:
If you run Mandrake Control Center (mcc), and click on Security, you should have several options and 2 of the options are Firewall and Router.

Click on the Router option and you will supply which nic is internal lan and which is internet, it's that easy.

Click on Firewall and you will be able to open/close ports. Thats also quite easy.
From:
http://www.linuxquestions.org/questi...22#post1366222

(But I did read, " If you have dial-up, a cable modem, or DSL or ISDN, you're all set. If you have multiple outgoing connections or multiple internal networks, however, you're in trouble. Mandrake's wizard is only configured to deal with one Internet connection and one local connection."
from:
http://www.unixreview.com/documents/...0113/0202i.htm)

Another option is you can flush out your rules at boot and install a new script to run at boot. e.g:
http://www.shorewall.net/ - maybe?
http://mandrakeusers.org/index.php?showtopic=4731

Further reading:
http://en.tldp.org/HOWTO/IP-Masquerade-HOWTO/
https://secure.linuxports.com/howto/IP-MASQ/
 
Old 01-19-2005, 06:37 PM   #47
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Oh'

http://www.shorewall.net/two-interface.htm
 
Old 01-19-2005, 08:03 PM   #48
floppywhopper
Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Mageia , Centos
Posts: 643
Blog Entries: 2

Rep: Reputation: 136Reputation: 136
sounds to me like you need to do some reading
and this is a good place to start
http://www.oreilly.com/catalog/linag2/book/index.html

hope this helps
floppy


edit
BTW have looked through this thread
and I may have missed it
but what distrobution are you using for your
gateway / router
It seems to me that you might have had a lot less trouble
using IPCop or Smoothwall etc
which are dedicated to this task
and have guis / control panels
specially setup to do what you are trying to do

floppy

Last edited by floppywhopper; 01-19-2005 at 08:13 PM.
 
Old 01-20-2005, 02:15 PM   #49
andrewjjones
Member
 
Registered: Sep 2004
Distribution: Mandrake 10
Posts: 48

Original Poster
Rep: Reputation: 15
Quote:
BTW have looked through this thread
and I may have missed it
but what distrobution are you using for your
gateway / router
It seems to me that you might have had a lot less trouble
using IPCop or Smoothwall etc
which are dedicated to this task
and have guis / control panels
specially setup to do what you are trying to do
I never said did I
I am actually using Slackware 10 on this machine.
 
Old 01-20-2005, 02:29 PM   #50
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
And here I am looking at your distro, " Distribution: Mandrake 10".
Oh well. Close enough.
 
Old 01-21-2005, 03:36 PM   #51
andrewjjones
Member
 
Registered: Sep 2004
Distribution: Mandrake 10
Posts: 48

Original Poster
Rep: Reputation: 15
I feel like a right prat
I completely forgot about that. I use Mandrake on my 'normal' computers, which is why it says that.
 
Old 01-29-2005, 09:03 PM   #52
alejandroye
Member
 
Registered: May 2004
Location: SOUTH FLORIDA USA
Distribution: MANDRIVA / CENTOS
Posts: 146

Rep: Reputation: 15
hello

I just want to ask,

I have 2 computers running linux w/apache 192.168.1.500 and 192.168.1.501
and I have 1 external IP that goes to 192.168.1.500 where I am hosting webpages
but also I want to use the other computer with the same external IP


internet--->IP 68.222.111.20:80--->192.168.1.500---->3w.domain1
.............................................. |.............. --------3w.domain2
.............................................. |.............. --------3w.domain3
.............................................. |
.............................................. | other computer
.......................................... [----192.168.1.501------3w.otherdomain1
....................................................................------3w.otherdomain2
....................................................................------3w.otherdomain3


any idea??

Last edited by alejandroye; 01-29-2005 at 09:17 PM.
 
Old 04-21-2005, 08:06 PM   #53
aw_wolfe
Member
 
Registered: Apr 2005
Posts: 50

Rep: Reputation: 15
Exclamation ever solved?

Did you ever get this working? If so how? I am having a very similar problem and not getting any help.

Thanks,

Tony
 
Old 04-22-2005, 02:07 PM   #54
andrewjjones
Member
 
Registered: Sep 2004
Distribution: Mandrake 10
Posts: 48

Original Poster
Rep: Reputation: 15
I'm sorry to say it, but I'm afraid not. I think the best option is to get a wireless access point and Smoothwall. That's what I had to do in the end!
 
  


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
Improoving net connection inside LAN. Palula Linux - Networking 2 08-28-2005 11:59 AM
Apache 2 Server - Can't access it via ip address from inside LAN Robstro Linux - Networking 1 06-30-2004 01:50 PM
Setting up a webserver inside a lan, which should be accessible from outside seidren Linux - Networking 2 05-18-2004 08:26 AM
pop3 inside and outside LAN clinger Linux - Software 2 03-20-2004 10:55 AM
DNS/email issues inside and out of LAN swingheim Linux - Networking 4 11-22-2003 01:02 PM

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

All times are GMT -5. The time now is 03:38 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