Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-10-2004, 02:43 PM   #1
Registered: Mar 2004
Distribution: Gentoo
Posts: 51

Rep: Reputation: 15
port forwarding

i need to forward some ports on my fedora core server to another computer on my network. Can you please tell me how can i do this (preferably with a gui software)....
Old 03-10-2004, 04:01 PM   #2
Registered: Feb 2004
Location: denver
Distribution: slackware && freeBSD && rh9
Posts: 92

Rep: Reputation: 15
using my favorite gui: vi(m) (the m is optional)

vi /etc/sysconfig/iptables
(add lines)
-A FORWARD -p ALL --destination-port XX -j ACCEPT

(optional) -A FORWARD -p ALL --destination-port !XX -j DROP (for security, depending on how many services you want to offer on the new host)

vi /var/named/db.mylan.outside (or whatever seems to be that)
hostname <tab> A <tab> host IP
(be sure to use the existing mylan.outside syntax)

vi /etc/sysctl
turn IPv4 forwarding from = 0 to = 1

i know thers a bunch of stuff im missing, but my experience with redhat-config-bind was so confusing that i actually wrote my own named.conf

that reminds me you have to "match-clients { any; }" in the outside portion of named.conf as well..

hopefully someone that knows this stuff like the back of their hand can edit and append my starting point


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 08:35 PM
Simple Port Forwarding Firewall - not forwarding MadTurki Linux - Security 14 04-09-2006 01:08 PM
Port 80 forwarding to port 22 with iptables zahoo Linux - Networking 3 02-22-2005 08:22 AM
port forwarding and packet forwarding syrtsardo Linux - Newbie 2 07-03-2003 11:37 AM
How to do ip port forwarding cmardhekar Linux - General 0 08-28-2001 01:49 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration