LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Closed Thread
  Search this Thread
Old 09-29-2003, 01:59 AM   #1
pongsu
LQ Newbie
 
Registered: Sep 2003
Posts: 9

Rep: Reputation: 0
Networking doubts


hi

1. How can I add and delete a route in my computer’s routing table? What is the command line.

2.What are the commands that are needed to write a script that saves the formatted outputs from a continuously executing instance of ‘netstat’ into a text file?

3. How to enable IP Forwarding in my system??
 
Old 09-29-2003, 05:29 AM   #2
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
1) loaded question man "man route" and have fun

2) "netstat >> targetfile" will appeand a netstat to the file, or "netstat > targetfie" will overwrite the file with the current output. you can setup a cron job to run this however often you want. "man crontab" It looks complex but cron is pretty easy.

3) you want to use iptables to do that. Do you mean port forwarding or ip masquerading? you can do both with iptables. Take a look at some preconfigured firewall scripts I use firegate, that does NAT and port forwarding for my network at home. Search this board. for firegate, I've mentioned it in a post in the past, and some other guy made a post about another one that are was easy to use...
At any rate you can get firegate from here...
http://sourceforge.net/projects/firegate/

Just some ideas
 
Old 10-02-2003, 01:30 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
//moderator.note: closed. See http://www.linuxquestions.org/questi...572#post513572 why.
 
  


Closed Thread



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Doubts in c rajesh_b Programming 2 06-06-2005 09:54 PM
NAT doubts vermaamitabh Linux - Networking 2 10-29-2004 09:11 AM
script doubts praveenv Linux - Newbie 1 08-14-2004 07:00 AM
slackware doubts ;-| sridharinfinity Slackware 6 10-25-2003 01:18 PM
cd playing doubts! zaba Linux - Software 0 10-05-2003 09:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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