Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-12-2005, 03:47 PM   #1
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?


Old 05-12-2005, 04:10 PM   #2
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.


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
running FTP server on a LAN for folks outside of the LAN johnMG Linux - Networking 4 12-23-2006 05: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 11:19 PM
How do I make a simple File server for my home LAN? cpaumelle Linux - Newbie 1 07-23-2004 08:19 AM
Can I make SAMBA PDC of my LAN,HOW?? mwj Linux - Networking 1 10-04-2003 06:45 AM
How do you make the ip masquerade server/dhcp server broadcast dns to lan cmisip Linux - Networking 6 01-25-2003 11:43 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:32 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration