LinuxQuestions.org
Review your favorite Linux distribution.
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 05-12-2005, 02:47 PM   #1
boyd98
Member
 
Registered: Oct 2003
Posts: 156

Rep: Reputation: 15
How can make may lan server inaccessible from the outside


I have a linux box that I want to make truly just a LAN server. I don't want it to be able to access an address that is not internal and viseversa. What to make it as secure as possible.


What is the best approach to accomplish this, is there some setting on my router that I can turn on?


TIA,

Boyd
 
Old 05-12-2005, 03:10 PM   #2
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
If your router isn't directing any traffic to the server, you're probably ok. But of course it would be safer to setup some iptables rules to firewall off any attempts at conenction from outside. I won't get into writing firewall rules, as I'm sure you could research those on your own, but suffice to say, I think you should try for a rule that says "if any traffic comes to me from an IP other than 192.168.x.x" then use -j DROP which means drop the packets.

But listen... if you're going to run a serious server and your concerns are that high, then you should definitely consider getting a professional grade router. If your router says "d-link" on the outside of the case, that's just not going to cut it. Consider something like SonicWALL, which can be expensive, but you'd get yourself some really strong firewalling capabilities.
 
  


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
running FTP server on a LAN for folks outside of the LAN johnMG Linux - Networking 4 12-23-2006 04:10 PM
machine has adsl ethernet modem, to make it gateway over lan do i need more lan cards b0nd Linux - Networking 2 10-04-2005 10:19 PM
How do I make a simple File server for my home LAN? cpaumelle Linux - Newbie 1 07-23-2004 07:19 AM
Can I make SAMBA PDC of my LAN,HOW?? mwj Linux - Networking 1 10-04-2003 05:45 AM
How do you make the ip masquerade server/dhcp server broadcast dns to lan cmisip Linux - Networking 6 01-25-2003 10:43 PM

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

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