LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-27-2005, 06:32 PM   #1
leupi
Member
 
Registered: Mar 2004
Location: Annapolis, Maryland, USA
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458

Rep: Reputation: 30
iptables blocks access to network


I shared a directory on my desktop and I can only access it via my laptop when I stop iptables on the desktop. I have no idea how to configure iptables to allow this access. Any suggestions would be greatly appreciated. Thanks.

Todd
 
Old 03-28-2005, 10:31 AM   #2
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
leupi: Iptables is something you just have to read about once. What the rules do is conceptually simple, but writing rules that work takes a little practice.

Online, look through the tutorials at http://www.netfilter.org/documentati...entation-howto (scroll down to Tutorials) and specifically look at http://iptables-tutorial.frozentux.n...tutorial.html, which includes numerous examples. Then add rules to /etc/sysconfig/iptables, restart the iptables services and see if the new rule(s) fix the problem.

Also, if you don’t mind spending a few $$$, these books would make a good addition to your library:

Running Linux, Fourth Edition (Matt Welsh, et al): US$29.67 (amazon.com)

Linux in a Nutshell, Fourth Edition (Ellen Siever, et al): US$26.37 (amazon.com)
 
Old 03-28-2005, 09:18 PM   #3
leupi
Member
 
Registered: Mar 2004
Location: Annapolis, Maryland, USA
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458

Original Poster
Rep: Reputation: 30
Looks like it may take me a while to read through those tutorials, hell, I have time

I do have 'Running Linux: Third Edition' but saw no entry for iptables in the index. Did iptables come out after the 3rd edition was published? If so, back to Amazon...

For now, untill I get the iptables figured out I will just leave it off so that I can access my network; I do have a NAT router (Netgear FVS 318) so hopefully I can hang untill I get this figured out. Thanks again for the advice, I'll let you know how I did.

Todd
 
Old 03-29-2005, 09:23 AM   #4
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
Iptables is covered in “Linux in a Nutshell...”, but it does not give practical usage examples. After getting an overview of iptables, what is really helpful is to look at practical examples.

I have never seen a truly “for beginners” explanation of how to write iptables rules, but the second online reference I gave above is not bad. Usually, distribution specific books with titles something like “Beginner’s Guide to Fedora...”, “Fedora ... for Dummies” and “Fedora ... Bible” show some iptables basics. If you want one, just go to amazon.com, search “books” for “linux fedora” and look through the customer reviews to get an idea about each book.

There are also web sites that will write simple rules based on your input, but I don’t have a list of them.
 
  


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
iptables causes delay and blocks irrationally niehls Linux - Networking 4 08-21-2004 01:16 PM
Win2K blocks Unix webserver access danheneise Linux - Networking 2 06-01-2004 06:17 PM
guarddog blocks internet access periodically stelmed Slackware 0 02-06-2004 07:44 PM
VPN blocks internet access from laptop cmisip Linux - Security 6 07-16-2003 05:33 AM
non-contiguous blocks and /home access pteren Linux - General 1 02-26-2003 07:06 AM

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

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