LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-09-2003, 01:02 AM   #1
pudhiyavan
Member
 
Registered: Oct 2003
Location: Linux world
Distribution: redhat,mandy,centos,debian,ubuntu
Posts: 209

Rep: Reputation: 30
Question Silly question?


Can anyone explain me whatis localnet, privatenet

because in one of the document they have given as

# cat /etc/networks
localnet 192.168.2.0
privatenet 10.0.0.0

## Authorizing Outbound traffic from anywhere to foreign network
/sbin/iptables --insert OUTPUT 1 --source 0.0.0.0/0.0.0.0 \
--destination privatenet/255.0.0.0 --jump ACCEPT \
--out-interface ppp0

I am getting confused at this point

is this privatenet is the remote machines ip
and localnet is intranet ip address
 
Old 12-09-2003, 03:44 AM   #2
GraemeK
Member
 
Registered: Aug 2003
Location: Essex, UK
Distribution: Windoze 2000, Fedora Core 3
Posts: 325

Rep: Reputation: 30
both those IP ranges are private.

as for the script it doesnt make reference to localnet, does it?

just privatenet which is that 192.168 range. i.e accept any traffic to the private network.
 
  


Reply


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
Silly question huble General 5 02-17-2005 02:03 AM
Silly Question koodoo Linux - Newbie 2 02-14-2005 07:20 AM
silly question bruj3w Slackware 3 08-20-2004 12:51 PM
Silly Question Crashed_Again Linux - General 21 04-07-2003 05:08 AM
Silly Question MattB Linux - Software 1 06-05-2002 11:30 PM

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

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