LinuxQuestions.org
Visit Jeremy's Blog.
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 01-23-2003, 10:29 AM   #1
shaggz
Member
 
Registered: Dec 2002
Location: FuNkYToWN
Distribution: SuSe, Gentoo, Fedora
Posts: 64

Rep: Reputation: 15
Port Forwarding on DSL??


I have just gotten DSL recently with SBC Yahoo and am only allow one public routable IP. (I'm not a Networking guru by any means)

I have a 2 Wire DSL modem/internal router connected to a Dlink 4 port switch. My main machine is running RH 8.0 and is on the public IP. I have a Laptop running XP that I want to be able to term serv to remotely however it has an IP of 172.16.1.x so I can. I'm aware that there is something called Netfilter that uses IPtables to foward specific ports to an internal NAT.

If anyone knows of a good tutorial (hold hand through type) or can give me any advice on how I can do this I would be really appreciative.
 
Old 01-23-2003, 10:35 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you simply want to be able to share your connection via this one machine? no problem. I personally use a program called Firestarter to set up this as well as giving a pretty good firewall as well. there are many other programs to do it though. or you can just do the actual forwarding bit in a couple of iptables commands (iptables (system program) uses netfilter (part of linux kernel)) which i believe are listed in the ip-masquardaing howto
 
Old 01-23-2003, 12:41 PM   #3
shaggz
Member
 
Registered: Dec 2002
Location: FuNkYToWN
Distribution: SuSe, Gentoo, Fedora
Posts: 64

Original Poster
Rep: Reputation: 15
Thanks for the help I'll check out Firestarter right now. I have the boxes sharing my DSL connection I just want to be able to foward certain ports to my Window$ machine so that I can stay term served into it will ssh'd into my Linux box remotely. I do alot of work away from my computer to test things on my network at work remotely. Thanks for the help and I'll read some more on iptables as I've never set this up before.


Thanks again!@
 
  


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
IPCHAINS port forwarding and IPTABLES port forwarding ediestajr Linux - Networking 26 01-14-2007 07:35 PM
Simple Port Forwarding Firewall - not forwarding MadTurki Linux - Security 14 04-09-2006 12:08 PM
Port 80 forwarding to port 22 with iptables zahoo Linux - Networking 3 02-22-2005 07:22 AM
Port forwarding in Linksys Box (cable/dsl) pudhiyavan Linux - Networking 1 01-22-2004 09:37 AM
port forwarding and packet forwarding syrtsardo Linux - Newbie 2 07-03-2003 10:37 AM

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

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