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 12-10-2005, 10:22 AM   #1
jaakkop
Member
 
Registered: Aug 2004
Posts: 433

Rep: Reputation: 30
new with routing and stuff


Hi,

I'm kinda newbie when it comes to routing. I know that iptables does the routing and that there are scripts that make the basic setup. What script would you suggest for me to use? I would it like to make only the basics. Also if you got any useful tips on routing, I would like to hear them.
 
Old 12-10-2005, 10:58 AM   #2
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
Routing is all about creating your own route(path) from host to destination. It could be a non-default/non-existent path & thats why we want it to be created.

As linux box can act as an router, we directly land up with a question of WHY & WHAT for we need a route to be created or WHY do we want this linux box to act as a Router?

If you have reasons for these WHY & WHATs then you should better find topics popping out like tunnelling/port forwarding, packet forwarding, NATTing, masquareding & others infront of you.

Otherwise for everything on this top & detailed study..
http://www.tldp.org/HOWTO/Adv-Routing-HOWTO/

Also read this tutorial on Linux as a router @ http://www.linuxjournal.com/article/5826
This one even though a bit old as use of ipchains is mentioned over here.

Learn Masquerading here.. (nice complete reference)
http://www.tldp.org/HOWTO/IP-Masquerade-HOWTO/

Also go through & get comfortable with IPTABLES. Refer man page & GOOGLE it.

..amit..
 
Old 12-10-2005, 02:15 PM   #3
jaakkop
Member
 
Registered: Aug 2004
Posts: 433

Original Poster
Rep: Reputation: 30
How can I see what ports are open?

Last edited by jaakkop; 12-10-2005 at 02:40 PM.
 
Old 12-10-2005, 03:18 PM   #4
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
Quote:
Originally Posted by jaakkop
How can I see what ports are open?
$nmap localhost
$nmap <ip>
$nmap -sS -P0 -v

refer man page for further details & options.
 
  


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
Encrypting & routing stuff Benoni Linux - Networking 2 09-12-2005 02:35 PM
When installing new stuff in suse 9.1, do you uninstall old stuff first? randon SUSE / openSUSE 1 12-25-2004 04:37 PM
real routing under nat routing nothingmuch Linux - Networking 4 10-27-2003 03:11 PM
stuff you need for it to be....right Underworld Linux - General 1 10-18-2003 08:23 PM
Where is Stuff??? NW Otter Linux - Newbie 7 09-24-2003 05:50 AM

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

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